<script type="text/javascript" src="slider/jquery.touch-gallery-1.0.0.js"></script>
<script type="text/javascript" src="slider/jquery.touch-gallery-1.0.0.min.js"></script>
<script>
$('body').live("click", function() {
for (var i=0; i<4; i++) {
alert("bla: "+i);
}
});
$('body').live("swipeleft", function(){
var nextpage = $("#page00002").next('section[data-role="page"]');
$.mobile.changePage(nextpage, 'slide');
});
$('body').live("swiperight", function(){
var prevpage = $("#page1").prev('section[data-role="page"]');
$.mobile.changePage(prevpage, 'slide');
});
</script>
Tell me more
×
Webmasters Stack Exchange is a question and answer site for
pro webmasters. It's 100% free, no registration required.
|
|
|||
|
|
closed as off topic by John Conde♦ Jun 22 '12 at 11:21
Questions on Webmasters Stack Exchange are expected to relate to webmastering within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.