어떻게이 함수를 영원히 계속 수행 할 수 있을까요? 이다JQuery .each() 함수를 무한 반복 횟수
$('.featuedbanner img').each(function(){
$(this).delay(featlay).animate({opacity: 1, leaveTransforms:true}, {duration:2000, queue:true});
featlay += 6000;
$(this).delay(featlay).animate({opacity: 0, leaveTransforms:true}, {duration:2000, queue:true});
});
이 무한 루프로 만들려면
나는 당신이하고 싶은 것을 분명히하고 있다고 생각하지 않는다 ... – sth
@sth 이것은 무한 루프로 만드는 것이다 –
무한 루프는 올바른 용어가 아니다 .. 정말로 찾고있는 것 무한히 스스로를 다시 호출하는 코드입니다. –