DHTML menu with Flash ads

Status
Not open for further replies.

synergy

Fully Optimized
Messages
2,284
Location
15 Hive
The ads look to be down now, but before the DHTML (drop-down) menus were falling behind the Flash ads. I had a similar problem on a website and found the solution in case you want to use it.

In the 'object' tags you want to add a parameter to the Flash movie. It is the "wmode" parameter and you want it to be set to "opaque" or "transparent". This way it will fall behind other dynamic content like AJAX or DHTML. So it would look like the following:
HTML:
<param name="wmode" value="transparent">
the entire code looking something like:
HTML:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="300" height="300"> 
 <param name="movie" value="wmode.swf">     
 <param name="quality" value="high"> 	
 <param name="wmode" value="transparent">     
 <embed src="wmode.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300" height="300" wmode="transparent"></embed></object>
<object classid="clsid<img src=" images="" smilies="" biggrin.gif="" alt="" title="Big Grin" smilieid="3" class="inlineimg" border="0">
</object>Here are some sites that explain more about this:
Flash content displays on top of all DHTML layers
How to make a Flash movie with a transparent background
 
The Amazon ad was removed. Maybe if we try it in the future we can remember this. ;)
 
Status
Not open for further replies.
Back
Top Bottom