Preload 介绍
Note: Patched a bug of Safari 2, and 2 other bugs of IE, please upgrade to
1.0.7.
This is an advanced multi-functional preloader, that has 4(actually 5) modes
integrated.
Each mode suits a different, common situation.
The modes are:
- URL : Preload a JS array of static URLs.
-
Rollover : Preload based on DOM images, slightly modifying their src.
Can be used for rollovers, or for image-thumb. -
Placeholder : Take regular images and set a placeholder image while they load. Show each original image when fully loaded. Allows sequential loading with a threshold.
- Link : Preload the images that appear in the href of the given links.
The plugin also provides 3 callbacks to interact with the image URLs during
the preloading process. All the callbacks get a hash of data, with details of
the related image and global @R_320_4045@ion.
Please check
theHomepage for
full documentation.
Also, check the demos to see the different calls according to the mode.