32

JQury动画-拉考的考拉

 6 years ago
source link: http://blog.51cto.com/lakaodekaola/2074442
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.
.hide()隐藏元素、.show()显示元素和.toggle()切换显示或隐藏匹配元素1让页面上的元素不可见,一般可以通过设置css的display为none属性,但是通过css直接修改是静态的布局,如果在代码执行的时候,一般是通过js控制元素的style属性2.hide()隐藏元素3.hide(options)当提供hide方法一个参数时,.hide()就会成为一个动画方法,.hide()方法

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK