jQuery delay/pause an animation
<p>I have the following code to scroll a table's scrollbar</p>

<pre><code>$('.myTable').animate({
    scrollTop: myPositon
}, 45000, function() {

});
</code></pre>

<p>Now I have the following event listening for the scroll bar position</p>

<pre><code>$('.myTable').bind('scroll', function() {
   //if the scroll bar reaches certain position
   //pause the scrolling for 5 seconds

 });
</code></pre>

<p>I have the code to check if the scroll bar reaches certain position, the questions is how to pause the scrolling/or animation for 5 second within the bind function and afterwards automatically resume the animation?</p>

<p>I know there's delay and clearQueue. but calling:</p>

<p><code>$('.myTable').delay(5000) or $('.myTable').clearQueue</code> does seem to have any effect</p>
