
|
Result of the JavaScript With this JavaScript in a HTML script, the page can not be opened in a another pages' frames ! - This is VERY usefull as a LOT of people makes there frames in a way so that links are opened inside a frame ... Ever tried that ? I find it EXTREEMLY annoying !! Well - This script ought to be in the script of all pages (Or at least the front-/introduction-page of a site). The JavaScript code The script is very simple - Just write this between <head> and </head> : <script language= "JavaScript"> <!--Break out of frames if (top.frames.length!=0) top.location=self.document.location; //--> </script> |
|