Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Web Development (https://www.askmehelpdesk.com/forumdisplay.php?f=467)
-   -   Page property to make all links _blank? (https://www.askmehelpdesk.com/showthread.php?t=69341)

  • Mar 6, 2007, 11:52 AM
    RickJ
    Page property to make all links _blank?
    I'm working on a links page and am trying to save some time...

    Is there a bit of code I can put on the page so that any links I add are automatically set for the target to be _blank?

    ... instead of setting the target for each link I add?

    Thanks!
  • Mar 17, 2007, 08:35 PM
    ragedigital
    If you put the tag<base target="_blank">in the head of your page, all links on that page will open in a new window.
  • Mar 18, 2007, 06:42 AM
    RickJ
    Thanks rage, but that did not work.
    Here's the page: Untitled Document
  • Mar 18, 2007, 06:44 AM
    RickJ
    PS... I take that back. It does work. I had it overridden in my Firefox settings.
    Thanks!
  • Mar 18, 2007, 07:19 AM
    NeedKarma
    I learned something new today. Excellent!

  • All times are GMT -7. The time now is 12:20 AM.