开发者

IE7 z-index problem with Flash content

开发者 https://www.devze.com 2022-12-27 07:36 出处:网络
I have a problem with flash conten开发者_JS百科t in IE7 being always over the menu items I have a structure like the following:

I have a problem with flash conten开发者_JS百科t 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?


You can give this inside the object tag

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


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


opaque for performance

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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号