I'm not specifically attempting to. I suppose I could probably get at it
with the event object. I'm not sure where Claude wanted to go with it so I
just did a broad overview.


andy 

-----Original Message-----
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, January 13, 2009 1:12 PM
To: cf-talk
Subject: Re: Recognizing the page target

> > > Suppose I have a page like myPage.cfm Is it possible in this page 
> > > to detect if it was called from a link having a TARGET="..." 
> > > attribute?
> >
> > No, there's no information in the CGI scope to expose that sort of 
> > information. I don't think there's even anything available in 
> > JavaScript to tell you that, for what that's worth.
>
> Actually if it was called from a target then JavaScript can get the 
> parent page. Here's a quick example I threw together:
>
> http://commadelimited.com/code/js-parent/parent.html

That code sample does not appear to identify the value of the TARGET
attribute in the original link.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized instruction
at our training centers in Washington DC, Atlanta, Chicago, Baltimore,
Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317900
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to