@benmarte Thank you for your code.
I just implemented it and the menu opens and closes beautifully. The left column menu even keeps appearing while in the top level pages and they open/close beautifully. Great job!
Now, the issue is that, while the menu is opening and closing perfectly, the links for each menu item don't work; top-of-page menu or side column menu. The weird thing is that, I can hover over each menu item and I can see the links...I can go to the page source and see that the links are all there. However, clicking on each menu item doesn't take you anywhere.
Not being a js guru, I'm sure I've failed to do something correctly. I confirmed that adding the js code part stops the links from working (but make the menu open/close) and taking the js code out makes the links work again.
Now, the question that will make me look stupid: you said that the js needs to be modified to target my nav? The CSS portion I get, but what about the js? How exactly do I modify that? I have a feeling that's where I went wrong. I added the js code you supplied exactly (with no modification) directly to the head of the page, surrounded by:
<script language="javascript">
<!--
code...code...code...
//-->
</script>
The opening / closing action, though is great. Thank you for your continued help.
[ed. note: waizen last edited this post 14 years, 9 months ago.]