I'm trying to contract a div, load a content and then expand the div to
the content proper height.
I was trying as follow:
$("#divContent").click(function(){
$("#content").load('info.php');
$("#content").animate({height:'toggle'}, "slow");
});
That way contract the div, load the content expanded and contract again
the div :-(
If i click again, then all follow ok...
Ahhh....I like when the content is loading, display a loading icon. (it
is not required, but nice)
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/