Adding a drop-down navigation menu
The more complex the site, the more complex the menu structure becomes. Once we are dealing with nested menus, the inevitable solution from an interface perspective is to use drop-down menus. In this recipe, we will be looking at implementing a drop-down menu, or to be more precise, a drop-right menu using the Nice Menus module.
Getting ready
The Nice Menus module can be downloaded at http://drupal.org/project/nice_menus. It is assumed that it has been installed and is enabled. We will be using it to add a drop-right menu to the myzen theme created earlier in this book.
Note
While the instructions in this recipe pertain to version 6.x-2.1—beta1 of the Nice Menus module, it should still be applicable for the other releases in the 2.1 cycle and possibly future versions as well.
How to do it...
The Nice Menus module works primarily through the use of specially created blocks which render menu trees as drop-down menus. By default, it dynamically exposes two blocks...