87,993
社区成员
发帖
与我相关
我的任务
分享
function removeDiv(id){
var target = $('#'+id);
var next = target.next();
var h = next.position().top - target.position().top;
target.css({position:'absolute','z-index':'-1'});
next.css({'margin-top':h+'px'});
next.animate({'margin-top':'0px'},200).prev().remove()
}