Bootstrap Tutorial - ScrollSpy Example








Method

  1. Add ScrollSpy via Data Attributes
  2. Create Scrollspy Current Position
  3. Handle scrollspy scroll events
  4. Remove section from ScrollSpy
  5. Scroll
  6. Scrollspy on left navigation bar
  7. Scroll down by clicking navbar button
  8. Set scrollspy for left bar