iBooks-like page flip in JavaScript and CSS?

16,921

Solution 1

Turn.js seems to be a good starting point. The code is up on GitHub.

Solution 2

This is the nearest i could find with single-page flip like iBooks but still very weird compared to iBooks.

http://www.jquery.info/spip.php?article78

http://www.jquery.info/scripts/jFlip/demo.html

By the way, i'm trying to achieve something just like you, almost like an 'iBooks clone'.

Here is some CSS3 animation, I'm studying it to try make something like (but without 2nd page).

http://romancortes.com/ficheros/page-flip.html

Share:
16,921
Akku
Author by

Akku

Developer, Manager, Researcher, Roleplayer

Updated on August 05, 2022

Comments

  • Akku
    Akku over 1 year

    Okay, I've googled all the way, hopefully someone here knows a place to point me to.

    I'm searching for a page flip animation for JavaScript that comes close to what Apple did with iBooks, for only one page flipping over to reveal only the next page.

    (EDIT: Maybe my description wasn't clear enough: I'm looking for a page flip effect that transitions one whole usual HTML website, for example imagine this stackoverflow page, to another one, for example the "Add Question" screen by applying a page flip effect, for example when "Ask Question" was clicked. I know this might be a hard-to-realize thing to do, as it involves having the data ready, showing one page, making the transition-effect and then showing the second page while the first page can be released from memory. Nevertheless, with all the HTML5, JS and CSS craze I hoped that someone had made such a transition-effect, and I hope that if there is one out there, someone here knows where to find it. Sadly I suck too much at JS and CSS to get it done myself.)

    Here's a nice CSS-only example (always shows two pages width):

    http://builtbywill.com/code/booklet/

    And here's another example (that sadly needs to display two pages after it was flipped):

    http://www.romancortes.com/ficheros/page-flip.html

    I would need that effect to only flip around one page and also just to show the second HTML page after it is flipped. Do you know a library or a ready to use script that does this? I definitely don't want Flash or Silverlight to be a part of the solution.

  • Akku
    Akku over 12 years
    If you get anything close to that, I would be very glad to hear from you again. I'll check this as correct answer, although I guess that there's nothing like what we search for so far.
  • RaphaelDDL
    RaphaelDDL over 12 years
    Thanks.I'm not a JS guru but i'll try what i can to make that flip. If i get anything close i'll let ya know.
  • RaphaelDDL
    RaphaelDDL about 12 years
    @Akku just an update, i've found something nice: html5rocks.com/en/tutorials/casestudies/20things_pageflip.ht‌​ml (demo: html5rocks.com/static/demos/20things_pageflip/example/… ).. It´s canvas but nice effect anyways.
  • Logesh Paul
    Logesh Paul almost 10 years
    @RaphaelDDL Thanks a lot for the links, I was looking exactly the same which you have posted.
  • pjay
    pjay almost 7 years
    Hi pascal, can we implement turn.js in wordpress, If yes please give some pointers