jqueryanimate,jqueryanimate动画
easing 可选Stringjqueryanimate,要使用jqueryanimate的擦除效果jqueryanimate的名称需要插件支持默认jQuery提供quotlinearquot 和 quotswingquotcallback 可选Function,在动画完成时执行的函数示例一点击按钮后div元素的几个不同属性一同变化 quot#goquotclickfunction $quot#blockquotanimate width quot90%quot, height quot。
用jQuery的animate方法就可以如改变div1的高度为500pxps var oDiv=$#39div1#39oDivanimateheight500,500height是用css来改的比如quotdivquotcssquotheightquot,quot100pxquot如果你看不懂,建议你百度一下jquery教程,从基础学起。

利用JQUERY的animate动画效果实现比如一个DIV用1秒时间向左滑动100像素就是$quotdivquotanimateleftquot100pxquot,1000 本回答由电脑网络分类达人 孟男男推荐 举报 答案纠错 评论 2 0 scd1 采纳率50% 擅长 暂未定制 其jqueryanimate他回答 clientHeight然后递归,直到这个高度为0,或者直到这个高度为一个指定的。