I have this code:
function myClass() {
    this.tabs = new Array();
    myClass.prototype.focus_tab = function animateTab(nr){
        for(i=0;i<this.tabs.length;i++){
            $('#' + i + '-image').stop().animate(
                { left: '100px' },
                100 , function(){
                    this.tabs[i].step = 1;
                }
            );
        }
}
but function at the end of the animation does not recognize "this.tabs". How to do it well?
 
     
     
    