Break Out of Frames Automatically


To prevent users from building a link to your page and putting it in a frame on their page, add the following code to the top of your web page.
	<Script Language="JavaScript">
	<!--
	setTimeout ("changePage()", 0);
	function changePage() {
		if (self.parent.frames.length != 0)
		self.parent.location= "index.html";
	}
	// -->
	</script> 
This will cause the page to load in the browser all by itself, and outside of any frames.

Back to the Help Building HTML page.