You can do this, but I didnt check NS

For the frame you want to test, you would put it in that frame. Once 
someone clicked within that frame it would alert or do whatever.


<SCRIPT>
function test(){
alert(this.name);
}
</SCRIPT>
<BODY onfocus="test( this )">




There are two major products that come out of Berkeley: LSD and [Unix] 
BSD. We don't believe this to be a coincidence.



Doug Brown
----- Original Message ----- 
From: "Andre Turrettini" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 7:58 AM
Subject: RE: Slightly OT: Frame Frustration


> 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
> 
> 
> 
> .
> .
> 
> 
______________________________________________________________________
Why Share?
  Dedicated Win 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=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to