javascript - jQuery Booklet plugin stop auto play after one flip -



using jquery booklet plugin flip page in application. need flip done automatically (without user input) , stop after 1 flip. implemented auto play according instruction

$(function() { $('#mybook').booklet({     auto: true }); 

and want add "pause" call in instruction page http://builtbywill.com/code/booklet/demos/auto there example pause done clicking on pause link

   $(function() { $('#mybook').booklet({     auto: true,     play: '#play',     pause: '#pause' }); 

});

and need done without user input.
appreciate in problem

thanks

create book

$(function() { $('#mybook').booklet({); });

this flip first page. if have more 2 pages.

$('#mybook').booklet("next");

or

you can set timeout if want delay example

settimeout(function (){ $('#mybook').booklet("next"); }, 1000);

this give 1 second delay before flipping page more info

http://builtbywill.com/code/booklet/demos/methods


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -