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
Comments
Post a Comment