上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: html 中的 onclick访问的是全局作用域 阅读全文
posted @ 2016-06-02 11:41 青草圆 阅读(101) 评论(0) 推荐(0) 编辑
摘要: setTimeout("xxx",500) 双引号中的作用域不捕捉局部变量,因此会报错误 如果你需要在双引号中可以在外部定义一个变量 var now; window.onload = function(){ var dom = document.getElementById("nowTime"); 阅读全文
posted @ 2016-05-25 16:36 青草圆 阅读(256) 评论(0) 推荐(0) 编辑
摘要: HTML代码 伪元素after的高度为10px时chrome效果图 伪元素after的高度为10px时Firefox效果图 伪元素after的高度为1px时chrome效果图 伪元素after的高度为1px时Firefox的效果图 1、伪元素的高度大于1px时scale可以正常渲染,当高度为1时,s 阅读全文
posted @ 2016-05-20 15:31 青草圆 阅读(3258) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-05-20 10:05 青草圆 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 你好呀 阅读全文
posted @ 2016-05-19 10:08 青草圆 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1、原型式继承和类式继承的区别 在基于类的面向对象方式中,对象(object)依靠类(class)来产生。而在基于原型的面向对象方式中,对象(object)则是依靠 构造器(constructor)利用 原型(prototype)构造出来的。 a:原型继承 b:类式继承 2、单例模式 3、数组去重 阅读全文
posted @ 2016-05-18 16:32 青草圆 阅读(141) 评论(0) 推荐(0) 编辑
摘要: jquery DataTables中文使用说明 出处:http://blog.vunso.com/201405/jquery-datatables%E4%B8%AD%E6%96%87%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E.htm 本文共四部分:官网 | 基本使用|遇 阅读全文
posted @ 2016-05-11 09:56 青草圆 阅读(1735) 评论(0) 推荐(0) 编辑
摘要: ::-moz-placeholder{color:red;} //ff ::-webkit-input-placeholder{color:red;} //chrome,safari :-ms-input-placeholder{color:red;} //ie10 $(function(){ if(!!navigator.userAgent.match(/MSIE 8... 阅读全文
posted @ 2016-05-05 13:49 青草圆 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 出处:http://saluya.iteye.com/blog/1243399 Js代码 <html> <head> <script type="text/javascript"> var isIE = /msie/i.test(navigator.userAgent) && !window.ope 阅读全文
posted @ 2016-05-04 14:09 青草圆 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 苹果手机 以下内容出处:http://blog.sina.com.cn/s/blog_51048da70102uyjp.html 1.-webkit-tap-highlight-color 以下内容出处:http://blog.sina.com.cn/s/blog_51048da70102uyjp. 阅读全文
posted @ 2016-05-03 10:02 青草圆 阅读(262) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页