What I want: - I want to detect when a user is scrolling the page. Not once, but every single time. - When user stopped scrolling, something must happen.
What I DONT want: detect when the page is scrolled to a certain point(so no waypoints.js).
A solution that I've tried at first:
$(window).scroll(function() {
console.log("page scrolled");
});
Problem is, he fires the console.log way too many times. So maybe I need some sort of delay, but I don't know how to fix that properly.
Hope someone of you can help!