written by Aaron Prenot

The Start menu is hierarchal, and since Web sites often have a similar hierarchal arrangement of pages, they suit cascading navigation menus very well. Here is a script that will allow you to create cascading menus in Internet Explorer 4.0 and above, and can be adapted for your own use without knowledge of JavaScript. It will allow your visitors to navigate your site with ease.
Best of all, if any other browser is used, the cascade won’t show but remains neutral. It won’t interfere with the normal navigation links on the page, so in this case your visitor can follow a normal hyperlink that’s in exactly the same place as the cascade.
Elements
There are three parts to this program. One is the core JavaScript file, HMenu.js, which contains all the difficult code. The second is the stylesheet file, HMenu.css. Both these files need to be placed in the same directory as the HTML file that uses the cascading menu. You can download them using Save Target/Link As on these links to Hmenu.js and Hmenu.css, or alternatively download them in zip format from here.
The third element is code that goes in the HTML file itself, and this you’ll need to modify to contain the links and descriptions for your specific cascading menu. It’s referred to as The Container.
The Container
This code within your HTML page is a Div element called “menuContainer”. It doesn’t matter where on the page you put this container, but it can only appear once, even if there are multiple cascading menus. It’s here that you put your menu definitions that tell the script what will go inside your menus. It should look like this:

