Hello,

Does anyone have example code that does the following:

<IF FLASH PLUGIN IS DETECTED>
Play flash
<ELSE>
Display an Image

I know this will probably have to be JavaScript, but do people think it's a
good idea for the result of the JavaScript to be sent back to Coldfusion to
be added to a session variable?
<cfif NOT CompareNoCase(session.flash, "Yes")>
<cfmodule template="dsp_flash.cfm" movie="hello">
<cfelse>
<cfmodule template="dsp_AltFlashImage.cfm" image="hello">
</cfif>

Thanks,

Andrew



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to