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: > > {{=MENU(response.contextmenu,_ > > class="catalogo_topo_menu",li_class='textcenter',li_first="textcenter",li_last="textcenter")}} > > only li_first and li_last work... The first and last items ares filled > with the class, but the middle item doesn't get a class. > > What's happening? > > My result: > > <li class="textcenter"> … </li> > <li> … </li> > <li class="textcenter"> … </li> > > Using: > 2.7.2-stable+timestamp.2013.10.07.13.52.24 > (Running on Apache/2.2.22 (Ubuntu), Python 2.7.4) > > By now, the workaround is using the ul item to set li classes, but I'll > can't do it in the future > > Thx for help > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.