Share Posted June 10, 2016 Hi, I am trying to make a counter. The namings might seem a bit weird but they are specific to another project that this is for. Basically, once it is in it's final place the activeIndex will be determined by a slider.js that i have running. Once the activeIndex == 1 or 2. it should set a number 49 or 70 that the count() function will count to. Any help would be great! Thanks, Phil See the Pen zBGLzy?editors=0011 by phillip_vale (@phillip_vale) on CodePen Link to comment Share on other sites More sharing options...
Share Posted June 10, 2016 Hi phillip_vale Your pen had some errors so I just made a new one for you. See the Pen QEyxLY by PointC (@PointC) on CodePen Hopefully that helps a little bit. Happy tweening. 4 Link to comment Share on other sites More sharing options...
Share Posted September 15, 2017 Hi would you make this work a $ sign, commas and decimal? For example make it animate from $0.00 (or another number) to $829,546.42? Link to comment Share on other sites More sharing options...
Share Posted September 15, 2017 HI @iammarkmulvey Here's a similar question where @Jonathan has dropped some top-notch knowledge. Happy tweening. 3 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now