nir9 / itemslide

JavaScript Touch Carousel Library with Zero Dependencies
https://itemslide.org
MIT License
647 stars 85 forks source link

'Active' setting not working as expected #65

Closed info-steppenwolf closed 7 years ago

info-steppenwolf commented 7 years ago

Thanks for a superb carousel. I revisited the docs and determined that to re-set the default active slide I have to add "start: '2', ( or whatever the slide number is, counting from 0). This is not working as expected- dunno if I did something wrong. The advantage of being able to set an altered view is that the visitor likely will end up swiping in both directions and hopefully, linger longer. Thanks for any pointers about how this can be done. My settings:

nir9 commented 7 years ago

Hi, Here is a working example: http://jsbin.com/mesivoleya/edit?html,css,js,output didn't work because you need to give the parameter start the number 2 and not the string '2'.

info-steppenwolf commented 7 years ago

Thanks!