Plugins/Modules > Smart Preloader - Free jQuery Image Preload Plugin
Smart Preloader - Free jQuery Image Preload PluginDate: 9 August 2011 | Posted by: Src |
![]() Demo: http://adf.ly/286885/7511-demo-smart-preloader Source URL: http://www.egrappler.com/jquery-image-preload-plugin-smart-preloader/ Smart Preloader is a small jQuery image preloading plugin that helps you preload all the required images. Smart perloader plugin takes an array of images and notifies via "oneachimageload" on each image load, and once all the images are loaded "onloadall" callback functions is called. Both the "oneachimageload" and "onloadall" functions are passed as parameters to Smart Preloader initializer function. Smart Preloader parameters images: an array of images to be preloaded oneachimageload: callback function to be called on each image load onloadall: callback function to b called when all the images are loaded Using Smart Preloader In your HTML file add the following in the head section. Add a reference to latest jQuery script Add a reference to smartpreload.js file See full article |