$("#div_olist_"+id ).animate({
height: "toggle",
opacity: "toggle"
}, {
duration: "slow"
},function(){
$("#div_olist_"+id).remove();
});
return;
$("#div_olist_"+id ).animate({
height: 0,
width: 0,
opacity: 0.5
}, 500, "linear", function() {
$("#div_olist_"+id).remove();
});
本文介绍了一种使用jQuery实现的动画效果,该效果在删除DOM元素之前通过调整高度、宽度和透明度来平滑过渡,确保用户界面更加友好且交互体验更好。
664

被折叠的 条评论
为什么被折叠?



