.animate never gets triggered

.animate never gets triggered

Hi Everybody

Hi have this code:

  1.         $('#showLayers').click(function()
  2.         {
  3. $('#test').show();
  4. $('body').width(640);
  5. $('#mapContent').animate({width:'toogle'},
  6.                                                       {duration:500,
  7.                                                        queue:false,
  8.                                                        complete:function(){$('body').width(320);}
  9.                                                       });
  10.         });
But it never triggers the complete.

If I add a alert inside the click(), and after the animate, that one is never triggered as well.

What i'm doing wrong