turn.js v0.11

This commit is contained in:
Emmanuel Garcia 2012-02-15 00:23:26 -05:00
parent 5bce01efca
commit e3bbd4e9a9

View File

@ -12,13 +12,7 @@ touch devices.
**CSS code:** **CSS code:**
<pre> <pre>
#magazine{
width:800px;
height:400px;
}
#magazine .turn-page{ #magazine .turn-page{
width:400px;
height:400px;
background-color:#ccc; background-color:#ccc;
} }
</pre> </pre>
@ -34,7 +28,7 @@ touch devices.
**JavaScript code:** **JavaScript code:**
<pre> <pre>
$('#magazine').turn({page: 1, shadows: true, acceleration: true}); $('#magazine').turn({width:800, height: 400, page: 1, shadows: true, acceleration: true});
</pre> </pre>
#### Requeriments #### Requeriments