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

Setting speed of rotation #99

Closed
snew-lib opened this issue Mar 4, 2016 · 2 comments
Closed

Setting speed of rotation #99

snew-lib opened this issue Mar 4, 2016 · 2 comments

Comments

@snew-lib
Copy link

snew-lib commented Mar 4, 2016

I'm having a little trouble setting the speed of rotation. I'd like each tab to stay open for about 10 seconds before moving on to the next. Can you help me?
I was trying to base it on your startRotation method, but no luck!

@jellekralt
Copy link
Owner

The startRotation method should be the way to set the speed. I've just tested it and it seems to work fine. Have you taken into account that the speed is in milliseconds (so for 10 seconds, it should be 10000). Can you maybe send me a plunk or jsbin of your problem?

$('#responsiveTabsDemo').responsiveTabs('startRotation', 10000);

@jellekralt
Copy link
Owner

I'm closing the issue since there has been no activity for a while. Feel free to reopen if you feel this is still unresolved.

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