I need to detect when a user has stopped scrolling only in the Scrollbar.
There is this site: http://beoplay.com/Products/BeoplayA9, that is already doing what I need.
I need to readjust page position if user has scrolled (with the scroll bar) and left the scroll between two pages. Notice that in the example website the page position is only readjusted at the 'drop' of the scroll bar.
This question has been asked many times, but not this way, I've already seen this plugin by James Padolsey, but it doesn't work as the example website.
I have some code already in a jsfiddle: http://jsfiddle.net/promatik/7rkGV/
The handling of the mouse wheel is done, but now I can't figure out how to handle the scroll bar move to know when it was dropped.
Maybe there is a away to differentiate the event from a wheel scroll and a scroll bar scroll.
$(window).on('scroll', function (event) {
console.log(event);
});
Does anyone know how to replicate the effect in the example?