explicitly I need to send Autoplayinterval option in jssor slider

旧街凉风 提交于 2019-12-11 09:30:36

问题


I want to give autoplayinterval option to the jssor slider by click a button explicitly. I need to send different speed values to the autoplayinterval option through onclick function


回答1:


You can set idle interval (known as $Idle) explicitly for each individual slide in following manner.

<div id="slider1_container"...>
    <div u="slides" ...>
        <div idle="3000">...</div>
        <div idle="2000">...</div>
        <div idle="5000">...</div>
        <div idle="6000">...</div>
    </div>
</div>

And you can set idle attribute for each slide dynamically in javascript anytime.



来源:https://stackoverflow.com/questions/29293576/explicitly-i-need-to-send-autoplayinterval-option-in-jssor-slider

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!