上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 33 下一页
摘要: Array.prototype.max = function(){ //最大值return Math.max.apply({},this)}Array.prototype.min = function(){ //最小值return Math.min.apply({},this)}var myMax ... 阅读全文
posted @ 2014-10-09 11:47 刘金宇 阅读(182) 评论(0) 推荐(0) 编辑
摘要: placeholder 效果的实现placeholder 效果placeholder 效果的实现 用户名 密码 阅读全文
posted @ 2014-09-22 18:25 刘金宇 阅读(967) 评论(0) 推荐(0) 编辑
摘要: 1、Function.apply,用于构造函数的继承,继承另外一个构建对象的属性与方法function People(name,age){ this.name = name; this.age = age;}function Student(age){ this.age = age; People.... 阅读全文
posted @ 2014-09-19 19:21 刘金宇 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-09-17 15:07 刘金宇 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 来源:http://www.jq22.com/jquery-info390使用前要求:img的设置:1、class要配上“lazy”;2、用data-original代替src;3、如果想要占位的话,img别忘了写上宽高。jQuery图片延迟加载插件jQuery.lazyload | jQuery插... 阅读全文
posted @ 2014-09-17 09:48 刘金宇 阅读(2019) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-09-17 09:26 刘金宇 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 求拖走 阅读全文
posted @ 2014-09-17 09:18 刘金宇 阅读(1141) 评论(0) 推荐(0) 编辑
摘要: function checkbrowse() {var ua = navigator.userAgent.toLowerCase();var is = (ua.match(/\b(chrome|opera|safari|msie|firefox)\b/) || ['', 'mozilla'])[1]... 阅读全文
posted @ 2014-09-16 16:38 刘金宇 阅读(307) 评论(0) 推荐(0) 编辑
摘要: .box{ width:100px; height:100px; background-color:#000; filter:alpha(Opacity=50); opacity: 0.5; } 阅读全文
posted @ 2014-08-23 14:39 刘金宇 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 这是天气json的数据,这里是链接,json的数据接口 http://m.weather.com.cn/data/101010100.htmljson的数据格式{"weatherinfo":{"city":"北京","city_en":"beijing","date_y":"2014年3月4 日",... 阅读全文
posted @ 2014-08-22 11:41 刘金宇 阅读(3984) 评论(2) 推荐(1) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 33 下一页