Closed Dandu-Venkata-Ravi-Varma closed 10 years ago
Perhaps scrolling on devices without touch-support can be done using something like:
function is_touch_device() { return !!('ontouchstart' in window); } if (!is_touch_device()) { //Use non-touch scrolling if device doesn't support it : https://github.com/feedhenry/blackberry-notouch-iscroll/blob/master/client/default/js/init.js console.log("No touch support"); $('.myScrollbarV').unbind().bind('click', function(e) { var offsetY = e.offsetY; var fullHeight = $('#thelist').height(); var scrollY = offsetY / $(this).height() * fullHeight; myScroll.scrollTo(0, -1 * scrollY, 100); }); }
https://github.com/feedhenry/blackberry-notouch-iscroll/
v4 or earlier is unsupported. Please check out v5 if you have this issue.
Perhaps scrolling on devices without touch-support can be done using something like:
https://github.com/feedhenry/blackberry-notouch-iscroll/