Need help with scroll velocity
Hi,
We have a requirement for implementing scroll (like numbers 1 to 100) in Mobiles more over like slideshow. Numbers 1 to 100 will be displayed like a slideshow(at anytime only 3 numbers visible); I used Jquery to handle the slideshow feature without any external plugins. I used Jquery Mobile to capture swipe events.
Every time user swipe left ot right I am changing the position of the numbers slide(div) left position to width of the number div. The QA raised issue like basing on the velocity of swipe by thumb the numbers should be moved if fast for more numbers if some then to less numbers. I dont know how to move forward on this I googled and tried some velocity an displacement calculations samples but issue is like the scroll is not smooth and QA has requirement to to stop the moving of the scroll if number they wanted is been seen before scroll stops. Seems like they want default html scrollbar(displays when more content and css proeprty overflow:scroll) when they swipe on the slideshow of the numbers
Any ideas??