现在的位置: 首页 > 综合 > 正文

10 个很棒的 jQuery 代码片段

2013年10月01日 ⁄ 综合 ⁄ 共 241字 ⁄ 字号 评论关闭

转自:http://www.oschina.net/code/snippet_12_7271

[代码] 图片预加载

01 (function($)
{
02   var cache
= [];
03   //
Arguments are image paths relative to the current page.
04   $.preLoadImages
function()
{
05     var args_len
= arguments.length;
06     for (var i
= args_len; i--;) {

抱歉!评论已关闭.