-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jQuery-Waterwheel-Carousel: How to add touch events features for ipad support #8
Comments
Which touch events? The click events for moving the carousel to a different item are already supported. How would a touch event be useful here? To slide your finger and have the carousel move? |
Yes, i think he speak about a drag event. |
yes, in latest version can I get carousel move with slide ? |
I am trying to figure this out too so it will be more useable on mobile devices. |
I also faced with this problem. The solution I found is binding carousel api functions with jquery swipe events: <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<!-- we need juery.mobile for swipe events. You can replace jquery version with yours. -->
<script type="text/javascript">
$(document).ready(function() {
var carousel = $("#carousel").waterwheelCarousel(/* your options here*/);
$("#carousel").on("swipeleft",function(){
carousel.next();
});
$("#carousel").on("swiperight",function(){
carousel.prev();
});
});
</script> Where |
Can you explain more please? I don't get it :D |
Any body please i want to add touch events features for ipad support.
The text was updated successfully, but these errors were encountered: