How to judge the animate function complete and show something?

Posted by lanqy on Stack Overflow See other posts from Stack Overflow or by lanqy
Published on 2010-04-06T15:23:26Z Indexed on 2010/04/06 15:33 UTC
Read the original article Hit count: 209

Filed under:
|
|

The code like this:

$(".hide").click(function(){
    $(".online-contact").animate({width: 'toggle',height: '100%'}, "fast");         
    $(this).hide();
    $(".show-class").show();
})

I want to show the div with the class of show-class when the the animate function complete,what can I do it?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about animated