scrollnav works by scanning a block of content for section landmarks (typically heading elements) and generating a list of links from those landmarks. It then tracks the scroll location of the document and highlights the appropriate link. While previous versions injected wrappers within the content, the current version (ver 3) takes a much lighter approach, only changing the DOM as necessary.
To keep scrollnav small, default support starts with ES6 compatible browsers. To support ES5 compatible browsers you must provide your own polyfills or rely on a third party library like pollyfills.io. I personally use the following polyfill.io feature parameters to support scrollnav in IE 10 & 11.
To add your own polyfills you will need to build the project from source.
Building from source assumes an intermediate level of knowledge about build tooling. If you have trouble compiling the plugin on your own please use the provided compiled files or seek help from Stack Overflow
v3.0.1 is the current stable release. For detailed changes in each release please refer to the release notes. Be sure you understand the changes before updating, v3 is a complete re-write of the library and requires a small amount of manual work to udpate from v2.
scrollnav is Copyright © 2012-2018 by James Wilson (aka @jimmynotjim), released under the MIT license. This means you can re-create, edit or share the plugin as long as you maintain the same open licensing.