基于zepto的图片延时加载和图片左右滑动
摘要:
var hasTouch = 'ontouchstart' in window;var scroll_EV = hasTouch ? 'touchmove' : 'scroll';Array.prototype.del = function(n) { if (n < 0) return this; else return this.slice(0, n).concat(this.slice(n + 1, this.length));}function lazyLoading() {}lazyLoading.prototype = { ini 阅读全文
posted @ 2012-05-15 17:55 TonyCoolZhu 阅读(6182) 评论(3) 推荐(0) 编辑