Evening all,

2/3 of my site is non-frames, and each page executes the following JS above
to break out of frames:

<!--
function FrameKill() { if (self.parent.frames.length != 0)
self.parent.location=document.location; }
-->

The rest of the site is in the following frameset. (js not executed on pages
related to the frames)

<frameset rows="10%,90%">
        <frame name="1" src="1.cfm">
        <frameset cols="90%,10%">
                <frame name="2" src="2.cfm">
                <frameset rows="10%,80%,10%">
                        <frame name="3" src="3.cfm">
                        <frame name="4" src="4.cfm">
                        <frame name="5" src="5.cfm">
                </frameset>
        </frameset>
</frameset>

When a user is in the framed portion of the site, and chooses to return to
the non-framed area, (which can be done from different places, in different
frames, at different times), the non-framed page successfully breaks out of
whatever frame it was loaded into.

This is the way we intended for it to work. (An added bonus was that all of
our pages found on AskJeeves were able to break out of their frames)

But... now we have a client who demand that we _don't_ break out of _their_
frames.  They have a page on their computers that their customers access our
site through, that has a frame of navigation on it, and the main frame is
left for the desired website.

Its almost as if they have a frameset like:

<frameset cols="25%,75%">
        <frame name="CustomerNavigation" src="CustomerNavigation.htm">
        <frame name="BriansWebsite" src="http://www.brianwebsite.com";>
</frameset>

My question is, how can I rephrase the javascript to break out of only the
frames related to my site, but not the frame my site is nested in?  I've
been looking in a number of places for the answer to this (and
unfortunately, Mail-Archive.com is down), but have only been coming up with
how to break out of my own frames... nothing about nested frames on
different sites.

Any thoughts or ideas would be appreciated.  Since this isnt strictly CF, if
anyone would prefer to reply offlist, please do so to
[EMAIL PROTECTED]

TIA,
~brian

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to