A menu item can be specified like this:
('Label', False, dict(_href=URL(...), _target='blank'))
or this:
('', False, A('Label', _href=URL(...), _target='blank'))
Note, in the second case, the third element can be any HTML helper object
(including nested helpers).
Anthony
On Sunday, April 14, 2013 6:09:56 PM UTC-4, BlueShadow wrote:
>
> Hi,
> I like to be able to set some link attributes in my response menu:
> I want some links to open in a new tab: target="blank"
> and I would love to set some alt atributes for the links in the response
> menu.
> Is that even possible?
> thanks
>
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.