blasten / turn.js

The page flip effect for HTML5
www.turnjs.com
Other
7.23k stars 2.48k forks source link

Turn between pages #335

Closed MohamedGaber closed 11 years ago

MohamedGaber commented 11 years ago

I want to know if it is possible to turn HTML pages (with urls) instead of turning just div elements .... that mainly to turn between ePub format book.

alQemist commented 11 years ago

Did you look at the Steve Jobs sample ? It uses HTML pages - but in any case the page content is always loaded into a Div container whether you have images, swf, pdf, or HTML as content pages.

MohamedGaber commented 11 years ago

I can't find the source code for the Steve Jobs sample. actually i will load HTML as content pages (ePub book), so could you provide me with any example for reading ePub using turn.js?

Thanks in advance for you help.

alQemist commented 11 years ago

Steve Jobs sample is in the turnjs download at turnjs.com - you should buy the license and get the full package

blasten commented 11 years ago

The div elements contains the HTML for each page.

<div id="flipbook">
  <div> <a href="/page/2"> Here's a link in page 1</a> </div>
  <div> <a href="/page/1"> Here's a link in page 2</a> </div>
</div>