How do you ... prevent being trapped in frames?
As more and more people try using a frame layout, there are bound to be a number of them that do not code an escape link during an outside source link. That is, they are displaying someone else's site within their own frame setup (either on purpose or not). With a bit of javascript, you can be sure that your site will be the main one being seen in a window...

<script type="text/javascript">
if (window != top) {
top.location.href = location.href;
// -->

None of the words in the above coding need to be changed. You just have to enter that into the HEAD section of your page code.
If the URL of the current area (window or frame) holding the current page is not the same URL as the top most page address, then the javascript will jump into effect. It will go to the top most page location area and change the href value to the current location href value.
How do you ... prevent being trapped in frames?

Advertise in the banner along the top, Click here!

Valid XHTML 1.0 Transitional Valid CSS! Text Link Ads