Home › Forums › Back End › Repeat or loop the jquery animation (help) › Re: Repeat or loop the jquery animation (help)
June 11, 2013 at 5:41 am
#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);
});
}