How to remove the event listeners?

Sep 10, 2012 at 5:11 AM

Great plugin! Very smooth and easy to us…

I have this site with a slideshow where I use the swipe left/right to go between images, but there's also a zoom feature and once the bigger zoomed in image shows up on top of the slideshow, the swipe events from the slides under the zoomed in image are still being triggered.

How can I turn them off?


Nov 20, 2012 at 2:57 PM

I've been wondering the same thing, but I don't think it's possible. So I have created a version (based on 1.2.0) which allows this.

Also fixed tapToClick as I'm pretty sure that was always treated as being enabled even if set to false.

I'm not using Mercurial so not going to fork, instead here's a pastie...

Just use the following on the same element(s) you've already added wipetouch functionality to: