Fixing CSS Drop-Down Menus That Hide Behind Flash Objects
This guest post was written by V Scott Ellis of Blackbox Technologies, a business that helps companies to maximize their web presence. If you have WordPress knowledge and are interested in writing a post for WordPress Hacks, please contact us.
One of the more common issues with embedding a flash object on your home page (or any page for that matter) is that if it is near the navigation and you have CSS drop-down menus, then you may find your drop-down menu getting lost behind the flash object. If you haven’t dealt with this before it can feel like a nightmare, but fortunately it’s a pretty easy fix.
The Problem: You have a CSS based drop-down menu in your navigation and a flash element near it the menus may get “hidden” behind the flash object.
The Solution: Set the z-index of the div holding the flash to 1 and the z-index of the div holding the nav to 2.
In the flash element:
Look for the flash <object> tag and add the following code:
<param name="wmode" value="transparent">
You’ll want to insert this code right below the <param name=”quality” value=”high”> tag and include the code wmode=”transparent” in the flash <embed> tag .

















