Is it possible to use wayfinder in a way to create submenu's with memory?
Example:
- Startpage 1
-subpage 1
-subpage 2
Then if subpage 2 is clicked the page tree should remain and the subpage 2 link should be highlighted. Is this possible from within one template and with one wayfinder call?
I want to create a template with this menu/submenu structure and use it on many different pages, but i can't seem to grasp how I should set this up, if at all possible.
Thanks in advance!
Indeed, I wil get all the menus, but also all menu's that I don't want to show because there are multiple rootpages
For example:
rootpage1
rootpage2
--subpage1
--subpage2
---subsubpage1
---subsubpage2
rootpage3
When i'm at subsubpage2 i get all rootpages with all submenu's etc. A very long list.
I just want to show:
rootpage2
--subpage1
---subsubpage1
---subsubpage2
--subpage2
--subpage3
I have an example attached...sorry if i'm making it more difficult than i should be...
Why not trying to play with the css and show the active submenus with .highlight and use display: none; or visibility: hidden; for the rest of the inactive submenus.
peace&love / bike&ride