@Yarko:
Sorry that I don't quite get your point about the "onmouseover" and
the "The default behavior can be set in the css". Currently what I did
is supposed to be a pure css menu, based on the "grc menu" suggested
by Massimo here:
  http://groups.google.com/group/web2py/msg/9a04650f84649641

The "grc menu" is already a feasible pure css pop-up menu. (To
Massimo: Perhaps the content in main body of my example app is too
little to demonstrate the pop-up effect, but yes, it is already a pop-
up menu system.)

But I have to admit that I know too little about css, that I failed to
show "grc menu" at the upper-right conner in our layout.html.
Otherwise it can fully replace the current response.menu .

Css experts in this maillist, please please take over the menu
prototype and make it work...

On May4, 2:37am, Yarko Tymciurak <[email protected]> wrote:
> Hi Iceberg -
>
> Thanks for this effort.
>
> I just looked, and I would like to see the "onmouseover" removed - this is
> something that should not be in the layout, but generated by the
> applicaiton.  The default behavior can be set in the css;  have a look at
> the source tohttp://meyerweb.com/eric/css/edge/menus/demo.htmlfor how that
> can be accomplished.
>
> You can also see how he's accomplished a relative submenu thru pure CSS
> there too (so the function perhaps doesn't need to exist to generate the
> menus).
>
> You can see example of showing (and positioning) images w.r.t. menus 
> inhttp://meyerweb.com/eric/css/edge/popups/demo2.html
>
> I think that the menus / layout we want to achieve would  push it all into
> css, so that it would be easily modified by the application at runtime, and
> involve minimum code to "setup".
>
> I don't know CSS any either, but just got a few books and have been reading
> nights, so I am starting to get some concrete ideas on this.
>
> Hope you find the code in these links helpful.
>
> Regards,
> Yarko
>
> On Sun, May 3, 2009 at 5:14 AM, Iceberg <[email protected]> wrote:
> > Hi 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
>
> > Sincerely,
> >             Iceberg, 2009-May-03, 18:00(PM), Sun
--~--~---------~--~----~------------~-------~--~----~
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