09 2014 档案

摘要: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 刘金宇 阅读(334) 评论(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 刘金宇 阅读(2028) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-09-17 09:26 刘金宇 阅读(219) 评论(0) 推荐(0) 编辑
摘要:求拖走 阅读全文
posted @ 2014-09-17 09:18 刘金宇 阅读(1162) 评论(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 刘金宇 阅读(310) 评论(0) 推荐(0) 编辑

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