Thanks Massimo.

Yamandu, thanks for your tip. I am using the inbuilt MENU functions
for now.

-S

On Apr 29, 8:30 am, yamandu <yamandu.co...@gmail.com> 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 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, 16:50, DJ <sebastianjaya...@gmail.com> wrote:
>
> > Hi all,
>
> > There has been some discussion on this previously and I believe
> > Massimo has included a menu-selected option in MENU.
>
> > What's the best way to display a menu with the current item selected?
>
> > Default code example:
>
> >             {{if response.menu:}}
> >             {{=MENU(response.menu, _class = 'web2py-menu web2py-menu-
> > horizontal')}}
> >             {{pass}}
>
> > Thanks for your help!
>
> > -Sebastian

Reply via email to