摘要: 核心思路参考了群里的MK桑的,在此谢过。(function(){ var db = document.body; var Calendar = function(opts){ return new Calendar.prototype.init(opts); }; Calendar.prototype = { constructor:Calendar, init:function(opts){ this.opts = extend({ target:'', initial:'2012/09/27', format:'YYYY-MM-DD', ca 阅读全文
posted @ 2013-02-22 13:35 zjhsd2007 阅读(4413) 评论(3) 推荐(0) 编辑
摘要: 这是前段时间没事做的时候做的,今天整理文件夹的时候翻出来了,那就发上来吧JS(function(win){ var doc = win.document,db = doc.body; var mousewheel = 'onmousewheel' in document ? 'mousewheel' : 'DOMMouseScroll'; var skyScroll = function(opts){ return new skyScroll.prototype.init(opts);}; skyScroll.prototype = { cons 阅读全文
posted @ 2013-02-22 13:24 zjhsd2007 阅读(4194) 评论(6) 推荐(2) 编辑