<html> <head> <script type="text/javascript"> function breakout() { if (window.top!=window.self) { window.top.location="js_howto.asp.htm" } } </script> </head> <body> <form> Click the button to break out of the frame: <input type="button" onclick="breakout()" value="Break out!"> </form> </body> </html>
Edit the text above, and click on the button to see the result.
Copyright © 2007-2008, Www.JavaBasics.We.Bs All rights reserved.