Quality | Integrity | Professional

Computers 101

Search For More...

Wichita Link Directory

The Wichita Link Directory is a list of Links relative to Wichita Computer related Businesses.

Wichita Link Directory
Free Wireless Hot-Spots

Relevant Sponsers

z-index Flash Objects Thickbox Fix

I had an issue with thickbox where it would show the image behind a flash video in FireFox. IE7 worked great. I ran across Sheriar Designs Blog posting a fix specifically for DHTML menus over a flash video. I figured I would give it a try and much to my surprise, the suggestion worked! I give ALL CREDIT to the author of the blog, Mani (Pronounced like Bonnie, not Mani like Danny)

I merely wanted to blog the information for my own record keeping, plus to help 'index' the solution for others.

Mani's Solution
  1. Wrap your flash content in a div
  2. Add <param name="wmode" value="transparent"> to your object tag
  3. Set wmode="transparent" in the embed tag
  4. Use css to set the position and z-index for your div (don't set negative z-index values as it will make your flash disappear)
The CSS

#flash {
position: relative; /*or absolute*/
z-index: 0;
}

The XHTML

<div id="flash">
<object ...>
  <param name="wmode" value="transparent">
  <embed ... wmode="transparent">
</object>
</div>

And, in Mani's words... That's It!

Worked perfectly...Thank you!

I had the same problem - except that it was working fine in Firefox, but not in IE7 (go figure). Anyways the fix you suggested worked like a charm. Thank you!

Poll