Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Frames

Don't Get Framed

Frames allow you to combine different web pages together into one window, even if all of those pages aren't yours and weren't intended to be framed. If you don't want your page to be framed, put this little Javascript in the page:

this code produces this
<SCRIPT TYPE="text/javascript">
<!--
if (top != self)
 top.location=self.document.location;
//-->
</SCRIPT>
this page

This script checks to see if the current page is the "top" page. If it is not, it tells the web browser to load the current web page as the top, thus wiping out any frames. Of course, this script won't work with browsers that don't understand scripting, or where scripting is turned off, but the script will work on most browsers, and that makes it a pretty effective deterrent.

Do Get Framed >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com