JQuery when stop scrolling event function

Автор: Administrator.

$(window).scroll(function() {
 clearTimeout($.data(this, 'scrollTimer'));
 $.data(this, 'scrollTimer', setTimeout(function() {
 myFunc()
 }, 40));
});


Built with HTML5 and CSS3 | Copyright © 2012 - 2015 Зарембо Александр