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_56_4045@ion.
Please check
theHomepage for
full documentation.
Also, check the demos to see the different calls according to the mode.
Preload 官网
http://plugins.jquery.com/project/Preload
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。