09 2014 档案
摘要:placeholder 效果的实现placeholder 效果placeholder 效果的实现 用户名 密码
阅读全文
摘要:1、Function.apply,用于构造函数的继承,继承另外一个构建对象的属性与方法function People(name,age){ this.name = name; this.age = age;}function Student(age){ this.age = age; People....
阅读全文
摘要:来源:http://www.jq22.com/jquery-info390使用前要求:img的设置:1、class要配上“lazy”;2、用data-original代替src;3、如果想要占位的话,img别忘了写上宽高。jQuery图片延迟加载插件jQuery.lazyload | jQuery插...
阅读全文
摘要:function checkbrowse() {var ua = navigator.userAgent.toLowerCase();var is = (ua.match(/\b(chrome|opera|safari|msie|firefox)\b/) || ['', 'mozilla'])[1]...
阅读全文