Possible Duplicate:
Can I declare logic on jQuery for the start and end of a scrolling event?
Tried this :
$(window).scroll(function() {
console.log("ciao");
});
but the function is invoked during the scrolling. I want to print "ciao" only when I start scrolling. Than not. Well, after block the scroll, when I restart, print again "ciao", and so on.
Is it possible invoke a function only when I Start the scroll?