Can you tweak and provide an example so that it can be used as popop
menus too?

On May 3, 8:48 am, Iceberg <[email protected]> wrote:
> Hello folks,
>
> There are intermittent discussion about cascading menu from time to time.
>        http://groups.google.com/group/web2py/msg/9a04650f84649641
> and recently:
>        
> http://groups.google.com/group/web2py/browse_frm/thread/cbe3556820e885bb
>
> In this mail I attach a cascade menu draft. It is just a prototype far from 
> being finished, because I am not good at css at all. I just try to define a 
> kind of higher level syntax and make it work. The syntax features include:
>
> * Each menu item can have a text label AND/OR an image icon.
> * Submenus are appeared in a recursive way.
>
> Volunteers are welcome to polish the work.
>
> The only four major files I modified or introduced in this app are as below.
>
> static/grcmenu.css      # It actually comes from here 
> (http://splike.com/projects/cssmenu.html)
>
> models/menu.py          # In final version, this would be adjusted into 
> modules/menu.py
>
> views/layout.html       # Only one line genMenu(...) is inserted
>
> controllers/default.py  # The main sample
>
> static/*.gif            # Optional
>
> Best regards,
>                             Iceberg, 2009-May-03, 21:22(PM), Sun
>
> ----------------------- Original Message -----------------------
> From:    mdipierro <[email protected]>
> To:      web2py Web Framework <[email protected]>
> Date:    Sun, 8 Mar 2009 11:06:02 -0700 (PDT)
> Subject: Re: What's the plan for supporting multi-level menus with  
> response.menu?
>
> -------------------
>
> > If somebody send me a patch to welcome to use a css only cascade menu,
> > I will probably take it.
> > I am not doing it myself because I am not a good designer and it would
> > take forever to look decent.
>
> > It has to work cross browser and I do not want to have < if IE > tags
> > in the default layout.
>
> > Massimo
>
> > On Mar 8, 11:51 am, mdipierro <[email protected]> wrote:
> > > What about a CSS only solution like:
>
> > >http://www.grc.com/menu2/invitro.htm
>
> > > Massimo
>
> > > On Mar 8, 11:33 am, Iceberg <[email protected]> wrote:
>
> > > > > > On Mar 8, 1:09 am, weheh <[email protected]> wrote:
>
> > > > > > I've read that this is possible with t2, but how about 1.57? I've
> > > > > > tried it with 1.57 and it doesn't seem to work. Any suggestions for
> > > > > > how to do nested multi-level menus with the current version?
>
> > > > On Mar8, 11:38pm, mdipierro <[email protected]> wrote:
>
> > > > > The problem is that we do not want to include too many JS libraries
> > > > > with the base distribution. Everybody has his/her own preferences when
> > > > > it comes to menus.
>
> > > > I would have agree with Massimo about "not to include too many this
> > > > and that in the base distribution". But, when talking about the menu,
> > > > I beg a reconsideration.
>
> > > > Because menu is such a basic need in almost every web application. I
> > > > still remember years ago when I just began to develop my first web app
> > > > based on another "lightweight" web framework, soon I had to pause the
> > > > app development and dived into many javascript, css things to make my
> > > > first menu system work. It was painful.
>
> > > > So you can understand I am so happy when I start to use web2py and
> > > > find out that it comes with a decent and easy menu system (although
> > > > not multi-level). I almost do not need to touch any javascript but I
> > > > can still finish more and more apps. I call this PRODUCTIVITY.
>
> > > > So I do suggest web2py to have a multi-level menu system (while
> > > > keeping the current response.menu definition for backward
> > > > compatibility). It can benefit most common developers, and the rest
>
>
>
>  web2py.app.menu.tar
> 233KViewDownload
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to