Re: [web2py] Re: li_class on Menu doesn't work

2013-10-11 Thread Diogo Munaro
Ok, thx... li_first and li_last confused me. I think I could put mid li classes on server side like li_first and li_last do. Thx for explanation Em 11/10/2013 20:00, "Massimo Di Pierro" escreveu: > But why do you need it? You can refer to elements using > > jQuery('.catalogo_topo_menu li') and y

Re: [web2py] Re: li_class on Menu doesn't work

2013-10-11 Thread Massimo Di Pierro
But why do you need it? You can refer to elements using jQuery('.catalogo_topo_menu li') and you can use the jQuery addClass method to do it client side. Massimo On Friday, 11 October 2013 17:19:09 UTC-5, Diogo Munaro wrote: > > Thx Massimo, but how could I make it? > > It's working with first

Re: [web2py] Re: li_class on Menu doesn't work

2013-10-11 Thread Diogo Munaro
Thx Massimo, but how could I make it? It's working with first and last. How could I insert for mid elements? 2013/10/11 Massimo Di Pierro > li_class is only used for list items which contain sub-menus. It is not > for mid elements. > I do not think anything has changed there. Do you think it

[web2py] Re: li_class on Menu doesn't work

2013-10-11 Thread Massimo Di Pierro
li_class is only used for list items which contain sub-menus. It is not for mid elements. I do not think anything has changed there. Do you think it has? Massimo On Thursday, 10 October 2013 09:08:42 UTC-5, Diogo Munaro wrote: > > Hey guys, I have a menu with 3 elements. > > When I try it: > >

[web2py] Re: li_class on Menu doesn't work

2013-10-11 Thread Diogo Munaro
Nobody knows? Em quinta-feira, 10 de outubro de 2013 11h08min42s UTC-3, Diogo Munaro escreveu: > > Hey guys, I have a menu with 3 elements. > > When I try it: > > {{=MENU(response.contextmenu,_ > > class="catalogo_topo_menu",li_class='textcenter',li_first="textcenter",li_last="textcenter")}} > >