Sateesh
Sateesh

Reputation: 31

explicitly I need to send Autoplayinterval option in jssor slider

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

Upvotes: 1

Views: 161

Answers (1)

jssor
jssor

Reputation: 6985

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.

Upvotes: 1

Related Questions