There is a known issue with Firefox and other Gecko browsers in MacOsX related to having any tag with opacity set and flash with transparency set, which makes the flash to disappear. (http://opensoul.org/2007/4/26/firefox-mac-flash-css-opacity-peek-a-boo).
Admin menu sets an opacity for the menu which triggers this error and makes difficult to have a flash. There is a workaround (http://jakeo.org/blog/2007/03/16/css-opacity-and-flash-transparency-in-m...) which has nothing to do with admin menu anyway.
However, wouldn't it be nice to have a setting for this module with which and admin could choose whether to have an opacity set or not? This could be easily achieved by having two different css files.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | admin_menu_no_opacity_css.txt | 202 bytes | robertgarrigos |
| #1 | opacity.patch | 1.56 KB | robertgarrigos |
Comments
Comment #1
robertgarrigos commentedThis is away of doing it. This patch needs a new css file which I attach as well (Sorry, I don't know how to do a cvs diff to create a patch with a new file). You need to change it's name (admin_menu_no_opacity_css.txt) to admin_menu_no_opacity.css and put it into the admin_menu folder, off course.
it could be even more complicated by letting the user to choose whether to have an opacity only for firefox running on a mac and use JQuery to change the css on the fly, just like the module is actually doing to fix the margin-top, but I wanted something quite easy now. So if anyone wants to try a different approach... :-)
Comment #2
jody lynnI think this is a great idea, and addresses the same issue here: http://drupal.org/node/182917
Although the latest versions of admin_menu have stopped having the fieldset bug in that issue (as far as I've seen), the problems with the opacity interacting with flash on the page still exist on mac firefox. Recently I've had several people tell me emfield module is not working for them, and it is because with mac firefox and admin_menu their embedded flash videos are completely invisible.
Comment #3
socialnicheguru commentedsubscribing
Comment #4
verikami commentedsubscribing :-)
Comment #5
sunComment #6
john franklin commentedAmen, Brother!
I find the opacity in the Admin menu annoying. Content under the menu is constantly making it difficult to read the menu item. I've resorted to deleting the opacity item in the CSS file just to make the site manageable, but I'd be happy with a switch to turn it off.
Comment #7
bluesherpa commentedYou can add this to your theme css file until there is an option to toggle the opacity:
/* Admin Menu Overrides */
#admin-menu li li {
width: 160px;
background: #202020;
filter:Alpha(opacity=100) !important;
opacity: 1 !important;
}
Comment #8
sunThe solution is to not use Flash, which you shouldn't in todays world either way.