Method: pages: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
(Created page with "<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>")
 
No edit summary
Line 1: Line 1:
Sets the number of pages.  If the number of pages is less than the current one, the additional pages will be removed from the flipbook.
Example:
<pre class="javascript">
$("#flipbook").turn("pages", 5);
</pre>
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Revision as of 16:38, 6 July 2012

Sets the number of pages. If the number of pages is less than the current one, the additional pages will be removed from the flipbook.


Example:

$("#flipbook").turn("pages", 5);

<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>