开发者

displayDiv.fadeIn('3000'); does not fade slowly on this webpage

开发者 https://www.devze.com 2023-04-08 20:04 出处:网络
Technically displayDiv.fadeIn(\'3000\'); should fade in the image slowly but on this page it does not:

Technically displayDiv.fadeIn('3000'); should fade in the image slowly but on this page it does not:

Please see: http://jsfiddle.net/BpXbn/3/ (on hover of "ice white image")

开发者_如何学Python

Is there a possible reason for this or a way to fix this so the fade in works instead please?

Kind regards,

Kelly


There's no built-in DOM method called "fadeIn". Perhaps you've seen it used in some jQuery code, or code from some other framework. If you just get a DOM element from the browser via "getElementById()", however, what you get is a plain DOM element and that has no such function.

0

精彩评论

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

关注公众号