PDA

View Full Version : Dock Content script - Layer Problem



huangpower
07-30-2009, 11:47 PM
1) Script Title:
Dock Content script

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/dockcontent.htm

3) Describe problem:
I am using this excellent script it works as it should but I am having problem when using it with a menu script, the drop down menu will hide underneath the floating dock content. I want the drop down menu to be on top of the floating div element.

I tried change the z-index order for both elements, but does not have any effect. Suspecting its the javascript, wondering if there is a work around for this?

ddadmin
07-31-2009, 08:26 PM
The script doesn't dynamically increase the z-index of the docked element actually. It's merely an element with the following CSS:


.dockclass{
position:relative;
}

With that said, you can try giving your menu (its outermost DIV) a CSS such as the below to try and get it to appear on top:


position: relative;
z-index:1000;