Jump to content


Add class to Anchor Link active div

Recommended Posts

How i can add custom class to the anchor link based on scrolltrigger? I use toggleclass but it add custom class in all anchor. I only want add class based on id from anchor connected with scrolltrigger.

See the Pen bGexQpq by GreenSock (@GreenSock) 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.