Y
$(window).scroll(function () {
if ($(window).scrollTop() <= stop) {
$(window).off("scroll");
$('.count').each(function () {
$(this).prop('Counter',0).animate({
Counter: $(this).data('value')
}, {
duration: 3000,
easing: 'swing',
step: function (now) {
$(this).text(this.Counter.toFixed());
}
});
});
}
}); нужно чтобы не сразу после начала скрола счетчик запускался а после того как я проскролил например 50px/ Поможешь ?