>
> I think you can do:
>
> (T('my item'), True, A('My item', _href=URL('default', 'index'), _class =
> 'my_item_class', id = 'my_item_id'), []),
>
Yes, in fact, the third item in the tuple can be any HTML helper (which
could include nested helpers), and the MENU helper will simply render that
helper rather than creating its own <a> tag.
An alternative is to use a SPAN for the first item in the tuple and add the
class to the span:
(SPAN(T('my item'), _class='my_item_class'), True, URL('default', 'index'))
Again, that first item can be any HTML helper.
I don't think any of this is documented in the book.
Anthony