.animate never gets triggered
Hi Everybody
Hi have this code:
- $('#showLayers').click(function()
- {
- $('#test').show();
- $('body').width(640);
- $('#mapContent').animate({width:'toogle'},
- {duration:500,
- queue:false,
- complete:function(){$('body').width(320);}
- });
- });
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