You can get the name of the frame youre in via js like this 

<script> alert(this.name); </script>

So, in your js, if youre in a frame but its not the name of the one for 
your
client, then run your relocation script.

DRE

-----Original Message-----
From: Ledwith, Brian [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 9:02 AM
To: CF-Talk
Subject: RE: Slightly OT: Frame Frustration


Jim,

Thanks for the reply, but unfortunately I cant utilize your suggestion.
Partially due to how the framed pages are heavy with javascript 
executed
forms, and how I cflocate here and there.  There actually isn't an 
anchor
tag anywhere that the user can click on to bail out of the framed
environment, and adding one isn't an option I cant explore.

:(

~brian

-----Original Message-----
From: Jim McAtee [mailto:[EMAIL PROTECTED]]

If you know which pages are to be unframed, then within your own site 
why
don't you just make the links to those pages use <a href="..."
target="_top">?  It's a little more work, but it's also cleaner than 
linking
to a page and then requiring that page to break out of the frameset.

Jim



.
.

______________________________________________________________________
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