How can I get TreeMenu Magic to only show one submenu at a time, closing any other submenus that may be open? a toggle?
Note: This functionality is included and fully automated in the more recent Tree Menu Magic 2 system, simply click the "Toggle Sub Menus" option in the TMM2 user interface.
*Last Revised Mar. 3, 2004 - This tweak replaces the previous method. This version allows full toggle on all levels of the menu.
There are occasions when you would like the TMM system to automatically toggle the open submenu each time you click a menu button. This will assure that only one menu section is open at any time. This tweak will create a complete, full toggle for every section and level in the menu. When a link is clicked, all other open menu sections in the menu will be closed while keeping all of the parent sections of this link open.
See the TMM FullToggle Tweak page for a working demo and step-by-step instructions:
Note that this Full Toggle tweak will assure that only one menu section is open at a time, consequently it will interfere with the Expand-All and Collapse-All TMM behaviors. It is recommended that you do not use the Expand/Collapse All feature when deploying the menu with the Full Toggle tweak.