I have a simple jQuery animation that moves a div to the right or left, upon a .click() event.
However, if the user clicks the event twice, it fires twice, which mes
You could .unbind() the click event once clicked which will prevent it from executing multiple times:
$('a#right').click(function () { $(this).unbind('click'); ... });
Once the animation completes you could rebind it if you need to be able to click again.