preloadImages

码农软件 · 软件分类 · jQuery图像处理 · 2019-12-26 23:12:43

软件介绍

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

本文地址:https://www.codercto.com/soft/d/22033.html

perl进阶

perl进阶

Randal L.Schwartz、brian d.foy、Tom Phoenix / 韩雷 / 人民邮电出版社 / 2015-10-1 / 69

本书是Learning Perl一书的进阶。学完本书之后,您可以使用Perl语言的特性编写从简单脚本到大型程序在内的所有程序,正是Perl语言的这些特性使其成为通用的编程语言。本书为读者深入介绍了模块、复杂的数据结构以及面向对象编程等知识。 本书每章的篇幅都短小精悍,读者可以在一到两个小时内读完,每章末尾的练习有助于您巩固在本章所学的知识。如果您已掌握了Learning Perl中的内容并渴......一起来看看 《perl进阶》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码