Jump to content
Search Community

Simple Scrollspy Example

jonimius test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

Hey there - I'm a bit confused on how to target the proper elements in order to achieve a scrollspy effect. I've got it working so the content being spied on is activating the "active" state but I need that "active" state to be set on the header items, not the main content. Any help would be appreciated!

See the Pen YzMyLeJ by PhilippeGauthier (@PhilippeGauthier) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...