You can use the TouchSwipe jQuery plugin, it is the simplest plugin when jquery was running.
https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
$(function() { $(".carousel-inner").swipe({ allowPageScroll:"auto", swipe:function(event, direction, distance, duration, fingerCount, fingerData) { if(direction == 'left'){ $(this).parent().carousel('prev'); } else if(direction == 'right') { $(this).parent().carousel('next'); } } }); });
Aslam anver
source share