tags:

views:

52

answers:

1

I am working on a new home for my browser.

When the src changes of the iframe (click search or something) I want to leave my site and go to where the iframe is going. How do I do this?

edit:// example: http://imgur.com/OvnCz.jpg

+2  A: 

Just put a target attribute on the link with a value of _top, like this:

<a href="http://www.google.com" target="_top">Google</a>

That tells the browser to open the link in the top-most frame, that is the whole browser window. More information can be found here

SWeko
That works for links, but not frames. I don't think this will work. See edit.
twodayslate