My secondary menus are positioned just north of my primary ones. Both are horizontal. When the secondary menu drops down, the primary one "shows through," and as soon as it is rolled over, the secondary menu goes away, rendering it unusable.
I tried the .js fix recommended in http://drupal.org/node/113965#comment-500893, to no avail. My rudimentary JS troubleshooting methods (alerts) suggest that window.onload in nice_menus.js never gets called, so that function never executes.
This is present in FF3 as well as IE7.
Any help would be greatly appreciated.
| Comment | File | Size | Author |
|---|---|---|---|
| see_through_menu.jpg | 17.6 KB | dalehgeist |
Comments
Comment #1
dalehgeist commentedI've made a little progress in getting the code to fire: I changed it from
window.onloadto$(document).ready(function(){[the function]}), which is apparently the jquery method of adding a function to the body onload event.The function was still not executing, so I commented out
if (document.all) {- and that DID get the code to fire, and it did successfully change the z-indexes of both menus.I have one function for menu 1, which started at 1000, and another one for menu 2, which started at 2000 - so that all menu 2 items would end up with a higher z-index than menu 1 items.
Unfortunately, the problem persists: menu 1 items still "show through" menu 2 items when the menu is expanded, and rolling over the menu 1 item still causes the menu 2 items to go away, rendering that menu unusable.
Comment #2
add1sun commentedIs this happening in core themes or in a custom theme? I can't reproduce this on a core site.
Comment #3
add1sun commentedNo response, closing.
Comment #4
ngstigator commentedI have the primary and secondary menus as nice-menu blocks (menu style: down) stacked on top of one another in the "Header" region of the Garland theme. The upper menu expands underneath the lower menu.
I have tried changing the z-index (using firebug) to no avail, but my css-fu is not strong.
Comment #5
ngstigator commentedz-index does work. I just had to bump it up to exceed the primary nice menu ul.
Nothing to see here.