blasten / turn.js

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

Auto flipping effect with peel effect #600

Open pgreban opened 7 years ago

pgreban commented 7 years ago

Hi,

First of all, congratulations for your project. It' amazing. I#ve read a few things and I already tested this piece of code :

setInterval(function() { if ( $('#flipbook').turn('page')==$('#flipbook').turn('pages') ) { $('#flipbook').turn('page', 1); } else { $('#flipbook').turn('next'); } }, 3000);

Works perfectly! The pages are flipping until it reaches the end of the book then come back to the first page.

What I would like to do is : when the page is auto turning, I would like to get the same effect as when we click on the bottom corner. The "soft" movement when you turn the page yourself.

Is it possible to get that when auto flipping?

Thanks a lot. Regards.

ghost commented 5 years ago

i am also looking for …