开发者

How to "Show Only This Frame" - jQuery/javascript solution needed

开发者 https://www.devze.com 2023-03-17 15:12 出处:网络
In FF we can right-click \"Show This Frame Only\". So how to do it in javascript/jquery? Becoz i开发者_Go百科 want to remove my webapps banner (which inside another frame of another frameset) but fail

In FF we can right-click "Show This Frame Only". So how to do it in javascript/jquery? Becoz i开发者_Go百科 want to remove my webapps banner (which inside another frame of another frameset) but fail.


From what i could understand, you want to remove your web-page's head banner. That is, your page is inside an iframe and you want that it automatically take over the parent page as soon as it loads. To do that, add this javascript code:

top.document.location.href="your_page_link";
0

精彩评论

暂无评论...
验证码 换一张
取 消