Please post about Dynamic Drive Scripts in the Dynamic Drive Scripts Help section here where I've moved this thread, and:
Warning: Please include a link to the DD script(s) in question in your post. See
this post for more information.
That said, get rid of the second docinit(). You're not using it. To change to click activation, use the trigger property as stated on the demo page:
ddmegamenu.docinit() settings
setting / option Description
. . .
trigger - How the Menu should be triggered. The default is "mouseover", or when the mouse rolls over the anchor link. Supported values are: "mouseover" and "click".
In other words, change:
Code:
<script>
ddmegamenu.docinit({
menuid:'solidmenu',
dur:400 //<--no comma after last setting
})
ddmegamenu.docinit({
menuid:'megaanchorlink',
dur:500,
easing:'easeInOutCirc' //<--no comma after last setting
})
</script>
to:
Code:
<script type="text/javascript">
ddmegamenu.docinit({
menuid:'solidmenu',
trigger:'click',
dur:400 //<--no comma after last setting
})
</script>
Bookmarks