admin管理员组文章数量:1420981
Does anyone know if you can set a duration interval for EACH SPECIFIC slide (Not transition) using jssor with $AutoPlay
option set to TRUE?
I can now set all slide duration with $Idle=1000ms
but I need to have for example:
SLIDE1: pause here for 2000ms
SLIDE2: pause here for 3000ms
...
Any Idea?
Does anyone know if you can set a duration interval for EACH SPECIFIC slide (Not transition) using jssor with $AutoPlay
option set to TRUE?
I can now set all slide duration with $Idle=1000ms
but I need to have for example:
SLIDE1: pause here for 2000ms
SLIDE2: pause here for 3000ms
...
Any Idea?
Share Improve this question edited Apr 30, 2017 at 21:24 jssor 6,9852 gold badges20 silver badges21 bronze badges asked Dec 3, 2014 at 19:31 Alessandro BottamediAlessandro Bottamedi 4835 silver badges15 bronze badges1 Answer
Reset to default 5I have just added this feature, please download the latest version.
Now you can set $Idle
option,
and also, you can set idle time for each individual slide as follows,
<div u="slides" ...>
<div><img data-u="image" src="image_url_1" /></div>
<div data-idle="2000"><img data-u="image" src="image_url_2" /></div>
<div data-idle="3000"><img data-u="image" src="image_url_3" /></div>
</div>
Edit
The new option should be $Idle
instead of $AutoPlayInterval
.
See http://www.jssor./development/reference-options.html
本文标签: javascriptjssor sliderhow to set duration for each slide on autoplayStack Overflow
版权声明:本文标题:javascript - jssor slider, how to set duration for each slide on autoplay? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745328571a2653705.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论