PDA

View Full Version : Help with Jim's DHTML Menu v5.7



designer0524
12-02-2005, 08:04 PM
I am using this menu on my website, but I want to put a flash piece next to it, but every time I do this the submenus get pushed behind the flash piece and you can't see it. Anyone know how to fix this?

Thanks!

jscheuer1
12-03-2005, 07:22 AM
Here is my stock answer on that, and more:

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14201

That link explains how to fix a flash object to work as you desire, the short version is to add in this language to your object/embed tag:

Add the following parameter to the OBJECT tag:

<param name="wmode" value="transparent">

Add the following parameter to the EMBED tag:

wmode="transparent"

As for an iframe, you should be able to set both the menu and the iframe's position to either relative or absolute. Many menus are already one or the other. Then set the menu's z-index higher than the iframe's:

<div id="menudivision" style="position:relative;z-index:100;">menu goes here</div>
<iframe style="position:relative;" other iframe attributes go here></iframe>(Default z-index is zero)