All I need it to do is run the function animateAds over and over. Can anyone help? This is my code:
function animateAds(n) {
$('#ad_1').fadeIn('slow', function (){
$('#ad_1').delay(100).fadeOut('fast', function (){
$('#ad_2').fadeIn('slow');
});
});
};
$(document).ready(function() {
for (n = 0; n < 10; n++) {
animateAds(n);
}
});