I can find numerous examples of how to build CSS menus with Wayfinder. But all the examples show as many links at the top level as there are menu items at the top level.
I am looking for a nice CSS-driven flyover or drop-down menu that starts with a SINGLE link entitled "Menu".
When the mouse pointer hovers over this link, it will then open up to reveal multiple top-level menu links. And from then on, additional menu levels will open up under the mouse pointer.
The idea is to keep the menu unobtrusive and out of the way until the user needs it.
Any suggestions/examples would be great.
Rahul
-
MODX Staff
- 12,272 Posts
If you can find a working example that you have the author’s permission to duplicate, creating the menu templates is pretty painless.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
☆ A M B ☆
- 24,524 Posts
So make a folder in the top level and move all your other folders into it. Now, &startId=`0` will only show the one item. I think you could even make that top-level container document be a weblink linking to your home page, so if it gets clicked on it will just go to the home page, which of course will still only display the one link to begin with.
The Document Tree structure is purely a virtual structure, its sole purpose is to give a means for listing (ditto) and menu (wayfinder) snippets to organize the documents. So don’t be afraid to fiddle with the arrangement, until it suits your needs.