javascript - JQuery, Starting a function again. . . . ? animation-queue -
ok here's main function:
function updown(){ var bottom = $(document).height()-$(window).height(); //scroll bottom. scroll 0. , execute updown(). $('body') .animate({scrolltop:bottom},20000) .animate({scrolltop:0},2000,updown); } updown(); then i'm using:
$('body').stop(true); on button click stop animation-queue
my question how start animation queue again? example $('body').play(true); if i'm saying (though know not simple lol). . .
thank in advance @ all!
have tried calling updown() again?
Comments
Post a Comment