摘要: 参考地址 阅读全文
posted @ 2016-10-15 20:52 czhyuwj 阅读(1541) 评论(0) 推荐(0) 编辑
摘要: 备用素材: 1.png shadow.png 第一种方式: 利用负边距实现 最终效果图: 第二种方式,不是用负的外边距,而是使用position:relative属性 效果如下: 第三种方式: CSS3 - Box-shadow 顺带回顾下其语法: 目前支持该属性现代浏览器: IE9+、Firefo 阅读全文
posted @ 2016-10-14 11:55 czhyuwj 阅读(2322) 评论(0) 推荐(0) 编辑
摘要: html css 参考资源博客 CSS - TRICKS 阅读全文
posted @ 2016-10-12 17:55 czhyuwj 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 匹配网页中的 a 链接 /<a\s+href.*?>(.*?)<\/a>/g; 案例1 这里主要是把a链接替换为a链接包含的内容, 阅读全文
posted @ 2016-10-09 16:43 czhyuwj 阅读(181) 评论(0) 推荐(0) 编辑
摘要: GET: 资源已被提取,并作为响应体传回客户端. HEAD: 实体头已作为响应头传回客户端 POST: 经过服务器处理客户端传来的数据,适合的资源作为响应体传回客户端. TRACE: 服务器收到请求消息作为响应体传回客户端. 服务器已成功处理了请求,但返回的实体头部元信息不是在原始服务器上有效的确定 阅读全文
posted @ 2016-10-09 16:29 czhyuwj 阅读(164) 评论(0) 推荐(0) 编辑
摘要: The JavaScript Window object is the highest level JavaScript object which corresponds to the web browser window. 最外层的JavaScript对象其对应于web浏览器窗口 The docu 阅读全文
posted @ 2016-09-28 16:30 czhyuwj 阅读(1753) 评论(0) 推荐(0) 编辑
摘要: 说到类型,JavaScript 定义了少量的数据类型: null undefined 布尔值 数字 字符串 函数 和 对象。 假如要区分值得类型,无疑 typeof 首选 。如下 1 typeof 1 2 typeof "string" 3 typeof true 4 typeof null 5 t 阅读全文
posted @ 2016-09-26 17:45 czhyuwj 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 在stack overflow中看到一个人回答,如下 Yes, the first function has no relationship(有关) with an object instance of that constructor function, you can consider it l 阅读全文
posted @ 2016-09-26 13:21 czhyuwj 阅读(244) 评论(0) 推荐(0) 编辑
摘要: __proto__ is the actual object that is used in the lookup chain to resolve methods, etc. __proto__是解决对象原型链间的问题 prototype is the object that is used to 阅读全文
posted @ 2016-09-26 10:19 czhyuwj 阅读(220) 评论(0) 推荐(0) 编辑
摘要: IE8以及低版本中, for in 时,如果出现不可枚举同名属性,其会被忽略掉 http://stackoverflow.com/questions/3705383/ie8-bug-in-for-in-javascript-statement Bast Jquery 插件集 http://www.b 阅读全文
posted @ 2016-09-22 17:54 czhyuwj 阅读(159) 评论(0) 推荐(0) 编辑