I am learning jQuery by writing a slideshow plugin which I will release for anyone to use if it turns out well. I've got a good start, but ran into an issue. If you switch tabs, and then come back to the page it's on, the timing is all messed up. I have seen this question which deals with the same thing, but I don't know how to apply the answer to my particular situation.
- So, how can I fix the SetInterval tab switching bug? Seen here by switching tabs: http://jsfiddle.net/8FkYj/
- High-fives for any suggestions on code improvements.
You can view & download the slideshow here: http://kthornbloom.com/slydeshow/ or see the JSFiddle: http://jsfiddle.net/8FkYj/
(Sorry for the novice js code! I at least tried to comment things well)