Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Animated counter


Webswool

Question

Site URL: https://tyndallsustainability.com

Hey peeps.

Trying to achieve an animated counter to show the amount of greenhouse emissions offset by my client and it's driving me POTTY.

Have tried a couple of codes from the forum and Youtube but nothing is yet hitting the mark. The closest I've got was a code from @tuanphan but I wasn't able to to work out the delay, or how to get the suffix right so that the units sat next to the animated number.

Ideally, I'd like to be able to show 670,500 kg CO2e as an animated number count, with a delay - so the animation doesn't start until you scroll to it. I'd really appreciate some help 🙂  and I'm a little up against it...!

Ideally, it'll all be centre-aligned, as below but in white:

670,500 kg CO2e

greenhouse gas emissions analysed this year

Link to comment
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
Just now, Webswool said:

Site URL: https://tyndallsustainability.com

Hey peeps.

Trying to achieve an animated counter to show the amount of greenhouse emissions offset by my client and it's driving me POTTY.

Have tried a couple of codes from the forum and Youtube but nothing is yet hitting the mark. The closest I've got was a code from @tuanphan but I wasn't able to to work out the delay, or how to get the suffix right so that the units sat next to the animated number.

Ideally, I'd like to be able to show 670,500 kg CO2e as an animated number count, with a delay - so the animation doesn't start until you scroll to it. I'd really appreciate some help 🙂  and I'm a little up against it...!

Ideally, it'll all be centre-aligned, as below but in white:

670,500 kg CO2e

greenhouse gas emissions analysed this year

@IXStudio I know you've dabbled with this kind of thing before - if you have any advice I'd really appreciate the help! 🙂 

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...