Sweet.  Have you found that that JS works on all the major browsers? 

> -----Original Message-----
> From: Tanguy Rademakers
> Sent: Monday, March 20, 2006 1:55 PM
> 
> > This is interesting.  How do you usually use this JS value?  I 
> > thought about setting it as a hidden input field, but ColdFusion 
> > can't access a variable that was created on the page until /after/ 
> > the page has been submitted.
> 
> <cfoutput>
> <script language="javascript">
>    <!--//
>    document.write('<img 
> src="/tracking/insert.cfm?tagname=#URLEncodedFormat(a
> ttributes.tagname)#&amp;pageurl='+escape(document.location)+'&
> amp;pagere
> f='+escape(document.referrer)+'">');
>    -->
> </script>
> 
> part of a custom tag that embeds an image in the page 
> dynamically - the source of the image is a cfm page so i can 
> access the url.pageref variable. Since the whole block is 
> javascript, people with no js don't get an image, so there's 
> no call to the cfm page. I use this as part of a hit tracking 
> solution (coincidentally the subject of another thread right now).


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235815
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to