最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Cross Browser dropdownpopup menu over a flash movie - Stack Overflow

programmeradmin1浏览0评论

I need to make my dropdown menu apprear over the top of a flash movie, how is this done cross browser?

It can be done, IBM do it: / so do GE: /

Setting the the WMODE to transparent doesn't work for Firefox

Putting it into an Iframe doesnt work below IE7

Any one know the best way to achieve this?

I need to make my dropdown menu apprear over the top of a flash movie, how is this done cross browser?

It can be done, IBM do it: http://www.ibm./us/ so do GE: http://www.ge./

Setting the the WMODE to transparent doesn't work for Firefox

Putting it into an Iframe doesnt work below IE7

Any one know the best way to achieve this?

Share Improve this question asked Oct 28, 2008 at 13:22 Bevan StephensBevan Stephens 1
  • GE doesn't work for me. FF 3.0.5 on Linux. I see Flash and I see DHTML on IBM, but not together. I've used the iframe shim method successfully before. – meouw Commented Jan 26, 2009 at 15:29
Add a ment  | 

3 Answers 3

Reset to default 3

Set the wmode to transparent and if necessary, use z-index as you would on any other element, that really should work for Firefox too.

here is an example with all three modes: opaque, transparent and no wmode at all

http://www.munitymx./content/source/E5141/wmodeopaque.htm

use transparent if you have something under the flash movie that you want visible, opaque if you don't want to show what's underneath

and set a higher z-index for menu than the flash movie has

Firefox for linux shows flash on top of everything. Regardles of wmode or z-index.

EDIT: I just found out that the Linux issue described above can be "fixed".

You need to add an iframe with a z-index between the swf and the layer you want to put on top of it. The iframe needs to have style="display:none" initially and you must use javascript to set display:block on it after the flash plugin has initialized. The Iframe will hide all swfs that are below it on linux.

发布评论

评论列表(0)

  1. 暂无评论