Update readme.md
Get the turn.js 4th release on turnjs.com
Added option autoCenter
autoCenter
Added option zoom
zoom
Added property animating
animating
Added property zoom
Added method center
center
Added method destroy
destroy
Added method is
is
Added method zoom
Added event missing
missing
Added event zooming
zooming
Added class .even
.even
Added class .fixed
.fixed
Added class .hard
.hard
Added class .odd
.odd
Added class .own-size
.own-size
Added class .sheet
.sheet
Added the ignore attribute
New turn.html4.js
New scissors.js
Changed the class .turn-page to .page
.turn-page
.page
Improved the animation frame generator with requestAnimationFrame
Improved the animation speed for hard pages with CSS3 transitions
Redesigned the event sequence to listen to only three events
Fixed issue #79
Fixed issue #91
Fixed issue about the event order turning + turned
Fixed issue about appending pages in wrong locations
Available only on turnjs.com
Turn.js is a plugin for jQuery that adds a beautiful transition similar to real pages in a book or magazine. It works in all modern browsers including touch devices.
New addPage for creating pages dynamically.
addPage
New display for single and double pages.
display
Gradients for non-webkit browsers.
CSS code:
#magazine{ width: 800px; height: 400px; } #magazine .turn-page{ background-color:#ccc; }
HTML code:
<div id="magazine"> <div><span class="text">Page 1</span></div> <div><span class="text">Page 2</span></div> <div><span class="text">Page 3</span></div> </div>
JavaScript code:
$('#magazine').turn({gradients: true, acceleration: true});
jQuery 1.7 or later
Released under a non-commercial BSD license
Full documentation
turnjs.com
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Get the turn.js 4th release on turnjs.com
What’s new in turn.js 4th release?
Added option
autoCenterAdded option
zoomAdded property
animatingAdded property
zoomAdded method
centerAdded method
destroyAdded method
isAdded method
zoomAdded event
missingAdded event
zoomingAdded class
.evenAdded class
.fixedAdded class
.hardAdded class
.oddAdded class
.own-sizeAdded class
.sheetAdded the ignore attribute
New turn.html4.js
New scissors.js
Changed the class
.turn-pageto.pageImproved the animation frame generator with requestAnimationFrame
Improved the animation speed for hard pages with CSS3 transitions
Redesigned the event sequence to listen to only three events
Fixed issue #79
Fixed issue #91
Fixed issue about the event order turning + turned
Fixed issue about appending pages in wrong locations
Available only on turnjs.com
turn.js 3rd release
Make a flip book with HTML5
Turn.js is a plugin for jQuery that adds a beautiful transition similar to real pages in a book or magazine. It works in all modern browsers including touch devices.
What’s new?
New
addPagefor creating pages dynamically.New
displayfor single and double pages.Gradients for non-webkit browsers.
Usage
CSS code:
HTML code:
JavaScript code:
Requirements
jQuery 1.7 or later
Browser support
License
Released under a non-commercial BSD license
Full documentation
turnjs.com