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 <mdipie...@cs.depaul.edu>
To: web2py Web Framework <web...@googlegroups.com>
Date: Sun, 8 Mar 2009 11:06:02 -0700 (PDT)
Subject: Re: What's the plan for supporting multi-level menus with response.menu?
-------------------