Version 0.2 (Jan 2010)
This is an open source pure CSS and Javascript 3D Page Flipping framework (which requires jQuery)
It converts this:
<ol id="foo">
<li>Page 1</li>
<li>Page 2</li>
<li>Page 3</li>
</ol>
Into a page flippable layout using pure CSS3 animations. Currently works in Safari and iPhone.
Example in action: http://jamesyu.org/css_page_flip/examples/example.html
Download the source here: http://jamesyu.org/css_page_flip/lib/css_page_flip.js
Simply include all source files under lib, and (for the example above) call:
CSSPageFlip.init('foo');
You can apply your own styles to each page by targeting “ol li .page”. CSSPageFlip
will set the size of the flipping UI to fill the space in the containing element.
See the examples directory for more usage details.
- AJAX fetching for more pages
- Better animations
- Optional controls, zooming, and other goodness