Redirect if frameset

This extension allows you to force the users browser to redirect, dependant on whether the page is viewed inside or outside of the specified frameset name.

Overview

UI Access

Access this object from Goodies in the Objects palette.

Requirements

Type: Object
Product: Dreamweaver 3, Dreamweaver 4, Dreamweaver MX, UltraDev 4

Reviews

Browsers

January 14, 2005 by Jon Dawson
Unless I've set it up incorrectly, this extension will only work with IE :(

alternative

January 16, 2005 by Jon Dawson

<SCRIPT type="text/javascript">
<!--
if (parent.frames.length == 0) {
    top.location.href="index.html";
}
//-->
</SCRIPT>

^ nifty alternative that works in every browser i've tested it on. just chuck it in all header, navigation and content frames.

You must me logged in to write a review.