Automated navigation index within a page. Local Nav builds an in-page navigation index with smooth scrolling navigation and back to top options.
Local Nav is like an Autonav block, except it provides navigation within a long page. You specify a few parameters for how Local Nav picks out headings in a page. When the page loads, the Local Nav block will scan the page content and build an in-page navigation index of links within the page.
Smooth scrolling uses a browser scrolling API with a recommendation for smooth scrolling. The scroll rate and whether it is smooth or snap are up to the visitor's browser and any preferences they may have configured.
We have a simple and very limited example of Local Nav appending an in-page link to the sidebar of this page. For details and more examples, see Getting Started and Customization.
There are other examples of Local Nav in use throughout this site. After all, that is one of the reasons why Local Nav was created! Have a look at Omni Gallery - Simple Examples of Display Widgets.
On this page, Local Nav is used to add some links to the sidebar above. We have not configured any history or back to top options.