slqwell

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年12月7日

摘要: //定义预加载图片列表的函数(有参数) jQuery.preloadImages = function(){ //遍历图片 for(var i = 0; i").attr("src", arguments[i]); }}// 你可以这样使用预加载函数$.preloadImages("images/l... 阅读全文
posted @ 2009-12-07 10:19 slqwell 阅读(2055) 评论(0) 推荐(1)