diff --git a/readme.md b/readme.md index 69fa21b..2ce1883 100755 --- a/readme.md +++ b/readme.md @@ -1,9 +1,10 @@ -turn.js 4th release -========= -Get the new turn.js on [turnjs.com](http://www.turnjs.com/) + -### What's new? +**Get the turn.js 4th release on [turnjs.com](http://www.turnjs.com/)** + + +### What's new in turn.js 4th release? - Added option `autoCenter` @@ -81,7 +82,7 @@ Turn.js is a plugin for jQuery that adds a beautiful transition similar to real #### Usage **CSS code:** -
+```css #magazine{ width: 800px; height: 400px; @@ -89,21 +90,21 @@ Turn.js is a plugin for jQuery that adds a beautiful transition similar to real #magazine .turn-page{ background-color:#ccc; } -+``` **HTML code:** -
-<div id='magazine'> - <div> Page 1 </div> - <div> Page 2 </div> - <div> Page 3 </div> -</div> -+```html +
+```javascript $('#magazine').turn({gradients: true, acceleration: true}); -+``` #### Requirements