Results 1 to 4 of 4

Thread: DD Mega Menu drop down delay

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

    Default DD Mega Menu drop down delay

    1) Script Title: DD Mega Menu

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

    3) Describe problem: At present there isn't a drop down delay in the script. I'm using it here: http://styleandtalent.com/

    I've looked at this earlier thread http://www.dynamicdrive.com/forums/s...own-menu-delay ..
    and tried the solution. I think the code given is fine but there is no 'showdelay' code in the js file.

    Can anyone help with a solution? Thanks.
    Last edited by Beverleyh; 07-15-2015 at 02:52 PM. Reason: formatting

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

    Default

    I've looked at this earlier thread http://www.dynamicdrive.com/forums/s...own-menu-delay ..
    and tried the solution. I think the code given is fine but there is no 'showdelay' code in the js file.
    Hmm not sure I understand- if the code works, what's the problem?
    DD Admin

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

    Default

    Quote Originally Posted by ddadmin View Post
    Hmm not sure I understand- if the code works, what's the problem?
    Thanks for replying. And sorry, I should have been clearer. This code:
    ddmegamenu.docinit({ menuid:'solidmenu', showdelay:300, dur:200 //<--no comma after last setting })

    .. is in the php script. It calls a function in ddmegamenu.js.

    The parameter 'showdelay' doesn't appear in the function, so the delay doesn't work. I think the function needs to be changed to include this parameter and a javascript delay. (I'm not a js programmer .

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

    Default

    Hmm for some reason the modified .js file that was attached with my post you mentioned has gone missing. I've recreated the file and attached it to the thread in question: http://www.dynamicdrive.com/forums/s...515#post313515
    DD Admin

Similar Threads

  1. DD Mega Menu - drop down menu delay
    By Sixstringz in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 07-16-2015, 07:02 AM
  2. Mega Menu drop down menu delay
    By browncow in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 04-07-2014, 04:05 PM
  3. DD Mega Menu Drop Top (not Down)
    By Sirius in forum Dynamic Drive scripts help
    Replies: 15
    Last Post: 03-27-2013, 02:43 AM
  4. Mega Menu drop down cutting off
    By kyisha17 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-21-2011, 11:50 PM
  5. AnyLink CSS 2.2 - Add a Delay? (mega drop-down)
    By mimib in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 11-23-2009, 06:49 PM

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
  •