views:

314

answers:

3

I have a problem with flash content in IE7 being always over the menu items

I have a structure like the following:

<div id='skyscraper_flash'>
<!--this id skyscraper_flash is position absolute-->
  <object>
   <!--this is wmode transparent-->
  </object>
</div>

<div id='menu'>
<!--this id menu is also position absolute-->
  <ul>
    <li>foo</li>
    <li>bar</li>
  </ul>
</div>

Now then the last item of the menu opens it shows behind the flash content. The skyscraper is on the right of the page content. What should i look into?

+3  A: 

You can give this inside the object tag

<param name="wmode" value="transparent">
rahul
It is already initialized as wmode transparent as you can see in the pseudo-code above
L. De Leo
A: 

Yeah, you need to change the z-index of the menu and add wmode="transparent" like above

Aaron Mc Adam
object is initialized with wmode=transparent as i wrote in the pseudo-code. As for z-index, aren't generally position:absolute elements out of z-index logics?
L. De Leo
z.index applies only to positioned elements, so if you haven't declared a z-index to your elements, you won't be able to control which one is on top...
Kyle Sevenoaks
A: 

opaque for performance

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

http://www.communitymx.com/content/article.cfm?cid=E5141

Fatih Hayrioğlu