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
Start Orbit in 'paused' state #2028
Comments
Right now you can only turn off the automatic slide advancement by setting <ul data-orbit data-options="timer_speed:0;">
...
</ul> |
Why not use JavaScript to stop it? Select by id which orbit-timer to use: $("#myorbit").siblings(".orbit-timer").click(); Or just pause all: $(".orbit-timer").click(); |
@mhayes Your proposed solution seems to don't work in Foundation 4.3.1. Js are taken from Github ( scss-standalone ) while css are a custom build based upon foundation scss. This is the jsFiddle demonstrating the problem: http://jsfiddle.net/UHSfw/7/ |
Then use my solution underneath his. |
I'm using it right now, but I find that solution is a bit hackish. Using javascript to simulate an user interaction while you could achieve the same thing via an option seems, imho, not the best solution. In any case thanks for pointing out this other solution :) |
Hello all, data-options="timer:false" ...in your html code or, $(document).foundation('orbit',{timer:false}); when calling Foundation initially. |
I know this thread is old but I thought I'd comment anyway in case someone ends up here like I did. I'm using foundation 6.2.3 and this works for me: |
@Mr-GC this worked for me. Thanks. |
Is it possible to have Orbit not automatically start, or to start it in a paused state? I don't see this anywhere in the documentation.
The text was updated successfully, but these errors were encountered: