Firefox 中 Flash 顶部的 CSS / JavaScript 导航菜单
我的网站有一个用 CSS 和 JavaScript 构建的下拉菜单,可通过 Flash 动画下拉。 在 IE (6 和 7) 中,下拉菜单位于 Flash 动画上方,但在 Firefox (2 和 3) 中,菜单出现在 Flash 动画下方。 有没有办法让这个动态菜单在 Firefox 中的 Flash 上流动?
在 IE 7 中,菜单显示在 Flash 上:
在 Firefox 中,菜单显示在闪光灯下:(我该如何解决这个问题?!)
My site has a drop-down menu built in CSS and JavaScript that drops down over a Flash animation. In IE (6&7) the drop-down menus drop over the Flash animation, however, in Firefox (2&3) the menus appear underneath the Flash animation. Is there any way to get this dynamic menu to flow OVER the Flash in Firefox?
In IE 7 menu appears over the Flash:
In Firefox the menu appears under the Flash: (How can I fix this?!)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
尝试将 wmode 设置为透明 - 请参阅此处
Try setting wmode to transparent - see here
wmode=opaque 似乎对我有用
我在这里做到了:www.toolgal.com,将鼠标悬停在顶部导航
Dan 的产品菜单上
wmode=opaque seemed to work for me
I did it here:www.toolgal.com, hover over the products menu on the top navigation
Dan
使用 z-index 并将菜单设置为 100 之类的值,将 Flash 影片设置为负数,例如......比如 -1。
干杯
Use z-index and set the menu to something like 100 and the flash movie to something in the negative like.....say -1.
Cheers
您是否尝试过 iframe 技巧(即在菜单后面浮动一个 iframe,从而将 flash 层放在后面。)
Have you tried the iframe trick (i.e. floating an iframe behind the menu, thus putting hte flash layers behind.)
iframe-trick 仅适用于 IE(IE7 以下),因此它在 Firefox 中可能永远不会有帮助。
我会尝试启用 wmode=transparent,这样 Flash 内容就不会获得自己的 HWND
The iframe-trick is only for IE (below IE7), so it probably would never help in Firefox.
I'd try to enable wmode=transparent, so that the Flash content won't get its own HWND
启用 wmode=transparent 是正确的方法。 但还要注意,Linux 中的 Firefox 不遵守这一点,并且 flash 将始终位于最前面。
Enabling wmode=transparent is the way to go. But also note, that Firefox in Linux does not obey that, and the flash will always be on top.