$("#car_overtake5").animate({path : new $.path.arc(arc_params)}, {duration: 2000, queue: false});
$("#car_overtake5").animate({rotate: '109deg'}, {duration: 2000, queue: true});
$("#car_overtake5").animate({"left":"9872px","top":"4872px"}, {duration: 1000, queue: true});
$("#car_overtake5").animate({rotate: '94deg'}, {duration: 250, queue: true});
$("#car_overtake5").animate({"left":"10939px","top":"4948px"}, {duration: 1000, queue: true});
자동차가 경마장 주변에서 움직이고 있습니다. 그러나 각 애니메이션이 끝나면 짧은 시간 동안 정지 한 후 다음 애니메이션을 재생합니다.jquery 애니메이션 사이에 짧은 지연이 있습니다. 왜?
어떻게 지체없이 유창하게 플레이 할 수 있습니까?
편집 : 이징을 선형으로 변경 했으므로 지연이 없습니다.
'VAR 자동차 = $ ("#의 car_overtake5")을 사용하십시오;' 또는 사물을 연결하십시오. DOM 조회를 계속하고 jQuery 객체로 만들 필요가 없습니다. –
그것을 설명하기 위해 바이올린을 만들 수 있습니까? – insertusernamehere
@BradM 또는'.animate' 체인 만이 차례로 호출합니다. – Dogbert