iosscripts / iosslider

iosslider is a jQuery plugin which allows you to integrate a customizable, cross-browser content slider into your web presence. Designed for use as a content slider, website banner, or image gallery.
http://iosscripts.com/iosslider
432 stars 103 forks source link

Option mobileTapDrag #311

Closed dominic-ng closed 10 years ago

dominic-ng commented 10 years ago

I'm using iosslider as product image gallery. For some reason, I want to have mobileTapDrag:false option as desktopClickDrag:false option in order to disable slide on mobile. This is because when use iosslider with cloudzoom, user can not drag the zoom area for zooming. Test without iosslider, drag for zoom still work well.

marcwhitbread commented 10 years ago

I won't be adding this to the plugin as it is a mobile/touch first and foremost product. But following slider initialization, you could unbind the touch events on the slider in your own JS though:

$('.iosSlider').unbind('touchstart.iosSliderEvent touchmove.iosSliderEvent');

That would effectively remove touch capabilities.