I’m using the jQuery Cycle plugin to create an image slideshow. It works great, but I have a minor issue I can’t seem to solve. If you click on the “Prev” or “Next” links the slideshow counter doesn’t update until after the animation has finished. Ideally the slideshow count would update as soon as you clicked on either of these links, and then the animation would take place.
JSFiddle is here: http://jsfiddle.net/dD52s/
Instead of
aftercallback usebeforecallback if you want the counter to set before animation begins. Try thisWorking http://jsfiddle.net/dD52s/2/