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 badges
Add a ment  | 

1 Answer 1

Reset to default 5

I 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