Confused? Here's an example:
The text in this box is now visible. To collapse the box, and hide the text,
click on the minus (−) sign in the upper right corner of the box.
The box will collapse and the minus will turn into a plus (+). Click that to expand the box again. |
You can also have a box that's collapsed by default (click the plus (+) sign to expand it):
|
As you can see any HTML under the box will be dynamically moved, as the box is expanded or collapsed. Expandable boxes can be used for hierarchical menus, or to display some vital but bulky information. You decide.
The script has been tested, and works with all the latest browsers, including Internet Explorer 5+, Netscape 6+, Mozilla and Opera 7.
So. You like it. You want it...