preloadImages
- 授权协议: 未知
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://plugins.jquery.com/project/preloadImages
软件介绍
preloadImages makes it easy to preload any image, or a list of images. Just call $.preloadImages(['myimage1.jpg', 'myimage2.jpg']);
and it'll do all the work for you - preloading one image at a time. This is controlled via a queue, so images at the start of the queue are preloaded first.
Normal usage:
Add to end of queue and start preloading.$.preloadImages(['1.jpg', '2.jpg', '3.jpg']);
Add:
Add to end of queue, but don't start preloading.$.preloadImages.add(['1.jpg', '2.jpg', '3.jpg']);
Prepend:
Prepend to start of queue, but don't start preloading.$.preloadImages.prepend(['1.jpg', '2.jpg', '3.jpg']);
Clear:
Clear the queue.$.preloadImages.clear();
Stop:
Stop processing the queue, but don't clear it.$.preloadImages.stop();
Start:
Start processing the queue.$.preloadImages.start();
Direct manupulation
Directly manipulate the queue as a normal array of image URLs.$.preloadImages.imageQueue
精通JavaScript+jQuery
曾顺 编著 / 人民邮电出版社 / 2008-9 / 59.00元
随着Ajax技术的不断风靡,其核心技术JavaScript越来越受到人们的关注,各种JavaScript的框架层出不穷。jQuery作为JavaScript框架的优秀代表,为广大开发者提供了诸多便利。 本书从介绍JavaScript的基础知识开始,围绕标准Web的各项技术予以展开,通过大量实例对JavaScript、CSS、DOM、Ajax等 Web关键技术进行深入浅出的分析,主要内容包括J......一起来看看 《精通JavaScript+jQuery》 这本书的介绍吧!