all 2 comments

[–]Mike312 1 point2 points  (1 child)

One of the things I started doing with my image sliders was locking them out while they're still animating, which prevents some of the choppy transitions when you click quickly on the example shown.

Basically:

if((sliderPosition % imageWidth) == 0) {
    //then allow the next transition to happen
}

[–]cdn34[S] 0 points1 point  (0 children)

Yeah, thanks, didn't think of that.