Method: zoom: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:


<pre class="javascript">
<pre class="javascript">
// Reduce the size of the flipbook in half
// Reduce the size in half of the flipbook
$("#flipbook").turn("zoom", 0.5, 0);
$("#flipbook").turn("zoom", 0.5, 0);
</pre>
</pre>
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Revision as of 01:30, 7 July 2012

Increases or decreases the size of the flipbook.

This method does not have properties

Example:

// Reduce the size  in half of the flipbook
$("#flipbook").turn("zoom", 0.5, 0);

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