Nice Primary Menus

douggreen - November 12, 2007 - 16:59

This module extends the Primary menus with an additional level of secondary nice menus that hide/show on hover via jquery. Some theming is required to enable it. This module requires Nice Menus.

An option is added to the admin/content/menu interface for selecting which nice menu to display. This option is only added to the children of the primary menu.

NOTE: To use this module, you must do some theming.

Replace the theme('menu_links') with theme('nice_menu_links'),

OR

If you've already overridden theme_menu_links, add the <li id=...> as is done in theme_nice_menu_links, i.e.:

  $menu = menu_get_menu();
  foreach ($links as $index => $link) {
    $output .= '<li id="menu-link-'. $menu['path index'][$link['href']] .'" ';

and then call theme('nice_primary_menus');

Releases

Official releasesDateSizeLinksStatus
5.x-1.02008-Feb-199.33 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2008-Mar-179.35 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.