Jump to content


force a new window

  • Please log in to reply
1 reply to this topic

#1 n8w

  • Members
  • PipPipPip
  • Advanced Member
  • 123 posts

Posted 04 October 2006 - 02:35 PM

I am pulling in content into an iframe and some of it doesn't target="_blank" in the href

is there a way using javascript or something else that will force all href tags  on a page to open a new browser without modifying each href? something I can put at the top of the page in a script?

#2 fenway

  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 04 October 2006 - 07:52 PM

Nope... though you could probably cheat and mark each tag after the page loads.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users