Opening new window when using webpage links

  • Author
    Posts
  • #23755

    thresholdimpact
    Member
    Original poster

    How can I set my page to open a new browser window for all links when http links are clicked by the user? (currently it opens the link in the current window, effectively closing my page, rather than opening up a new link)

    thanks!

    ray

    The blog I need help with is: thresholdimpact.com

    #23895

    thresholdimpact
    Member
    Original poster

    Looking for a CSS code that will cause a new window to open for all links versus replacing the contents (my blog page) of the current window when the user clicks on the links…

    thanks!

    ray

    #23922

    Hey Ray,

    Take a look at this documentation:

    http://en.support.wordpress.com/links/

    When inserting a link you’ll need to use “open in new window”.

    If you are manually typing in links you can use target=”_blank”

    Example:

    <a href="http://example.com/" target="_blank">Click Me</a>

    Unfortunately any other links you can’t change. Just those you enter in your WordPress content, Widget areas, etc.

    Hope this helps!

    Kind Regards,
    Scott

The topic ‘Opening new window when using webpage links’ is closed to new replies.