Firefox 中 Flash 顶部的 CSS / JavaScript 导航菜单

发布于 2024-07-04 17:36:25 字数 490 浏览 4 评论 0原文

我的网站有一个用 CSS 和 JavaScript 构建的下拉菜单,可通过 Flash 动画下拉。 在 IE (6 和 7) 中,下拉菜单位于 Flash 动画上方,但在 Firefox (2 和 3) 中,菜单出现在 Flash 动画下方。 有没有办法让这个动态菜单在 Firefox 中的 Flash 上流动?

alt text

在 IE 7 中,菜单显示在 Flash 上:

在 Firefox 中,菜单显示在闪光灯下:(我该如何解决这个问题?!)

alt text

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?

alt text

In IE 7 menu appears over the Flash:

In Firefox the menu appears under the Flash: (How can I fix this?!)

alt text

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

黄昏下泛黄的笔记 2024-07-11 17:36:25

尝试将 wmode 设置为透明 - 请参阅此处

Try setting wmode to transparent - see here

单挑你×的.吻 2024-07-11 17:36:25

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

放我走吧 2024-07-11 17:36:25

使用 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

眼泪淡了忧伤 2024-07-11 17:36:25

您是否尝试过 iframe 技巧(即在菜单后面浮动一个 iframe,从而将 flash 层放在后面。)

Have you tried the iframe trick (i.e. floating an iframe behind the menu, thus putting hte flash layers behind.)

怎言笑 2024-07-11 17:36:25

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

半窗疏影 2024-07-11 17:36:25

启用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文