02 2013 档案

摘要:核心思路参考了群里的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 阅读(4414) 评论(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 阅读(4195) 评论(6) 推荐(2) 编辑
摘要:以前项目上用的那个虽然也是自己写的,但是是基于JQ的,前不久看到人人网出的JS有道考题和这个很像,所以就用原生JS重写了一遍:JS(function(win){ var tips = { 'title':'信物宝提示', 'enter':'确定', 'cancel':'取消', 'close':'关闭' }, isIE6 = !window.XMLHttpRequest, cssLoaded = false, isOpen = false, loadCss = fun 阅读全文
posted @ 2013-02-05 14:39 zjhsd2007 阅读(1087) 评论(0) 推荐(4) 编辑

点击右上角即可分享
微信分享提示