> html page:
> Shoot.... Still a blank screen with just the link as can be seen in the 
> source code. What am I missing here?
>
> <html><header>
>  </header><body>
>
>  <script type="text/javascript" 
> src="http://www.photoeye.com/advertising/pull_ad.cfm";></script>
> </body></html>
>
> --------
>
> pull_add.cfm:
>
> <cfcontent type="application/javascript" reset="yes">
> <cfoutput>
> <cfset x="document.writeln('<a href="#qGetCurrentAdLink.link_url#"><img
> src="http://www.photoeye.com/magazine/ads/#qGetAd.image_filename#";></a>'); ">
>  </cfoutput>

The CFSET tag doesn't actually output anything. You have to output the
variable x.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsi

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337489
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to