<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_东捣's Blog</title><subtitle type="text">郑楚煜的Web开发手札</subtitle><id>http://feed.cnblogs.com/blog/u/38539/rss</id><updated>2008-11-17T09:21:06Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/38539/rss"/><entry><id>http://www.cnblogs.com/zhengchuyu/archive/2008/10/09/1306805.html</id><title type="text">郁闷的1px - IE6绝对定位的神奇bug</title><summary type="text">昨天做边框圆角的时候发现一个bug。这个bug实际上出现在IE6以下版本的IE浏览器上。出现情况在：1.外层元素用position:relative定位，并且实际content宽/高为奇数；2.内层元素使用position:absolute定位，并且使用了bottom/right定位。仔细看下面两个情况有什么不同（要使用IE6以下浏览器，其他浏览器不会出现该bug）：(1)19px38px57px...</summary><published>2008-10-09T01:49:00Z</published><updated>2008-10-09T01:49:00Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhengchuyu/archive/2008/10/09/1306805.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/archive/2008/10/09/1306805.html"/></entry><entry><id>http://www.cnblogs.com/zhengchuyu/archive/2008/08/20/1272175.html</id><title type="text">JavaScript的“编译时”与“运行时”</title><summary type="text">JavaScript不是解释型语言吗？为什么会有&amp;#8220;编译时&amp;#8221;与&amp;#8220;运行时&amp;#8221;之分？基础知识看接下来的内容之前，有几个地方需要先了解。JavaScript中的&amp;#8220;未声明&amp;#8221;与"未定义"看看下面两段代码代码1.1[代码]代码1.2[代码]第一段代码在各个浏览器中都会提示出错。出错信息是&amp;#8220;未定义&amp;#8221;或者&amp;#8220;no...</summary><published>2008-08-20T06:00:00Z</published><updated>2008-08-20T06:00:00Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/20/1272175.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/20/1272175.html"/></entry><entry><id>http://www.cnblogs.com/zhengchuyu/archive/2008/08/18/1270214.html</id><title type="text">JavaScript面向对象 “四段式”类设计方法</title><summary type="text">引近段时间做的两个小纯Js的小游戏PuzzleGame /Tetris (开发中)，对JavaScript的面向对象设计方法进行了不同的尝试。在PuzzleGame的实践过程中，面向对象的设计方法遭到多次挫折，最终还是大部分函数式编程完成，夹杂了小部分面向对象方法。而在Tetris的设计初始，偶遇《JavaScript王者归来》（月影 著），翻看了前面小部分内容，在第一个实例（计算器）中，看到了一...</summary><published>2008-08-18T04:02:00Z</published><updated>2008-08-18T04:02:00Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/18/1270214.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/18/1270214.html"/></entry><entry><id>http://www.cnblogs.com/zhengchuyu/archive/2008/08/17/1269797.html</id><title type="text">JavaScript 两种for循环方式的异同</title><summary type="text">今天一不小心发现一个小细节，看看以下两种for循环方式的相异之处。[代码]你会发现第一个显示3，第二个显示2。</summary><published>2008-08-17T07:33:00Z</published><updated>2008-08-17T07:33:00Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/17/1269797.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/17/1269797.html"/></entry><entry><id>http://www.cnblogs.com/zhengchuyu/archive/2008/08/14/1268090.html</id><title type="text">Ajax入门 基础概念与方法</title><summary type="text">XMLHttpRequest对象除IE以外所有的浏览器都支持直接使用XMLHttpRequest对象。而IE是通过创建ActiveXObject来创建类似的对象。这里给出一种包装方法使得IE5以上的IE版本也能具有XMLHttpRequest对象，这样我们在使用XMLHttpRequest对象的时候可以使用同一的创建方法：（来自《精通JavaScript》）[代码]发送请求GET请求只支持发送串行...</summary><published>2008-08-14T09:19:00Z</published><updated>2008-08-14T09:19:00Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/14/1268090.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/14/1268090.html"/></entry><entry><id>http://www.cnblogs.com/zhengchuyu/archive/2008/08/14/1267488.html</id><title type="text">DDjs发布：纯js拼图小游戏PuzzleGame</title><summary type="text">放这里不大方便，大家可以下面的地址访问，服务器有点慢，请耐心等待图片下载完毕呵呵～http://www.zhengchuyu.cn/works/js/pzg/index.html这是我用js写的第一个小游戏，虽然没什么技术含量，但是总算是一点成果。通过IE7、Firefox及Opera测试，但是没有在IE6下运行过&amp;#8230;&amp;#8230;页面中有源码下载的链接，大家可以看看，感兴趣的话可以按说...</summary><published>2008-08-13T19:49:00Z</published><updated>2008-08-13T19:49:00Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/14/1267488.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/14/1267488.html"/></entry><entry><id>http://www.cnblogs.com/zhengchuyu/archive/2008/08/13/1267056.html</id><title type="text">JavaScript 正则表达式 笔记 </title><summary type="text">特殊字符转义（小写!)\w word 字母数字下划线[a-zA-Z0-9_]\s space 任何Unicode空白符 [\n\r\f\t\v]\d decimal [0-9]\b bound 单词边界 （/^JavaScript\b/ 与 &amp;#8220;JavaScript is...&amp;#8221;匹配，不与&amp;#8220;JavaScript:alert('');&amp;#8221;匹配）重复{n}{...</summary><published>2008-08-13T08:32:00Z</published><updated>2008-08-13T08:32:00Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/13/1267056.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/13/1267056.html"/></entry><entry><id>http://www.cnblogs.com/zhengchuyu/archive/2008/08/13/1266959.html</id><title type="text">JavaScript Cookie操作 笔记</title><summary type="text">cookie的属性expires 生存期默认：会话期间存在(用户关闭浏览器后，cookie值被销毁）其他：日期格式规范为GMT（或UCT）"Weekday, DD-Mon-YYYY HH:MM:SS GMT" 解决方法是使用Date对象。path 可访问的路径默认：创建该cookie值的网页路径（cookie只能被同在当前目录中的其他页面，或者当前目录的子目录中的页面访问）其他：可以将path设置...</summary><published>2008-08-13T07:12:00Z</published><updated>2008-08-13T07:12:00Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/13/1266959.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/13/1266959.html"/></entry><entry><id>http://www.cnblogs.com/zhengchuyu/archive/2008/08/05/1261141.html</id><title type="text">DDjs步步为营：JavaScript查看大图效果[DDbox]</title><summary type="text">时常看到一种js效果，点击网页上一个图片，背景变灰，前景出现一个图片框，框里显示被点击图片的大图。著名的实现有lightbox和thickbox。以前看到这种效果觉得很酷，现在自己也来简单实现一个（就叫DDbox哈哈）。第一步：设计页面标记首先要考虑的是在页面文档中要怎么标记这样一个位置：当你点击该位置的时候会出现上文所述效果。考虑到当JavaScript被禁用时，仍能确保一定的用户体验，我们使用...</summary><published>2008-08-05T09:00:00Z</published><updated>2008-08-05T09:00:00Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/05/1261141.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/archive/2008/08/05/1261141.html"/></entry><entry><id>http://www.cnblogs.com/zhengchuyu/archive/2008/07/31/1257168.html</id><title type="text">浏览器兼容的禁用右键的JavaScript代码</title><summary type="text">今天在百度知道上看到有人提问怎么用JS禁用页面右键。自己写了一个[代码]【可以在当前页面上右键测试】但是发现只能兼容IE和Firefox，Opera中却没有事件响应。不知道要怎么解决？</summary><published>2008-07-31T04:25:00Z</published><updated>2008-07-31T04:25:00Z</updated><author><name>东捣CY</name><uri>http://www.cnblogs.com/zhengchuyu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhengchuyu/archive/2008/07/31/1257168.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhengchuyu/archive/2008/07/31/1257168.html"/></entry></feed>
