Hello David, 

I am using 0.9 it looks like. But I can upgrade to 0.10-SNAPSHOT tonight and
check out this change. The only thing I have done in the project is to try to
adapt the default template so it is no hassle. 

Thanks for the response. I belive it will solve my problem :)

regards, 
Bjarte


David Pollak:
> 
> 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. 
> >
> >   
> 
> 
> > 
> 

-- 
With kind regards  / Med vennlig hilsen,
Bjarte Stien Karlsen (GPG: 0x626B2F3A)
To find out the limits of the possible you have to go beyond them into the
impossible.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to