Menu Toggle is a very small, simple module that lets you toggle the visibility of expanded menu items. By default when a Drupal menu is set to 'Expanded', the children of that menu item are listed below it. Some menus have very long lists of items however, and it can be inconvenient to navigate. With Menu Toggle you can force expanded menu items to show up only when you click the parent menu item. This will save a lot of vertical real estate on your website. Since the menu tree is already loaded during the bootstrap process, there is no AJAX involved - just a simple toggling of the display using a bit of jQuery. You also have the option of displaying the expanded menu items by default. Items in the active menu tree are always expanded.

Note that in order for a menu item to be togglable, the parent menu item must be set to 'Expanded' in Drupal's administration interface. By doing this you have complete control over which menu items can be toggled and which can't.

If you're looking for a more robust solution, check out DHTML Menu.

This module was co-developed by Venkat Dinevahi (vendiddy)

Downloads

Version Downloads Date Links
6.x-1.0 tar.gz (6.71 KB) | zip (7.39 KB) 2009-Mar-01 Notes

Project Information

  • Module categories: Administration, Utility
  • Maintenance status: Unknown
  • Development status: Unknown
  • Reported installs: 76 sites currently report using this module. View usage statistics.
  • Downloads: 3,324
  • Last modified: August 30, 2008

Maintainers for Menu Toggle

  • archard - 1 commit
    last: 4 years ago, first: 4 years ago

Issues for Menu Toggle

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants