-
☆ A M B ☆
- 24,524 Posts
That can be done in two ways. With Wayfinder, you can use the &hideSubMenus parameter. Or, you can use pure CSS with display:none and display:block like any other CSS list menu.
Thanks for the reply.
I was hoping that there was an existing Module, Plugin or Snippet that provides such a feature without the need for manually scripting it.
How were your expanding submenus (at sottwell.com) implemented?
-
☆ A M B ☆
- 24,524 Posts
That’s just the default minimal installation. The Wayfinder call:
[!Wayfinder? &startId=`0`!]
The relevant CSS:
#dropmenu ul ul { display:none; }
#dropmenu li.active ul { display:block; }
I could just as easily done it with the &hideSubMenus parameter in the Wayfinder snippet and skipped the CSS:
[!Wayfinder? &startId=`0` &hideSubMenus=`1`!]