TechJ86

Q: image swipe on iBooks without the use of iBooks Author

Im working on an e-book using calibre and dreamW. It contains lots of pictures. What i want to do is tap on one picture, make it pop at you (make it larger, just like it does when you tap on an image) but then from that be able to swipe to the next image, swipe back and so on. I manage to use JavaScript and make it happen in html, but not in xhtml...

So i would really like to know before going any further, Is this action possible for iBooks without the use of ibooks Author?? in other words: Does iBooks allow the swiping gesture to see images within the normal swiping of the page

Any thoughts, ideas? thanks!

iPad, iOS 6

Posted on Sep 24, 2012 11:57 AM

Close

Q: image swipe on iBooks without the use of iBooks Author

  • All replies
  • Helpful answers

  • by gadgetmax,

    gadgetmax gadgetmax Sep 24, 2012 5:22 PM in response to TechJ86
    Level 1 (5 points)
    Sep 24, 2012 5:22 PM in response to TechJ86

    If you're looking to trap the swipe gesture and take some custom action with it, yes, it's easily doable within a hand-coded ePub and iBooks. We do it in our books to suppress the normal page turn response on certain controls. Trap the move event, act on it, and preventdefault.