View Full Version : Jim's DHTML Menu v5.7 - Overlapping problem

04-27-2005, 07:10 PM
I have a top menu that drops down over a side menu. When the far left top menu drops down, it drops BEHIND the side menu. The side menu opens to the right and it works fine.

I need to know how to make the top menu drop down IN FRONT of the side menu.


04-29-2005, 10:26 PM
Make sure that the menu you want on top has a higher z-index than the menu you want it to cover and that each of the menus are either position:relative or position:absolute. One can be relative and the other absolute or both the same. Default z-index is 0. All this is done in the style for the menus or their containing divisions, example (as inline style):

<div style="position:relative;z-index:100">for the dominant menu and:

<div style="position:relative">for the one you want to be covered.

Either or both of your menus may have position and/or z-index already defined for them in their code, an onpage stylesheet, inline style, or an external stylesheet. Best to check first.

05-02-2005, 09:02 PM
:D Thanks for your help, but I used the AnyLink Drop Down Menu for the top menu and Jim's for the side menu. And I did define the z layers.

05-03-2005, 03:17 AM
So, you are saying it is working now?

05-03-2005, 04:02 PM
Yes, I have the top menu dropping down over the top of the side menu.