<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">