PDA

View Full Version : Iframe links



sivlock
04-08-2010, 03:02 PM
How do you open up links in a new window in an iframe? The script is grabbed from an already existing Javascript rss source.

djr33
04-08-2010, 07:25 PM
<a href="#" target="_blank">

Is that the answer?

(Note that this is not specific to iframes, just anywhere you want a new window. Some browsers will also use a new tab instead. There is no way to control that.)


If you want to open a link INTO an iframe, then you can use target="iframename", referring to <iframe name="....">
(That can be more complex in some situations, though.)