Answers for "scroll event counting using javascript stackoverflow"

0

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));
  });
}
Posted by: Guest on April-22-2021

Code answers related to "scroll event counting using javascript stackoverflow"

Code answers related to "Javascript"

Browse Popular Code Answers by Language