摘要: 图片预加载(function($) { var cache = []; // Arguments are image paths relative to the current page. $.preLoadImages = function() { var args_len = arguments.length; for (var i = args_len; i--;) { var cacheImage = document.createElement('img'); cacheImage.src = arguments[i]; cache.p... 阅读全文
posted @ 2012-01-05 10:24 @万里 阅读(130) 评论(0) 推荐(0)