I have make a carousel with jquery. The carousel have three sections and a large background images. When you click on the right button. The next section is coming and the background image is scrolling -1000 pixels to right.
But now the problem. When i click verry fast of a couple of times on the next button. The hole carousel is going crazy. How can i fix that? When you click on the next button. Then you can not print again. You must wait until he is animated. Thanks for help.
You can see the code on JsFiddle
Does this fix it ??
http://jsfiddle.net/6RJzU/2/