More information on the issue.

My goal is to actually turn the 'vertical' menu stack into a more
horizontal menu which I can put at the top of the page.  An example
which illustrates what I am trying to emulate can be seen at
http://www.javascriptkit.com/script/script2/csstopmenu.shtml.  It has
the behavior I want with respect to the top level menu which has
submenus (i.e. the top level menu does not redirect, it only shows the
sub menu items).

Has anyone else tried to do this before?

Thanks in advance.


Dan

On Jan 30, 2:46 pm, Dano <[email protected]> wrote:
> I have an application with a menu which has too many items.  I would
> like to move some of the menu items into submenus.
>
> For example, let's say I have menu items called "Client Admin" and
> "Custom Content" at the top level and I want to put them under a new
> top level menu item called "Site Admin".  Using the example code from
> the lift sites sandbox as a guide, the code for this might look
> something like:
>
>  Menu(Loc("SiteAdmin", List("site_admin", "index"), "Site Admin",
> ifIsLoggedIn, ifIsSuperUser),
>          Menu(Loc("ClientAdmin", List("client_admin", "index"),
> "Client Mgt", ifIsLoggedIn, ifIsSuperUser)),
>          Menu(Loc("CustomContent", List("custom_content", "index"),
> "Custom Content", ifIsLoggedIn, ifIsSuperUser))
>          ))
>
> In the above example, the "Site Admin" menu takes you to a new page (/
> site_admin/index).  However, I really just want to stay on the current
> page and show the two sub-menu items.
>
> When I use the current page in the Loc() expression for SiteAdmin, I
> don't get the sub menu items when I click on "Site Admin".
>
> Does anyone have a suggestion on how to have the sub-menu items in the
> above example show when I click on "Site Admin" without requiring that
> the browser navigate to a new page?
>
> Many thanks in advance.
>
> Dano
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" 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/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to