WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: evildmp on January 27, 2008, 11:10:06 AM

Title: Final level of show_menu2
Post by: evildmp 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:

(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