Views
Actions

How to add zoom to turn.js

From Turn.js Documentation
Revision as of 16:00, 6 August 2012 by Emmanuel (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To use the new zoom feature of turn.js you need to insert the flipbook in a zoom viewport.

Zoom-viewport.jpg

HTML

<div id="zoom-viewport">
   <div id="flipbook">
       <div>Page 1</div>
       <div>Page 2</div>
       <div>Page 3</div>
       <div>Page 4</div>
       <div>Page 5</div>
       <div>Page 6</div>
   </div>
</div>