0

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")

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

Kind regards,

Kelly

Kelly
  • 153
  • 3
  • 15
  • You probably should read up on how jsfiddle works. It's not a place to dump complete web pages. – Pointy Sep 28 '11 at 13:40
  • @kelly: Probably, you are confused. fadeIn to be used in jQuery for ex: $('#logo').hide();.fadeIn(3000); Check this:http://stackoverflow.com/questions/1383870/jquery-how-do-you-get-an-image-to-fade-in-on-load – linguini Sep 28 '11 at 13:48
  • Thanks for all your comments. I could not get the original jsFiddle to work when I put only part of the code there so just put the whole page there. Thanks though will try and solve this first and update it. Will keep all posted. Thanks – Kelly Sep 28 '11 at 14:00

1 Answers1

2

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.

Pointy
  • 405,095
  • 59
  • 585
  • 614