Answer the question
In order to leave comments, you need to log in
How does touchswipe work?
Hello, please tell me why touchswipe does not work?
<script type="text/javascript" src="http://localhost/swipe/jquery.touchSwipe.min.js"></script>
<script>
$("#nav").swipe({
swipe:function(event, direction, distance, duration, fingerCount){
$(this).text("You swiped " + direction + " for " + distance + "px" );
},
nav:10
});
</script>
<ul id="nav">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question