IE7 z-index problem with Flash content

▼魔方 西西 提交于 2019-12-07 17:32:04

问题


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?


回答1:


You can give this inside the object tag

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



回答2:


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




回答3:


opaque for performance

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

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



来源:https://stackoverflow.com/questions/2652998/ie7-z-index-problem-with-flash-content

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!