Author Topic: Final level of show_menu2  (Read 1589 times)

Offline evildmp

  • Posts: 67
Final level of show_menu2
« on: January 27, 2008, 11:10:06 AM »
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

 

postern-length