vdw / Tabslet

Yet another jQuery plugin for tabs, lightweight, easy to use, mobile-friendly and with some extra features.
http://vdw.github.io/Tabslet/
Apache License 2.0
564 stars 110 forks source link

Reinitialize/clear the delay(timeout) time on tab change #17

Closed knitevision1 closed 9 years ago

knitevision1 commented 9 years ago

When you have autorotate and, like, delay 5 seconds, for example, 2 tabs autorotate, then 3 second passes after 2nd tab has rotated, and then if you click for example on tab 1, tab 2 will show not after 5 seconds, but after 2.

I tried to set an _after custom event, like this:

 $('.foo').on("_after", function() {
    $(this).tabslet({
        delay: 5000
    });
 });

But that didn't help. How do you fix that?

vdw commented 9 years ago

Issues with the timer (time delay) have been fixed at version 1.4.6.