Hello,
I am having trouble debugging some weird interval timing issues using scrollable.
For some reason, when i call the api.prev() and api.next() functions it does not reset the scrolling interval.
Here is a testing page:
http://www.biossential.com/testing/natural-vitamin-supplements.htm
Right now my interval is set to 5000 (5 seconds). If you click the forward arrow twice, it will sit on the 3rd page for about 3 seconds instead of 5.
After that, the interval is completely unpredictable. Sometimes it will take 10 seconds, other times it will scroll after 1 second.
In IE7, it gets really crazy and scrolls after 1 second. FF3 waits about 3 seconds.
Does anyone know how i can fix this?
I have tried manually resetting the timer on each arrow click via a callback:
but that doesn't seem to help.
Any ideas would be greatly appreciated!
Thanks,
Mark
I am having trouble debugging some weird interval timing issues using scrollable.
For some reason, when i call the api.prev() and api.next() functions it does not reset the scrolling interval.
Here is a testing page:
http://www.biossential.com/testing/natural-vitamin-supplements.htm
Right now my interval is set to 5000 (5 seconds). If you click the forward arrow twice, it will sit on the 3rd page for about 3 seconds instead of 5.
After that, the interval is completely unpredictable. Sometimes it will take 10 seconds, other times it will scroll after 1 second.
In IE7, it gets really crazy and scrolls after 1 second. FF3 waits about 3 seconds.
Does anyone know how i can fix this?
I have tried manually resetting the timer on each arrow click via a callback:
var api = $("div.scrollable").scrollable();
api.prev(function() { this.getConf().interval = 6000; });
but that doesn't seem to help.
Any ideas would be greatly appreciated!
Thanks,
Mark