A small, dependency free JavaScript plugin for auto generating and tracking single page navigation (aka a Table of Contents)
Features
-
Simple setup
Pass your page’s content to scrollnav and it will generate the navigation and track scrolling automatically.
-
Fully customizable
All the styling is up to you, make scrollnav look and behave however works best for your project.
-
Lightning fast
Damn right it's fast! At 2.4kb and zero dependencies scrollnav is pretty unintrusive.
Contribute
scrollnav.js depends on the contributions of the Open Source Community, both directly to the codebase and monetarily. If you’re interested in supporting this project, please consider lending a hand or making a donation.