scroll event counting using javascript stackoverflow code example
Example: scroll event counting using javascript stackoverflow
$(window).scroll(function (event) {
var scroll = $(window).scrollTop();
if(scroll == 0)
setTimeout(function(){reInitCount();},500);
});
function reInitCount(){
$(".stat-count").each(function() {
$(this).html('0');
count($(this));
});
}