Content in the Javascript library assumes a sound understanding of ECMAScript, CSS, XHTML and DOM.

Menu scripts

  1. Expanding menu

    Setup your navigation as a menu using an unordered list. This script will convert a nested menu into an expanding menu. Uses text links for +/- controls to increase visibility with font size adjustments.

  2. Menu bar (popup menus)

    Setup your navigation as a menu using an unordered list. This script will convert a nested menu into a popup menu. Supports vertical and horizontal bars — just change a couple of CSS rules. Highlights current menu item and parent items. Submenus indicated by arrow (background image).

[ inspire logo ]
Code in the javascript library is free to use. Enjoy! Feedback welcome.
© Ben Boyle 2003.