I was working on a drop down menu which unfortunately was dropping behind a flash advert, so most of the navigation items were not visible.
There are essentially two things you need to do to combat this small issue. Firstly the flash object (embed tag) needs to have wmode attribute and set to transparent. A param tag also needs to be added, setting the wmode, as seen in the example below.
<embed wmode="transparent" />
<param name="wmode" value="transparent" />
The menu class then needs the z-index set to a very high value in this case: 9 999 999 to layer above the flash item. The item also needs to have an absolute position for the z-index to take affect. The reason for using z-index is because this controls the layers level in the web page, essentially the depth. Flash objects and web forms naturally have a high z-index and this is why most elements appear below them. The simple script can be used over web forms as well, you don’t need to do anything special to the forms.
Z-index the higher the value the near to the top it will be.
.menuItems{
position:absolute;
z-index: 9999999;
}