-
Notifications
You must be signed in to change notification settings - Fork 249
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
Continues sliding? #12
Comments
Hey @Jaspur, you'll have to do a little custom work in javascript to add the slides manually for continuous sliding. Check out this jsfiddle, and also the example at http://bchanx.com/slidr#javascript (right underneath the Slidr API section) for more details! |
Then it stills stops.
|
As mentioned earlier, you'll need to call .add() after .create() and manually set up the order of the slides, so it can loop indefinitely. The extra repeated 'one' links the last slide back to the first. <script>
slidr.create('slidr-img', {
breadcrumbs: false,
controls: 'none',
overflow: true,
timing: { 'fade': '0.5s ease-in' },
transition: 'linear'
}).add('h', ['one', 'two', 'three', 'one']).auto(3000);
</script> |
i have the same problem, the slider runs once and stops at the last position. tested on chrome current version! |
I use the following:
and it works but only with the h option. If you use the v option by the add() the slider doesn't starts. |
Nice script, but is there a way to let the slidr keep on sliding? Now it stops after all slides went by. I have the a
auto(3000)
already.The text was updated successfully, but these errors were encountered: