Making images fade in on image load using jquery

后端 未结 11 943
轻奢々
轻奢々 2020-12-06 07:04

I have a page full of images and I want each of them to fade in when loaded. I have the following code which works but seems buggy, basically sometimes not all the image fad

11条回答
  •  旧时难觅i
    2020-12-06 07:34

    are you calling that function in the Document.ready?

      $(document).ready(function() {
          // put all your jQuery goodness in here.
      });
    

    http://www.learningjquery.com/2006/09/introducing-document-ready

提交回复
热议问题