Views
Actions

Method: size

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
 
Line 25: Line 25:
 
$("#flipbook").turn("size", 1000, 600);
 
$("#flipbook").turn("size", 1000, 600);
 
</pre>
 
</pre>
 +
 +
==See also==
 +
* [[Property: size|Property: size]]
 
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
 
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Latest revision as of 18:42, 6 July 2012

Sets the size of the flipbook.

Parameter Type Description Default Value
width Number The width of the flipbook You must specify this parameter
height Number The height of the flipbook You must specify this parameter

Example:

// Resize the flipbook to 1000x600 
$("#flipbook").turn("size", 1000, 600);

[edit] See also

Main Page > API > Turn Methods > Method: size