jellekralt / Responsive-Tabs

Responsive Tabs is a jQuery plugin that provides responsive tab functionality. The tabs transform to an accordion when it reaches a CSS breakpoint. You can use this plugin as a solution for displaying tabs elegantly on desktop, tablet and mobile.
http://jellekralt.github.io/Responsive-Tabs/
MIT License
531 stars 228 forks source link

Setting speed of rotation #99

Closed snew-lib closed 8 years ago

snew-lib commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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.