The Almighty wMode

July 9th, 2007

I was having a bit of trouble getting the new ColdFusion 8 cfmenus to “fly over” a flash cfform. As it turns out it was an issue with the flash “Z Index” of the page. To fix the issue all I had to do was add wMode=”opaque” to the flash form. This was indirectly mentioned in the CF documentation. It has been years since I have used wMode with flash.

Special Thanks to Gary for this answer!!

See Reference On CF8 Forum

Example Code

<cfmenu NAME=”mymenu” type=”horizontal” >
<cfmenuitem display=”menu one” />
<cfmenuitem display=”menu two” />
<cfmenuitem display=”menu three” />
<cfmenuitem display=”menu four” >
<cfmenuitem display=”menu five” />
<cfmenuitem display=”menu six” />
<cfmenuitem display=”menu eight” />
<cfmenuitem display=”menu nine” />
</cfmenuitem>
<cfmenuitem display=”menu ten” />
</cfmenu>

<cfform format=”flash” wMode=”opaque” >
<cfinput name=”FirtName” Label=”First Name” value=”Joe” >
<cfinput name=”LastName” Label=”Last Name” value=”Smith” >
</cfform>

Leave a Reply

Spam protection by WP Captcha-Free