Support » Fixing WordPress » Link is opening in new window – and I don’t want it to

  • My client site has a blue menu on the right side of the page (learn about, know your rights etc..)

    When you click on them, they open in a new window. Target=”blank” is not in the code. That section of the nav is hard coded in the template as below

    <ul id="nav_left">
    			<li><a href="<?php echo get_option('home'); ?>/?page_id=26" class="top_1">Learn About Sikhs</a></li>
    			<li><a href="<?php echo get_option('home'); ?>/?page_id=27">Know Your Rights</a></li>
    			<li><a href="<?php echo get_option('home'); ?>/?page_id=6">Report an Incident</a></li>
    			<li><a href="<?php echo get_option('home'); ?>/?page_id=7">Get Involved</a></li>
    			<li><a href="<?php echo get_option('home'); ?>/?page_id=39" class="bottom_1">Resource center</a></li>

    I am running these plugins (all up to date)
    Berri YouTube Gallery (Widget)

    This problem happened in wordpress 2.92 an 3.0. I do now know when it started, but I know the site did not do this a couple of weeks ago.

    I am stumped!

Viewing 2 replies - 1 through 2 (of 2 total)
  • a link to your site could help us to look aroun.

    But it looks like a javascript issue because your links don’t have the target=”_blank” attribute specify. test it tuning off javascript on your browser.

    other thing may be your browser settings. test it in different browsers.

    Hax I posted the link in the first line of my post

    You are right, when I turn javascript off, the links work correctly (open in the same window).

    Any advice on what I should do next?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Link is opening in new window – and I don’t want it to’ is closed to new replies.