Results 1 to 2 of 2

Thread: Simple DDLevelsMenu Question | Dropdown Menu Placement

  1. #1
    Join Date
    Oct 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Simple DDLevelsMenu Question | Dropdown Menu Placement

    Edit: http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/index.htm


    I am trying to manipulate the CSS to place the dropdown menu lower on the screen but cannot figure out how to make the change.

    http://i2y.com/index2.shtml

    The code is:

    .ddsubmenustyle, .ddsubmenustyle ul{ /*topmost and sub ULs, respectively*/
    font: normal 12px Arial;
    margin: 0px 0px 10px 0px;
    padding: 0;
    position: absolute;
    list-style-type: none;
    background: #FFFFFF;
    border: 1px solid #404040;
    border-bottom-width: 1;
    visibility: hidden;
    z-index: 50;
    }
    Last edited by ddadmin; 10-16-2009 at 07:09 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    9,902
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    Are you referring to just the top level drop down menus, or all of the sub levels as well? Either way, this would have to be done inside the .js file, as the menus are positioned using JavaScript, not CSS. For example, to get all menus to drop down 10px further down from its default position, inside the .js file, you'd add to the line below the changes in red:

    Code:
    submenu.style.top=menutop+10+"px"
    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
  •