> No, whaty ou want is something like this > > <cfcontent type="application/javascript" reset="yes"> > <cfset output = '<a href="#qGetCurrentAdLink.link_url#"><img > src="http://www.photoeye.com/magazine/ads/#qGetAd.image_filename#"></a>'> > <cfoutput>document.writeln('#jsStringFormat(output)#');</cfoutput>
Except that you should put the CFSET before the CFCONTENT. That's why you use the RESET attribute in the first place - to get rid of any whitespace that's been cached in the buffer. 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 onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:337514 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

