PDA

View Full Version : trouble with anylinks dropdown menu & flash



green917
07-23-2008, 05:24 PM
1) Script Title: Any links drop down menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem:

I have implemented the Any links drop down menu into the site I am writing but, when I insert the flash animation that goes directly beneath the menu, the drop down menu is behind (& subsequently hidden) by the flash.

I have tried adjusting the z-indexes of all variables in both the flash and drop-down menu divisions but to no avail. My css code follows:

#flash {margin-left: auto;
margin-right: auto;
border-left:1px solid #2a2b2b;
border-right:1px solid #2a2b2b;
width:758px;
height:230px;
top:180px;
z-index:1;}



#dropmenudiv{
position:absolute;
border:1px solid #2a2b2b;
border-bottom-width: 0;
font:normal 10px Verdana;
color:#2a2b2b;
line-height:18px;
z-index:100;
}

#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
font:normal 10px Verdana;
color:#2a2b2b;
line-height:22px;
border-bottom: 1px solid #2a2b2b;
padding-left: 5px 0;
text-decoration: none;
font-weight: bold;
}

#dropmenudiv a:hover{ /*hover background color*/
background-color: #7bb7c6;
font-family:Verdana, Arial, Helvetica, sans-serif;
padding-left: 5px 0;
font-size:10px;
color:#fafafa;
z-index:100;
}

Any help would be greatly appreciated! Thanks

Green

green917
07-23-2008, 05:58 PM
I forgot to set the wmode parameter in flash. I fixed it