PDA

View Full Version : SuckerTree Zindex



Rev0verDrive
09-09-2009, 08:43 PM
1) Script Title: SuckerTree Horizontal Menu

2) Script URL (on DD): http://www.dynamicdrive.com/style/csslibrary/item/suckertree-menu-horizontal/

3) Describe problem: Need help setting zindex.

I have 2 other scripts that load lower in the content and the menu slides under the 2nd.

<div "suckertree menu"></div>
<div "content slider">
<div "thickbox"></div>
</div>

If I add a css z-index:-1 to the "content slider" div the menu works fine and it overlapse the content correctly, but then the "thickbox" links are'nt clickable.

Im hoping there's a way to simply add a zindex to the suckertree forcing it to the top.

Any help would be appreciated.

Rev0verDrive
09-09-2009, 08:52 PM
Found fix

.suckertreemenu * {
position:relative;
z-index:100;
}

Credit to : jscheuer1