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

代码整洁之道

代码整洁之道

马丁 / 人民邮电出版社 / 2011-1 / 59.00元

《代码整洁之道(英文版)》提出一种观念:代码质量与其整洁度成正比。干净的代码,既在质量上较为可靠,也为后期维护、升级奠定了良好基础。作为编程领域的佼佼者,《代码整洁之道(英文版)》作者给出了一系列行之有效的整洁代码操作实践。这些实践在《代码整洁之道(英文版)》中体现为一条条规则(或称“启示”),并辅以来自现实项目的正、反两面的范例。只要遵循这些规则,就能编写出干净的代码,从而有效提升代码质量。 ......一起来看看 《代码整洁之道》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具