wandoledzep/bxslider — pull request #43 by clarkni5 (2011-11-02 03:50:21+00:00)
Title: Hover related bug fixed

I've made changes to fix three bugs related to the hover event when auto play is enabled:

- Calling stopShow() and then performing a mouseout event would restart the show. I believe the intention is for stopShow() to permanently stop the show until startShow() is called.

- Performing a mouseout during the initial auto delay (using the autoDelay configuration option) would allow multiple auto intervals to be set. This can cause erratic changing of the slides.

- Multiple calls to setAutoInterval() could create more than one active interval. The simplest way to reproduce this problem is to call startShow() multiple times.

This biggest change that I made was to create suspend/restart functions. These now do most of the work that the start/stop functions were doing before. This separation was needed to distinguish between suspending the slideshow during mouseover and permanently stopping it. This does not change the public API and should be seamless to the end user.

-Nick