Execute code when animation finished jQuery
<pre><code>$(this).animate({"left": left+"px"}, { queue: false, duration: 500 })
.animate({"top": top+"px"}, { queue: false, duration: 500 })
.animate({"height": size+"px"}, { queue: false, duration: 500 })
.animate({"width": size+"px"}, { queue: false, duration: 500 });
</code></pre>

<p>I´m a beginner at jQuery. I want the following code to run when the animation has finished:</p>

<pre><code>$('#map').css('cursor','pointer');
</code></pre>

<p>How can I do that? And also, if my code is bad, I would be very thankful if you improved it.</p>

<p>Thanks!</p>
