[web2py] Re: Menu Selected option

2010-04-29 Thread DJ
Thanks Massimo. Yamandu, thanks for your tip. I am using the inbuilt MENU functions for now. -S On Apr 29, 8:30 am, yamandu wrote: > Well, in my app I am using accordion from jQuery plus a session var to > indicate active item and som jQuery code to do the thing in the > template. > It worked f

[web2py] Re: Menu Selected option

2010-04-29 Thread yamandu
Well, in my app I am using accordion from jQuery plus a session var to indicate active item and som jQuery code to do the thing in the template. It worked fine to my case. I tried to figure out the web2py way to do this thought better to do my way. Altough would be better do it simply. On 28 abr,

[web2py] Re: Menu Selected option

2010-04-28 Thread mdipierro
response.menu = [['name',request.function=='item',URL(r=request,f='item')]] the second boolean is the active status {{=MENU(response.menu)}} renders active with a class "li_active" you can use the css to highlight it. On Apr 28, 2:50 pm, DJ wrote: > Hi all, > > There has been some discussion