Welcome to WeetHet!

Managed Web Hosting by Liquid Web

Your IP address:
Print this page
- use Landscape
Search the
WeetHet Pages
WeetHet is being updated! - Current articles will slowly move to www.tweaking4all.com
For excellent webhosting that is reliable and affordable, we highly recommend: LiquidWeb

On this page ...

Escaping from frames ...

You probably have seen this before, lazy people and/or "control freaks" that keep external pages where they link to, hooked into their own frames.

JAVAScript can help your page to automatically escape those frames!

So, how can I leave frames ?


Using Links

Regular links can escape from frames by using a target value "_top", for example:

<A HREF="http://www.somewhere.com/" target="_top">Escape those frames!</A>


Use this little script to do so:

setTimeout ("changePage()", 1000);
function changePage() {
if (self.parent.frames.length != 0)
// -->

This script works only if you have no frames on original your webpage! It escapes to http://www.somewhere.com.

Note: If your browser generates a nice JavaScript error: your browser does not support this feature!



Klik hier om te wisselen naar nederlandstalige pagina's You are currently on the English pages.