if(top.frames.length!=0)
top.location=self.document.location;
This page has been coded to break out of frames - Version 2
Breaking Out of Frames
Frames
- Allow two or more web site locations to be displayed together in the same window.
- Frame remains when you click back to different web sit
- Legitimate use would be for supplemental information allowing you to go back to original site easily
- Framing another's content could infringe on copyright laws
If you click here you will go to a framed page with links to three pages - versions 1 and 2 coded to break out of frames, and one uncoded page which stays in frames.
Web Design Cookbook - Javascript 3 - Winter 2003
|