Im building a onepage design website using the v7 grid.
I need to have a navigation at the top of the page. When clicking a menu item the page scrolls/jumps to the div id on the page.
Has any of you guys found a samrt way to generate id's from the grid "rows" and parse these to another partial containing the nav?
One way would be to let the editor define an id on each row, and then let them "manually" build the nav using the same id's. But thats not exactly good UX...
You could use something such as leblender to create a custom grid editor. This could simply be "heading" tag that when renders into the grid it also sets a hidden marker for navigation.
Then when the grid renders using javascript (or similar) make your page behave as expected for the end user.
navigating onepage design using the grid
Im building a onepage design website using the v7 grid. I need to have a navigation at the top of the page. When clicking a menu item the page scrolls/jumps to the div id on the page.
Has any of you guys found a samrt way to generate id's from the grid "rows" and parse these to another partial containing the nav?
One way would be to let the editor define an id on each row, and then let them "manually" build the nav using the same id's. But thats not exactly good UX...
Any ideas?
You could use something such as leblender to create a custom grid editor. This could simply be "heading" tag that when renders into the grid it also sets a hidden marker for navigation.
Then when the grid renders using javascript (or similar) make your page behave as expected for the end user.
is working on a reply...