12

JQuery动画-拉考的考拉

 6 years ago
source link: http://blog.51cto.com/lakaodekaola/2079938
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
.slideDown()下拉动画、.slideUp()显示上卷动画和.slideToggle()上卷下拉切换1.slideDown()用滑动动画显示一个匹配元素,给匹配元素高度的动画,会导致页面的下面部分滑下去,弥补了显示的方式2常见的操作是提供一个动画是时间,然后传递一个回调,用于知道动画什么时候结束3持续时间(duration)是以毫秒为单位的,数值越大,动画越慢,字符串'fast'和'slo

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK