Ken Ward's Java Script Tutorial ...

Double Drop-Down Menus

Select a subject and then a page to go!:

Subjects Pages

This page has a double drop-down menu at the head. It can be very useful for sites with many pages and can quite neatly replace several single drop-down menus.

You can select a subject in the left-hand menu and then choose a page-to-go in the right hand menu. Of course, the right-hand menu updates according to the subject you have chosen.

The triple menu for freeing the mind has lots and lots of files, so its code appears to be complex, when really it is quite simple.

See using a menu to write a menu

Like much of the stuff in JavaScript, the long bit is filling in all the file details. The code is actually quite simple. The next page on double-menus goes into the details, step-by-step.