Presently this is working with the swipe on the iPad.
- $(document).bind("zoom.swipeleft", function (e) {
- $("#mybook").turn('next');
- });
- $(document).bind("zoom.swiperight", function (e) {
- $("#mybook").turn('previous');
- });
my second code is not working right.
- $("#nextPg").click(function (e) {
- e.turn($("#mybook").turn('next'));
- });
- $("#prvPg").click(function (e) {
- $("#mybook").turn('previous');
- });
turns pages like this on next > 1,2,4,6,8
but on the previous < 6,5,4,3,2,1 works perfectly.
Can I bind document.bind(to my "#nextPg" from div to get the same effect as the swipe code.)