There is no need to edit the CSS
instead of
{{=MENU(response.menu)}}
{{menu=MENU(response.menu)}}
{{menu.ul_class_0 = 'web2py-menu web2py-menu-horizonal'}}
{{=menu}}
On May 19, 10:34 am, Timmie <[email protected]> wrote:
> Hello,
> I need some more assistance or documentation.> look into the new welcome app.
> There are three menus defined in models/
> > menu.py They are used in views/layout.html. The CSS is from public
> > domain but there is a link to an article about it in static/base.css
>
> * How I get a horizontal instead of the default vertical menu?
> * How do I make use of the "active" parameter (False|True)
>
> response.menu = [
> ['Index', False,
> URL(request.application,'default','index'), []],
> ]
>
> ### extract from the base.css
> ul.web2py-menu-horizontal li
> {
> float: left;
> width: auto;
>
> }
>
> ul.web2py-menu-hRight li
> {
> float: right;}
>
> ###
>
> Thanks in advance,
> Timmie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---