0
I created a numerical counting animation with Jquery and it’s working fine, but I wanted the count to start only when the page scroll reaches the place where the animation is automatically. I don’t know much about JS anymore my code is this one. Thank you.
$('.count').each(function () {
$(this).prop('Counter',0).animate({
Counter: $(this).text()
}, {
duration: 4000,
easing: 'swing',
step: function (now) {
$(this).text(Math.ceil(now));
}
});
});