Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
flash content such as the one output by video module or flash gallery module overlaps the drop down menu created by nice menus. as far as i could see it happens both on firefox and safari.
i tried to change other modules' css adding position and z-index to the div like this:
{position: relative; z-index: -1;}
but to no avail.
(the nice menu drop-down is positioned and has a higher z-index).
not sure this is a nice_menus problem, but still it compromises its functionality.
thank you very much for any help.
Comments
Comment #1
Zach Harkey CreditAttribution: Zach Harkey commentedUsually, to get force flash movies to display underneath css dropdowns, the magic bullet seems to be explicitly setting the flash movie's window mode (WMODE) to "transparent" or, in some situations to "opaque" (i.e. wmode="transparent" or wmode="opaque").
Here's a tech note:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15523
And here's a real good explanation:
http://www.communitymx.com/content/article.cfm?cid=E5141
-zach
Comment #2
vthirteen CreditAttribution: vthirteen commentedthanks, that helped but did not actually solve the problem.
now i can see the background behind the flash object as much as there is no active object in it. problem is that where there is some active object (such a video), everything else (my drop down menu in this case) falls behind flash.
Comment #3
gateone CreditAttribution: gateone commentedUnfortunately, this is browser-plug-in related in general and not a Nice Menus issue. Flash will ALWAYS be displayed in front of ANYTHING on the site. There is technically no way to circumvent this. You will find this problem on many many live pages by the way. As general advice: avoid touching flash content with DIVs that are supposed to lay on top of the flash content. This is simply impossible, sadly...
Comment #4
Patrick Nelson CreditAttribution: Patrick Nelson commentedZach's suggestion works fine for me on http://www.vcommunity.org.uk both in Firefox (1.5.07) and IE7. Don't know about IE6 though.
If there are still problems with FF, this might help: http://www.quantumslip.com/archives/2006/09/flash_wmode_scr.html
Comment #5
add1sun CreditAttribution: add1sun commentednot a nice menu problem. closing old issues
Comment #6
add1sun CreditAttribution: add1sun commentedGrrr, forgot to actually close it. ;)
Comment #7
Zoologico CreditAttribution: Zoologico commentedWMODE="TRANSPARENT" worked for me in IE7 and FF2.
At first, what FLASH spit out for code wasn't well received by Dreamweaver (weird) which read that it wouldn't work well in latest version of IE. Dreamweaver then offered to fix it for me (how nice).
BEFORE (what FLASH generated):
AFTER (fixed by DREAMWEAVER):
However, I only used this to make it work:
Comment #8
yopyop CreditAttribution: yopyop commentedFantastic, you saved a site I was working on with Flash Headers!
Comment #9
thomasmurphy CreditAttribution: thomasmurphy commentedI've got this to work in opaque window mode, not with nice menus but just to say to can get around this problem with drop down menus and flash in general. I'm using the flash object browser detect script http://blog.deconcept.com/flashobject/
Comment #10
kssundar CreditAttribution: kssundar commentedDid not work for me - I used ur code above and changed the url of the flash content. The flash is displaying properly but the nice menu is dropping behind the flash content. Please help me.
Here's my code - Input format is php code - I use Drupal 5.7
I tried both the transparent and the opaque option. But of no use. Please help!!
Comment #11
tanfastic006 CreditAttribution: tanfastic006 commentedyou got to set wmode as transparent not in one place but two.
set is as param name value
< param value="transparent" name="wmode" />
and again where you embed
< embed width="800" height="400" src="something.swf" name="" pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent" type="application/x-shockwave-flash">< / embed>
works fine in my site http://munia.pragyadhi.com check
This is actually not a nice menu issue,rather its a flash issue. Flash objects are like opaque stickers over a webpage.It will cover anything beneath it,unless we make it(the flash) transparent.
Comment #12
johnhanley CreditAttribution: johnhanley commentedtanfastic006,
Thanks so much for your post. This Flash object transparency issue had me stumped (i.e. worked in IE, but not FF), but adding the param to the embed did the trick.
Cheers,
John
Comment #13
mcfilms CreditAttribution: mcfilms commentedZach, Zoo, et al.
Thank you. You solved my issue. Good job.
Comment #14
dssummers CreditAttribution: dssummers commentedZ-index is only effective if the div's position is set to absolute. You can place a transparent flash file or swf behind, in the middle, or on top of any site in almost every version of every browser using this method, but the div's position MUST be absolute
Comment #15
ChristianP CreditAttribution: ChristianP commentedJust wanted to drop my point of view on this as well!
This worked for me:
Notice the "opaque" attribute. And it's also good to set z-index: 1 and position:relative on the "object" tag, and z-index: 2 or more on the menus.
Comment #16
chopper72 CreditAttribution: chopper72 commentedI Just wanted that after ages trying to figure this out, the following (which is similar to most of the above) worked for me:
BUT DON'T FORGET TO RUN CRON TO REFRESH THE SITE VIEW (i couldn't figure out why the flash fix was not working. remember... CRON!!!!)
Comment #17
lmmac CreditAttribution: lmmac commentedi cant view the sublinks in nice menu due to the slideshow displayed on the top. can anyone suggest any idea to override this problem. my version is 6.12
Comment #18
lmmac CreditAttribution: lmmac commentedi cant view the sublinks in nice menu due to the slideshow displayed on the top. can anyone suggest any idea to override this problem.