t0ckh 2011-08-24
http://blog.chinaunix.net/space.php?uid=21153026&do=blog&cuid=2041189
$(".backgroundDiv").css({"opacity":"0.5"}).fadeIn('normal'); var divWidth = $(".info").width(); var divHeight = $(".info").height();
-----------------------------
var params={ width: "toggle", //"100px",150 height:"toggle",//"100px",150 opacity: "toggle"//show,hidden }; $("#testDiv1").animate(params,"slow",function(){ $("#testDiv1").animate(params,"slow",function(){ //alert("动画结束."); }); });
------------------------------