Menu without reloading the page with Kirby

Hi,

I am asking myself if Kirby has some helpful features for my plans.

I would like to create a Menu where you can click on the options and the page goes further like a directory. This should happen without a page reload. (Screenshots attached)
I think I saw something like this built with Kirby but I can’t find it anymore…

If you have any tips or references, feel free to let me know!
Thank you!

This is really a front end issue. You could use something link slinky and adapt the CSS to the style you are after.

https://slinky.js.org/

Personally id rather do it without the jQuery dependency, but im aware of anything similar using just Vanilla JS.

The Menu cookbook should give you some ideas on how to do the PHP loop to generate the HTML

1 Like

Hi,

maybe this little demo is helpfull.
No javascript. CSS only.

1 Like

Thank you both! :slight_smile: