Hi,
first of all I advice you to browse the web and find a website with similar feature or find the needed js script or css.
Or else if you’re skilled enough produce your own.
Once you’ve got this sample as a raw html file with the needed components, try to produce the same using the wayfinder snippet which allows a high degree of customisation.
:-)
Doable. And I love the artwork.
Simple solution? Use Wayfinder twice - once without subfolder items to do the folders, and then again for just the folder you’re on. (Which can be done with a call from the root and the right stuff).
Put the home page at the root, but have it set to not shown on menu. Possibly, use a different template on the home page that doesn’t have the second Wayfinder call.
More complicated solution? Use Wayfinder once, with CSS positioning to get the folder items in the right place.
For the topmenu:
[[
Wayfinder? &startId=`0` &level=`1`]]
For the side menu:
[!Wayfinder? &startId=`[[
UltimateParent]]`!]
And in each of the top folder documents, use [[
FirstChildRedirect]] to make it go to the first subdocument of that folder.
Then style with css:
Layout,
sidemenu and
topmenu. (more
menu style examples and
layouts)
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
No, docid parameter is:
* &docid=`12`
* Use the docid parameter to have this snippet redirect to the
* first child document of the specified document.
To get the snippet working, you would simply place [[FirstChildRedirect]] to the "Site Folder 2" document in your drawing and when users click the Site Folder 2 link at top menu, they will be automatically redirected to the first document in that folder, which in your drawing wold be "various", if those sidemenu lines would be thought as menu items..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."