Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Repeat or loop the jquery animation (help) Re: Repeat or loop the jquery animation (help)

#138296
ajnoguerra
Participant

Finally got what I want to do with a little tweak and help from you @CrocoDillon. Thanks a lot! :)

$(document).ready(function(){
reslide();
});

function reslide(){
$(‘.slide-right’).delay(5000).animate({width:’0′}, 600).delay(5000).animate({width:’100%’}, 600, function(){
setTimeout(reslide, 2000);
});
}