jQuery Image Preload Plugin: Smart Preloader

You may also like...

11 Responses

  1. Andrew says:

    Having some trouble getting this to work in IE7..works beautifully in other browsers though. Any suggestions?

  2. Rizwan Ullah says:

    can you add a support for loading images from xml file to any target element

  3. martthewz says:

    Thanks for the plugin. Can it be implemented with background images in css but i don’t know my way around jquery. Any solution for that?

    • Well martthews you dont need to do anything special, images are images whether they are used in background in they are used as element, you simply need to pass the array of images that you want to preload. For example if your css contains a class like

      .myclass
      {
      background-image:url(‘http://www.mysite.com/images/bg.jpg’);
      }
      you just need to pass your image path to preload plugin, it will do the rest for you :) Actually it is the first request that is served from the actual location, subsequent request are served from browser’s cache.

  4. Lightweight and easy plugable! nice plugin.

  5. martthewz says:

    Nice script over here. Seen the way it’s working and thought of implementing it with background images in css but i don’t know my way around jquery. Any solution for that?

Leave a Reply

Your email address will not be published. Required fields are marked *


× 4 = eight

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>