Link to open in a new window, with 2 frames
Posted
by Kartik Rao
on Stack Overflow
See other posts from Stack Overflow
or by Kartik Rao
Published on 2010-04-14T20:09:16Z
Indexed on
2010/04/14
20:13 UTC
Read the original article
Hit count: 346
I will be displaying news feeds from external websites on my website. So i need to open external links in those feeds in a new window, but give the user an option to return to my website.
Basically I'm trying to replicate Google Images' technique of opening a link in a window with 2 frames - with the top frame having an option to "Remove Frame" and the bottom frame displaying the content of the link.
Also, since the news feed will be dynamic, I don't want to hard-code anything. The code should be used automatically by any link appearing in the news feeds.
Any ideas on how to do it?
© Stack Overflow or respective owner