Method: size

From Turn.js Documentation
Revision as of 01:42, 7 July 2012 by Emmanuel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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);

See also

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