开发者

fadeIn() function - what change if a div is hide or not?

I see on internet that many times the function fadeIn() is preceded by the function hide(), but in fact I can't understand what's the difference between put it before or not : the 开发者_如何转开发result is the same!

Who know? :)


The hide() is there incase it's already on show I guess, and to make sure it's hidden before they fade it in.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜