That does it. Great! Was this in the book somewhere? Ian
On Monday, March 12, 2012 2:08:18 PM UTC-4, Martin.Mulone wrote: > > I think you can do: > > (T('my item'), True, A('My item', _href=URL('default', 'index'), _class = > 'my_item_class', id = 'my_item_id'), []), > > 2012/3/12 monotasker <scotti...@gmail.com> > >> I want each of my app menu items to have a distinct class to ease theming >> (I'm using background images to provide icons in place of text). It looks >> like the MENU helper doesn't allow _class arguments in the items in >> response.menu. So I can just modify the MENU helper, but am I missing some >> way of doing this in the existing api? >> >> I wonder, by the way, whether it would be a good idea to extend the MENU >> interface to allow passing _class and/or _id arguments like this: >> >> (T('my item'), True, URL('default', 'index'), [],* _class = >> 'my_item_class'*, *id = 'my_item_id'*), >> >> Ian >> > > > > -- > http://www.tecnodoc.com.ar > >