parfumonsnous Posted February 16, 2016 Share Posted February 16, 2016 Bonjour, J'ai un petit soucis sur le bloc publicité de ma boutique car j'aimerai que quand on clique dessus, la publicité s'ouvre sur un nouvel onglet ( ce qui n'est pas le cas actuellement ). J'ai donc été fouiller dans mes modules et j'ai trouvé le fichier blockadvertising.tpl Voici son contenu : <!-- MODULE Block advertising --> <div class="advertising_block"> <a href="{$adv_link}" title="{$adv_title}" target="_blank"><img src="{$image}" alt="{$adv_title}" title="{$adv_title}" width="155" height="163" /></a> </div> <!-- /MODULE Block advertising --> Comme vous pouvez le voir dans la balise "a" il y a bien un "target="_blank"" , je ne vois donc pas pourquoi ma publicité s'ouvre sur le même onglet... Savez vous comment résoudre mon problème ? Merci d'avance pour votre aide Link to comment Share on other sites More sharing options...
Oron Posted February 16, 2016 Share Posted February 16, 2016 Bonjour Voyez ce lien vers un très bon site : http://www.alsacreations.com/astuce/lire/19-target-blank-non-valide-doctype-strict.html Link to comment Share on other sites More sharing options...
parfumonsnous Posted February 16, 2016 Author Share Posted February 16, 2016 Bonjour Voyez ce lien vers un très bon site : http://www.alsacreations.com/astuce/lire/19-target-blank-non-valide-doctype-strict.html Si j'ai bien compris il faut remplacer target="_blank" par onclick="window.open(this.href); return false;" C'est ce que j'ai fais mais ca ne fonctionne toujours pas... Link to comment Share on other sites More sharing options...
roms95200 Posted March 25, 2016 Share Posted March 25, 2016 Je relance ce sujet qui n'est toujours pas résolu Seriez vous m'aider ? Merci Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now