New in this version:
- added support for nice_menus (tested with Nice Menus version 6.x-2.1)
- now adds class name to local task menus (tabs)
- tested with Special Menu Items (6.x-1.5) and DHTML Menu (6.x-3.5)
- tested with Zen theme
Bugs fixed:
- Issue #949618 by rhache: Fixed appearance of double/multiple hyphens
- now works with nice_menus (tested with version 6.x-2.1)
- reduces multiple hyphens to a single hyphen; removes leading or trailing hyphens
- now adds class name to local tasks (tabs)
- now using a central function for building the class name
This is a very simple module that takes the title of each drupal menu item and
adds it as a css class name to the menu's <li> element. Any character from
this title that is not an alphanumeric character, dash, or underscore is
converted to a dash; all letters will be converted to lowercase.
Using these class names, css can be used to style each menu item separately as
needed or css sprite techniques can be used. For a menu item whose title is
"Product Information", a typical css rule would look like this: