1 2 3 4 5 6 7 8 9
$(window).on("swipeleft", function() { parent.next_page(); }); $(window).on("swiperight", function() { parent.prev_page(); });