0
jQuery Cycle 플러그인을 중지하고 나중에 다른 기능에서 시작하는 방법이 있습니까? 여기시작시 jQuery주기 중지 및 재생보다
$('#cycle').cycle({
fx: 'fade',
// stop it
});
// than play it
jQuery Cycle 플러그인을 중지하고 나중에 다른 기능에서 시작하는 방법이 있습니까? 여기시작시 jQuery주기 중지 및 재생보다
$('#cycle').cycle({
fx: 'fade',
// stop it
});
// than play it
$('#anotherElement').click(function(){
$('#cycle').cycle({ fx: 'fade', // stop it });
});
그 것이다 :
$('#s1').cycle({timeout:2000});
$('#pauseButton').click(function() {
$('#s1').cycle('pause');
});
$('#resumeButton').click(function() {
$('#s1').cycle('resume');
});
나는이 질문을 .. 대답 표시되지 않습니다 – Loktar
그는 그것이 doc.ready에 있지만 다른 트리거에서 실행하지 싶어 내가 추정? – benhowdle89
네, Cycle을 멈추고 Cycle을 시작하는 방법을 알고 싶습니다. – Dee