Jump to content
Search Community

Problem with animation not triggering at all

weinde test
Moderator Tag

Recommended Posts

Hey,

 

I would like some help with my problem. I'm trying to create a percent counter animation that triggers when that section comes into view... I am for now getting  Cannot read properties of undefined (reading 'undefined') error.

 

What am I doing wrong?

See the Pen ExppaJa by Weindorfer (@Weindorfer) on CodePen

Link to comment
Share on other sites

 

Hello weinde,

 

you are calling a function without passing any of the parameters neccessary for that function's logic to be processed, that's why you get that error.

 

But also, nowhere does your code include anything related to GSAP, except for you registering the ScrollTrigger plugin.

 

These forums try to stay focussed on GSAP specififc questions. If you have any of those, we'll be happy to help, but we can not provide general JavaScript or in your case also jQuery consulting.

 

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...