Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21194

    Hello!

    I want to open the links on the footer (facebook twitter etc) on a new windows, i’ve tried to modify the code on footer.php adding target=_blank but the page launch an error, please can someone help me? Thank you!

    here the link to my site http://www.maidenconcerts.it

    #110923

    Hi heavymetaller,

    That link doesn’t bring up a site using the Display theme. You need to put the target=_blank in single quotations since it is inside an echo. Here its done for the twitter link:

    echo "<li class='twitter'><a class='ie6fix' href='http://www.twitter.com/".$k_option['footer']['acc_tw']."' target='_blank'>Twitter</a></li>"

    Regards,

    Devin

    #110924

    Thank you, it work very fine, my error is it was that i’ve put the target=’_blank’ before the last ” and not after, thank you very much, now you can close the thread if you want!

    #110925

    Hi heavymetaller,

    Glad that Devin helped you. :)

    Cheers,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Open footer links in a new window’ is closed to new replies.