Hi.
Don't know how does your code for the menu look like, but I'll assume you're
using the built-in function MENU.
So if you have something like this:
{{=MENU(response.menu, _class = 'web2py-menu web2py-menu-vertical')}}
just change the vertical to horizontal, like:
{{=MENU(response.menu, _class = 'web2py-menu web2py-menu-horizontal')}}
The scaffolding css contains the definition for web2py-menu-horizontal if you
changed one in your application.
This will make the "main" menu horizontal, but the submenus will still
dropdown vertically.
Hope this helps.
regards
mmlado
On Sunday 30 August 2009 15:52:51 Yannick wrote:
> Hello mate,
> I have a quick question.... Does anyone please knows how to use the
> menu-helper to create an Horizontal menu ? I can't find it in the
> previous threads of this group.... I can do the vertical menu but not
> horizontal...
>
> Thanks in advance for your help...
>
>
> Cheers,
> Yannick P.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" 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
-~----------~----~----~----~------~----~------~--~---