Results 1 to 2 of 2

Thread: Dock Content script - Layer Problem

  1. #1
    Join Date
    Aug 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Dock Content script - Layer Problem

    1) Script Title:
    Dock Content script

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...ockcontent.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?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The script doesn't dynamically increase the z-index of the docked element actually. It's merely an element with the following CSS:

    Code:
    .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:

    Code:
    position: relative;
    z-index:1000;
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •