Sandeep's Nook: JavaScript Page

Collapsibe Menu

Collapsible Menu
+ Computing Links
+ JavaScript Links

On the left of this page in yellow with black border is the collapsible menu. The menu has collapsible links. Clicking on those links with the + symbol in front would open a hidden bunch of links. Such hidden links are mostly related to the main link which opens them. You can add any number of collapsible links or ordinary links to the menu. You can also add unlimited nested sub-links as shown in the example. You can also completely change the appearance of to the menu, to best suit your needs.

Note: This script does not work with older browsers like Netscape v4.x but degrades very well.

Author: Sandeep Gangadharan
Home Page:

The script is given below:

This goes in the HEAD of the html file:

This goes in the BODY of the html file: