View source code
Adapting this script for your page is as simple as the following:
- The array "menuhead" can be modified to suit your requirements by adding/removing sections,
and the menu will resize as needed.
- Similarly the array "menubody" can be modified to suit your content.
- In Internet Explorer the drop-down menu will hide when the mouse leaves it; In Netscape 6 it will hide
either when the mouse moves over another Section or when the mouse is clicked anywhere on the page. This is because the NS6
display flickers badly otherwise. If anyone has cracked this problem I would love to hear from them!
- This page has been validated against the W3C HTML 4.0 specification
Javascripts Page | Home