开发者

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

开发者 https://www.devze.com 2023-02-28 03:56 出处:网络
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 开发者_如何转开发r

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

精彩评论

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