PDA

View Full Version : DD Mega Menu drop down delay



gregtallent
07-15-2015, 12:18 PM
1) Script Title: DD Mega Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/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/showthread.php?64330-DD-Mega-Menu-drop-down-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.

ddadmin
07-15-2015, 04:14 PM
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?

gregtallent
07-15-2015, 04:36 PM
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 :).

ddadmin
07-16-2015, 12:34 AM
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/showthread.php?64330-DD-Mega-Menu-drop-down-menu-delay&p=313515#post313515