jQuery div slider prevent click while sliding
问题 I have a div slider based on jQuery It works like a charm. http://jsfiddle.net/7ChVu/15/ The only problem is that if you click twice you are likely to mess up the position of the divs, and you can end up with an empty area with the previous button still active. How do I disable clicks while it slides/fades and until the div is in place? -See code below: <style> a, a:link, a:visited, a:hover, a:active { color: #666; text-decoration:none; } a:hover { font-weight:bold; } a:visited { color: #999;