Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Claushingebjerg 936 posts 2571 karma points
    Sep 11, 2015 @ 06:27
    Claushingebjerg
    0

    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?

  • Nik 1593 posts 7151 karma points MVP 6x c-trib
    Sep 11, 2015 @ 07:53
    Nik
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft