what would be the best way to specify a background color (different for
each menu item, depending on some database-driven data) when I build the
menu with menu.append(...) in menu.py?
I would love to have something like this:
menu.append([description, False,
URL('catalog','regimen',args=[id]),[]],_style='background-color:red;')
but of course, this doesn't work this way -
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/bbc8c801-a94e-4ce2-acb7-c3ba493278a9%40googlegroups.com.