WordPress.org

Ready to get started?Download WordPress

Forums

Link is opening in new window - and I don't want it to (3 posts)

  1. mrspabs
    Member
    Posted 3 years ago #

    My client site http://www.saldef.org 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>
          </ul>

    I am running these plugins (all up to date)
    Akismet
    Berri YouTube Gallery (Widget)
    Redirection
    WP-Polls
    WP-reCAPTCHA
    WPaudio

    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!

  2. Hax
    Member
    Posted 3 years ago #

    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.

  3. mrspabs
    Member
    Posted 3 years ago #

    Hax I posted the link in the first line of my post http://www.saldef.org

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic