How to call many times "animate" from class?
<p>I have method in class:</p>

<pre><code>function myClass(){

    this.showTab = function(){

        $('#tab-image').stop().animate(
            { left: 500 + 'px' },
            500 , function(){
                alert('end');
            }
        );

    }

}
</code></pre>

<p>and I call this method twice:</p>

<pre><code>var obj = new myClass();
obj.showTab();
$('#tab-image').css({ left: -500 + 'px' });
obj.showTab();
</code></pre>

<p>This code works but in second time show without animate. How to do it well?</p>
