Final level of show_menu2

evildmp

I need to select (using CSS) every menu item from show_menu2 which is at the final level of the menu structure, that is, a level at which none of the items have any children.

show_menu2 can identify items at:

  • the root + n
  • the current level + n

(where n can be positive, zero, or negative), but it can't identify items at the final level.

Does anyone who knows the code know how easy it would be to get it to produce a "menu-final" class on items at the final level?

Daniele