Bjarte, What version of Lift are you using?
In the current trunk-head (0.10-SNAPSHOT, which I would strongly encourage using), you can do: <lift:Menu.builder li_item:class="foo" li_path:class="bar" /> And the class of the current menu item will be "foo" and the class of the <li>'s that are in the breadcrumb path to the item will have the class "bar" Thanks, David Bjarte S. Karlsen wrote: > Helo list, > > Playing around with implementing a already existing design as a lift > template. > > The menu of this design requires some way of knowing the menu li element that > is the active page. > Currently Menu.builder puts to id="current" on the <a> tag > and not on the <li> tag. > > Is this hard to fix? Or if this is not desired to fix this in core, can > anybody > point me to how I can fix it myself? I have not looked much at the lift > sourceode previously. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---