Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Active' setting not working as expected #65

Closed
info-steppenwolf opened this issue Nov 20, 2016 · 2 comments
Closed

'Active' setting not working as expected #65

info-steppenwolf opened this issue Nov 20, 2016 · 2 comments

Comments

@info-steppenwolf
Copy link

info-steppenwolf commented Nov 20, 2016

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:

<script> $(window).load(function() { $("#scrolling ul").itemslide({ disable_clicktoslide: 'false', disable_slide: 'false', one_item: 'true', parent_width: false, duration: '350', swipe_sensitivity: '290', disable_autowidth: true, swipe_out: false, start:'2', }); }); </script>
@nir9
Copy link
Owner

nir9 commented Nov 21, 2016

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'.

@nir9 nir9 closed this as completed Nov 21, 2016
@info-steppenwolf
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants