Results 1 to 2 of 2

Thread: Chrome CSS Drop Down Menu (v2.01)

  1. #1
    Join Date
    Nov 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Chrome CSS Drop Down Menu (v2.01)

    1) Script Title: Chrome CSS Drop Down Menu (v2.01)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rome/index.htm

    3) Describe problem: The links on the drop down menu work fine (ie the sub-categories), but if I put a link in the main heading as well (head category), the link URL shows on the bottom toolbar, but is not active. The sub-menu links still work fine. What am I doing wrong, or is this a glitch? See below.

    <div class="chromestyle" id="chromemenu">
    <ul>
    <li><a href="A LINK HERE DOES WORK">Home</a></li>
    <li><a href="A LINK HERE DOESN'T WORK" rel="dropmenu1">Resources</a></li>
    <li><a href="#" rel="dropmenu2">News</a></li>
    </ul>
    </div>

    <!--1st drop down menu -->
    <div id="dropmenu1" class="dropmenudiv">
    <a href="THIS LINK WORKS">Dynamic Drive</a>
    <a href="http://www.cssdrive.com">CSS Drive</a>
    <a href="http://www.javascriptkit.com">JavaScript Kit</a>
    </div>

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

    Default

    If you want the main menu items to also act as links, just configure that inside the .js file:

    Code:
    disablemenuclick: false, //when user clicks on a menu item with a drop down menu, disable menu item's link?
    Setting it to false will do it.

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
  •