Main Page: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
Line 91: Line 91:
==Zoom Viewport==
==Zoom Viewport==


The first release of turn.js introduced a pretty simple way for adding new pages. In fact, the only thing you had to do was to add as many elements as pages you needed for your book or magazine.
To implement the new zoom function, a new component is available since turn.js 4.0.2 to define the viewport of the pages when zoomed in.


:{| class="simple" width="600"
:{| class="simple" width="600"

Revision as of 20:35, 8 July 2012

The first release of turn.js introduced a pretty simple way for adding new pages. In fact, the only thing you had to do was to add as many elements as pages you needed for your book or magazine. Quickly, this scheme brought up a problem in cases where the book contained a large amount of pages.

$("#flipbook").turn();


Turn

Turn is the built-in jQuery plugin that comes with the turn.js development kit, which allows you to create flipbooks. These are the options, properties, events and CSS classes available in turn.js 4.0.6 release.

Options Properties Methods Events CSS Classes


Zoom Viewport

To implement the new zoom function, a new component is available since turn.js 4.0.2 to define the viewport of the pages when zoomed in.

Options Properties Methods Events



Scissors

The first release of turn.js introduced a pretty simple way for adding new pages. In fact, the only thing you had to do was to add as many elements as pages you needed for your book or magazine.