target="_top" emulation using JavaScript

Posted by abovesun on Stack Overflow See other posts from Stack Overflow or by abovesun
Published on 2010-03-31T13:10:01Z Indexed on 2010/03/31 13:13 UTC
Read the original article Hit count: 315

Filed under:
|
|
|

Suppose we have frameset of with 2 frames, one frame is kind a tiny horizontal header and second is kind of "content" frame with 3rd-party html page inside. When user clicks on some link inside "content" frame, the whole page (frameset) should be reloaded with this link, the same behavior if "content" frame has "target=_top" attribute. How to do this using JS?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about frames