Here is a non-alphabetical list of functions that you can call, each preceeded by an explanatory comment.
//-------------------------------------------------------- /** label's onclick event handler. * toggles a menu open/closed */ toggleMenu(el) /** label mouseover event handler. * Called with onmouseover attribute. */ buttonOver(el); /** label mouseout event handler. */ buttonOff(el); //-------------------------------------------------------- /** activate a button whose ID is sButtonId. * causes the button's menu to open. */ activateMenu(sButtonId); /** causes the button's menu to close. */ deactivateMenu(sButtonId); //-------------------------------------------------------- /** opens a tree. * Parameter sTreeId is the id of the element with * class "AnimTree" */ openTree(sTreeId); /** closes a tree. * Parameter sTreeId is the id of the element with * class "AnimTree" * Parameter defaultButtonId is the id of a button that * should stay active. */ closeTree(sTreeId, defaultButtonId); //-------------------------------------------------------- /** restores a tree's state from a cookie. * Call this onload. */ restoreTreeState(treeId, defaultButtonId); /** saves a tree's state to a cookie. * Call this onload, NOT in onunload */ saveTreeOnUnload(id);
Next in this tutorial: Frequently Asked Questions