Stopping and resuming timer in jQuery
<p>I've got two solutions. The first of them using the method <code>animate</code>:</p>

<p><a href="http://jsfiddle.net/g9aK8/3/" rel="nofollow">http://jsfiddle.net/g9aK8/3/</a></p>

<p>The problem is with a delay, when we pause timer for example on 400px and resume then we have to wait again all delay (the speed of bar is absolutely lower). </p>

<p>In the second solution I used <code>interval</code>:</p>

<p><a href="http://jsfiddle.net/6wNcd/1/" rel="nofollow">http://jsfiddle.net/6wNcd/1/</a></p>

<p>It looks better, but when I tried stop this after a few minutes I had to wait something about 30 seconds then stopped. I not sure that using here <code>interval</code> with that small value is correct.</p>

<p>Have you any ideas how do this smartly?</p>
