I need to know how to infinitely loop this animation. It is a text scroll animation and I need it to repeat after it\'s finished.
Here is the jQuery:
Please try this for continuous loop animation on hover.
function loopl(){
$('.mCSB_container').animate({ "left": "+=80px" }, "800", 'linear', loopl );
}
function loopr(){
$('.mCSB_container').animate({ "left": "-=80px" }, "800", 'linear', loopr );
}
function stop(){
$('.mCSB_container').stop();
}
$( "#left" ).hover(loopl, stop);
$( "#right" ).hover(loopr, stop);