back again... we aborted the sticky nav but now have new issue:
When I take the JS out of the page and into the head section of the site the drop down stops functioning... not sure what to do here- We cannot have JS inside the body tags as it causes a warning for some browsers once a customer enters the secure side of the site (cart) -
JS in question: (FYI, I cannot take the either piece out (nor both) to put into the head section as it will cause the drop down to not function)
Code:
<script src="ddmegamenu.js">
/***********************************************
* DD Mega Menu (c) Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
</script>
<script>
ddmegamenu.docinit({
menuid:'solidmenu',
dur:200 //<--no comma after last setting
})
ddmegamenu.docinit({
menuid:'megaanchorlink',
dur:500,
easing:'easeInOutCirc' //<--no comma after last setting
})
</script>
Bookmarks