JavaScript Examples

Collapsable Menu
Copyright (C) 1999 Dan Steinman; Distributed under the terms of the GNU Library General Public License available at

COPY - Insert Between Head Tags: <HEAD></HEAD>

COPY - Insert Inside Body: <BODY></BODY>

Download the following files and
place them in a directory names js:


Instructions for using this script:

Configuring the menu

This is an advanced, complex javascript menu. It uses four external scripts and one internal body script. The background, font and link colors can be changed within the external scripts by simply opening them up in a text editor, such as NotePad, changing them and saving the js file. Remove or altar the CSS code within the internal script to disable or change the effects for it. Make sure you replace the LINKS, TITLES and DESCRIPTIONS with your own.