Forums

Anchor tags open a new window (6 posts)

  1. jmastrom
    Member
    Posted 1 year ago #

    I have a lot of long pages, and have put in-page navigation at the top using anchors.

    The problem is that the links open a new page. The anchor works, it goes right to the spot it is supposed to, but in a new page. Each link, same thing.

    I checked the settings I could (that I know about). Also I read (in these forums) about not using the "target" attribute.

    Help! (and thanks).

  2. David Gwyer
    Member
    Posted 1 year ago #

    Just make sure that the target attribute is not set to '_blank' (new window).

  3. jmastrom
    Member
    Posted 1 year ago #

    I should have put "I have not set targets" in the first post. Thanks for answering anyway!

  4. David Gwyer
    Member
    Posted 1 year ago #

    Use Firebug on your website to analyse the anchor tags (or post a link to your site), has the target attribute been set? If so, something is setting it for you.

  5. jmastrom
    Member
    Posted 1 year ago #

    Doh.

    What a noob.. plugin attribute.

    Thank you for being nice to the noob.

  6. David Gwyer
    Member
    Posted 1 year ago #

    No problem. Can you mark the thread as resolved. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags