Preload Images Automatically from CSS

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-15 08:41:26

软件介绍

This script parses through linked and imported stylesheets and creates an array of all the image urls they contain. Then it loops through the array of urls and creates an image object for each one so they'll be cached and ready for later use. Using this script means we only have to worry about specifying background images and states in our CSS files, and the script takes care of the rest!

Just link up the script and call:

$.preloadCssImages();

This will default to a root "images" directory for finding images. To specify a different images directory, pass it in via the options :
$.preloadCssImages({ 'imgDir': 'myImagesDirectory' });

script source:

http://www.filamentgroup.com/examples/preloadImages/scripts/preloadCssIm...

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

怎样解题

怎样解题

[美] G. 波利亚 / 涂泓、冯承天 / 上海科技教育出版社 / 2007-5 / 16.00元

怎样解题:数学思维的新方法,ISBN:9787542843876,作者:(美)波利亚 著;徐泓、冯承天 译一起来看看 《怎样解题》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具