JavaScript Cases: Collapsing SubMenus


Menu Expand/Collapse Menu

My menus/TOCs also have submenus which are collapsed by default. To expand a collapsed submenu, the user clicks the heading for the submenu, in this case "Resume." That expands the submenu allowing the user to select sub-items. When an item is selected from submenu, when that page is displayed, the submenu must be expanded to show the user where they are in the context of the TOC. Submenus are expanded by setting the submenu in the globals section of the page assembly, see Jscript Globals.

JScript Cases