IE7 z-index problem with Flash content

2019-01-26 20:12发布

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条回答
We Are One
2楼-- · 2019-01-26 20:21

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

查看更多
孤傲高冷的网名
3楼-- · 2019-01-26 20:29

opaque for performance

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

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

查看更多
何必那么认真
4楼-- · 2019-01-26 20:38

You can give this inside the object tag

<param name="wmode" value="transparent">
查看更多
登录 后发表回答