Page flipping using javascript and CSS3 in webkit.
JavaScript
Latest commit 814d1a3 Jan 25, 2010 James Yu haven't gotten the hang of textile yet

README.textile

CSS Page Flip: a CSS and JS 3D Page Flipper

Version 0.2 (Jan 2010)

This is an open source pure CSS and Javascript 3D Page Flipping framework (which requires jQuery)

What does this do?

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

Usage

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.

TODO

  • AJAX fetching for more pages
  • Better animations
  • Optional controls, zooming, and other goodness