简体   繁体   中英

CSS / JavaScript Navigation Menu on top of Flash in 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?!)

替代文字

Try setting wmode to transparent - see here

Use z-index and set the menu to something like 100 and the flash movie to something in the negative like.....say -1.

Cheers

wmode=opaque seemed to work for me

I did it here:www.toolgal.com, hover over the products menu on the top navigation

Dan

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

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM