随笔- 88
文章- 0
评论- 2
阅读-
18万
07 2013 档案
向下滚动页面加载图片的js
摘要:js代码scroll.photo.js :window.imgscroll = { options: { target: null, //插入图片的目标位置 img_list: null, //图片数组 [{ url: "/CMF01_000.jpg"},{ url: "/CMF01_001.jpg"}] img_max: 0, //图片数量 img_num: 0, //图片累计已加载的数量 step_max: 3, //每轮加载图片的数量 从0开始计数 step_num: 0, //每轮已加载图片的数量...
阅读全文