Results 1 to 5 of 5

Thread: DD Mega Menu - drop down menu delay

  1. #1
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DD Mega Menu - drop down menu delay

    1) Script Title: DD Mega Menu

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

    3) Describe problem: Is it possible to set a delay on the drop down menus so they do not appear instantly on hover? I found another post where you made some modifications to a menu script to allow this same thing:

    http://www.dynamicdrive.com/forums/s...ad.php?t=50093

    I am wondering if there is a way to do the same for your excellent Mega Menu? Any help you can provide would be greatly appreciated.

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

    Default

    Sure, try the below modified .js file. It adds a new "showdelay" option you can define to specify a delay (in milliseconds) before the mega menu in question appears:

    Code:
    ddmegamenu.docinit({
    	menuid:'solidmenu',
    	showdelay:300,
    	dur:200 //<--no comma after last setting
    })
    DD Admin

  3. #3
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Works perfectly. What a great improvment to an already awesome menu system.

    Thanks!

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

    Default

    Here is the attached modified .js file again, as for some reason it was missing in my post on 08-31-2011.
    Attached Files Attached Files
    DD Admin

  5. #5
    Join Date
    Jul 2015
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you, DD Admin, works great. Really useful scripting.

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
  •