Search code examples
ipadtouchjquery-toolsscrollable

jQuery tools scrollable touch trigger


I am working with a touch based slideshow for the iPad using Jquery tools scrollable

http://jquerytools.org/demos/scrollable/vertical.html

It works great and does everything I want, but if my finger is ANYWHERE on the slider and moves every so slightly it triggers the slider to change sliders, is there a way I can change how much you need to drag your finger to change slide, or set specific areas where you can swipe to change slide?


Solution

  • You disable touch events on the "constructor" for the object, like this:

                root = $('#content').scrollable({
                    keyboard:false,
                    mousewheel: false,
                    touch: false
                });