http://javascript.internet.com/navig...ding-menu.html
I am trying to implement that on a page that I have. I found the solution to the first problem I was having by searching the forum here http://www.webdeveloper.com/forum/sh...expanding+menu
which was to keep the menu expanded as I click on the different main and sub parts of the menu and not have it collapse each time I go to a different page while using the nav.
So I implemented/swapped that Javascript into the code.
But my problem now is that i put links into the MAIN menu items so the code looks like this for the menu:
But now nothing expands at all. Any help or ideas?
Thanks!
I am trying to implement that on a page that I have. I found the solution to the first problem I was having by searching the forum here http://www.webdeveloper.com/forum/sh...expanding+menu
which was to keep the menu expanded as I click on the different main and sub parts of the menu and not have it collapse each time I go to a different page while using the nav.
So I implemented/swapped that Javascript into the code.
But my problem now is that i put links into the MAIN menu items so the code looks like this for the menu:
Code:
<ul id="menu">
<li><a href="landsite.html">Land Development & Site Design</a>
<ol>
<li><a href="Landsite1.html">Tom Brown Auto Body</a></li>
<li><a href="Landsite2.html">St. Nicholas</a></li>
<li><a href="Landsite3.html">York Springs UNited Methodist</a></li>
</ol>
</li>
<li><a href="municipal.html">Municipal Engineering</a>
<ol>
<li><a href="#">Sub Item 2.1</a></li>
<li><a href="#">Sub Item 2.2</a></li>
<li><a href="#">Sub Item 2.3</a></li>
</ol>
</li>
But now nothing expands at all. Any help or ideas?
Thanks!