psy e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 years ago
..
.bower.json e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 years ago
Gruntfile.js e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 years ago
README.md e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 years ago
bower.json e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 years ago
jquery.scrollspy.js e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 years ago
jquery.scrollspy.min.js e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 years ago
package.json e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 years ago
scrollspy.js e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 years ago
scrollspy.min.js e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 years ago

README.md

ScrollSpy

bower

DevDependencies

Scrollspy library.

Installation

$ bower install scrollspy

Usage

<div id="js-scrollspy">
  <ul class="js-scrollspy-nav">
    <li><a href="#internal-link">internal-link</a></li>
    <li><a href="#...">...</a></li>
    <li><a href="#...">...</a></li>
    <li><a href="#...">...</a></li>
  </ul>
  ...
  <div>
    <div id="internal-content"></div>
    ...
  </div>
</div>
...
<script src="./bower_components/scrollspy.js"></script>
var spy = new ScrollSpy('#js-scrollspy', {
  nav: '.js-scrollspy-nav > li > a',
  className: 'is-inview'
});

License

MIT