Tell jQuery to ignore clicks during an animation sequence

Posted by dclowd9901 on Stack Overflow See other posts from Stack Overflow or by dclowd9901
Published on 2010-03-22T01:20:21Z Indexed on 2010/03/22 1:21 UTC
Read the original article Hit count: 383

Filed under:
|
|

I'm in the midst of writing a slideShow app (click a button, and you slide through a list of images) for jQuery, but I've run into a little bug where it will respond to the click() request even while an animation is happening. I'm using the animate() function already, so that isn't staving off the additional animation requests.

Any way to program around this?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about ignore