Fork me on GitHub
< Back to widget demos

The demo illustrates how to use the Scrollable widget to create a dynamic menu that folds up/down as the page is scrolled. The content is setup in a way that the submenu slides behind the main menu and, once out of view, its contents become visible in the main menu bar. The solution does require calculating all the fixed positions of the menu items since they are not moved from their original parent. Read more about this demo.