I am using:
> {{menu=MENU(response.menu)}}
> {{menu.ul_class_0 = 'web2py-menu web2py-menu-horizonal'}}
> {{=menu}}

with this in menu.db:
response.menu = [
    ['Index', False,
     URL(request.application,'default','index')],
     ['another', False,
     URL(request.application,'default','another')],
    ]

how do I get the menu tabs (Index,another etc) to line up horizontally
on page, (at moment they show vertically)
do I need to use css to do this or is there easier way of doing this?
thanks
chrism

On May 20, 5:37 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> I am going to change this. This was new in version 1.62 and not really
> well thought. In trunk now you can do
>
> {{=MENU(response.menu,_class='web2py-menu web2py-menu-horizontal'}}
>
> and this more in line with the syntax of other helpers. The syntax in
> the previous example is gone.
>
> massimo
>
> On May 19, 4:55 pm, Tim Michelsen <timmichel...@gmx-topmail.de> wrote:
>
>
>
> > > {{menu=MENU(response.menu)}}
> > > {{menu.ul_class_0 = 'web2py-menu web2py-menu-horizonal'}}
> > > {{=menu}}
>
> > Thanks.
> > I though I had to define the class in the controller.
> > This is really cool.
> > Thanks for that.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to