Ala*_*lan 2 jquery jquery-plugins
幻灯片可以通过以下方式停止:
$(this).cycle('stop');
Run Code Online (Sandbox Code Playgroud)
或者可以通过以下方式暂停:
$(this).cycle('pause');
Run Code Online (Sandbox Code Playgroud)
但是,如何停止/暂停幻灯片放映并同时返回第一张幻灯片?
Tyl*_*ter 10
转到开始幻灯片
$('#goto1').click(function() {
$('#s1').cycle(0);
return false;
});
Run Code Online (Sandbox Code Playgroud)
来自http://malsup.com/jquery/cycle/goto.html
| 归档时间: |
|
| 查看次数: |
3168 次 |
| 最近记录: |