On Wednesday, March 7, 2018 at 12:39:42 AM UTC-5, 黄祥 wrote: > > agree, so what is the best way to make a menu in web2py that can contain a > href with it's attribute like accesskey and title? >
Here's the code currently used in the layout to generate the menu from response.menu: https://github.com/web2py/web2py/blob/f6d2f8a2a14bd8931fb571c9795d55fed1f4fe0d/applications/welcome/views/layout.html#L45 If you want to specify something other than just the href and the text of the menu item, you'll need to edit that code accordingly. Anthony -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

