﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-丁学的博客</title><link>http://www.cnblogs.com/dingxue/</link><description>写代码居然会感觉到累，唉，好吧，那我以后靠嘴皮子吃饭了。</description><language>zh-cn</language><lastBuildDate>Mon, 07 Jul 2008 02:17:26 GMT</lastBuildDate><pubDate>Mon, 07 Jul 2008 02:17:26 GMT</pubDate><ttl>60</ttl><item><title>[贴图]博客园T恤男士新版</title><link>http://www.cnblogs.com/dingxue/archive/2008/07/02/1233888.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Wed, 02 Jul 2008 04:37:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/07/02/1233888.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1233888.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/07/02/1233888.html#Feedback</comments><slash:comments>57</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1233888.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1233888.html</trackback:ping><description><![CDATA[<div style="font-size:14px;color:#f60;font-weight:bold;">
<p>由于Terry Lee故意丑化本人形象<a href="http://www.cnblogs.com/Terrylee/archive/2008/07/02/1233661.html" target="_blank">于此</a>(本人并非如此爱睡觉)，因此本人决定发布被此人雪藏之照片以昭清白：</p>
<p>江湖规矩，合影在先：</p>
<p style="text-align:center;"><img src="http://www.cnblogs.com/images/cnblogs_com/dingxue/131234/r_cnblogs_TShirt_TerryLee_Anytao_DingXue.JPG" alt="博客园T恤男士版之Terry Lee, Anytao, Ding Xue" /></p>
<p>本公司规矩，单人随后：</p>
<p style="text-align:center;"><img src="http://www.cnblogs.com/images/cnblogs_com/dingxue/131234/r_cnblogs_TShirt_TerryLee.JPG" alt="博客园T恤男士版之Terry Lee" /></p>
<p style="text-align:center;"><img src="http://www.cnblogs.com/images/cnblogs_com/dingxue/131234/r_cnblogs_TShirt_Anytao.JPG" alt="博客园T恤男士版之Anytao" /></p>
<p style="text-align:center;"><img src="http://www.cnblogs.com/images/cnblogs_com/dingxue/131234/r_cnblogs_TShirt_DingXue.JPG" alt="博客园T恤男士版之Ding Xue" /></p>
<p>本人规矩，对对碰：</p>
<p style="text-align:center;"><img src="http://www.cnblogs.com/images/cnblogs_com/dingxue/131234/r_cnblogs_TShirt_TerryLee_Anytao.JPG" alt="博客园T恤男士版之Terry Lee, Anytao" /></p>
<p style="text-align:center;"><img src="http://www.cnblogs.com/images/cnblogs_com/dingxue/131234/r_cnblogs_TShirt_Anytao_DingXue.JPG" alt="博客园T恤男士版之Anytao, Ding Xue" /></p>
<p style="text-align:center;"><img src="http://www.cnblogs.com/images/cnblogs_com/dingxue/131234/r_cnblogs_TShirt_TerryLee_DingXue.JPG" alt="博客园T恤男士版之Terry Lee, Ding Xue" /></p>
</div><img src ="http://www.cnblogs.com/dingxue/aggbug/1233888.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37557/" target="_blank">[新闻]Ask完成收购Dictionary 跃居全球第9大网站</a>]]></description></item><item><title>电子商务胡说八道之：也论贝塔斯曼的倒掉</title><link>http://www.cnblogs.com/dingxue/archive/2008/06/24/1228597.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Mon, 23 Jun 2008 22:53:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/06/24/1228597.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1228597.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/06/24/1228597.html#Feedback</comments><slash:comments>59</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1228597.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1228597.html</trackback:ping><description><![CDATA[<p>贝塔斯曼终于还是倒掉了，预料之中也预料之外。之中的是经营模式在中国有问题，在实体书店遍地B2C满网的时代，它那点折扣实在难以吸引人，而且书的种类有点太那个啥了；之外的是没想到是这样一个结局，蛮以为它们会继续撑下去，慢慢变小，最终消失不见。话说回来，他们有这个魄力去放弃，我相信他们在其他一个行业一定会有所成功（当然，可能依然不会在中国）。<span class="dxef">（本文原发表于博客园，作者丁学）</span></p>

<p>偶然在网易博客看到了陈永东的一篇<a href="http://163cyd.blog.163.com/blog/static/78588663200851633752743/" target="_blank">《贝塔斯曼唇亡，当当卓越齿寒》</a>，说实话，看到这个标题的第一眼心里一紧，有如此奥义？夸大其辞了吧？看完文章，有些地方说得很好，但总体的这个观点，我难以认同。贝塔斯曼的倒掉，早在预料之中，也没有如此悲观与隆重，无非就是国际巨头又一次败走中国，算不得什么大事，况且以贝塔斯曼的现状，它的倒掉，还远不至于影响一个行业。影响小有影响小的好处，也有影响小的坏处，因为影响小所以不会妨碍这个行业，但也因为影响小所以当当卓越们也无法从此次事件中获得太多的好处，那当当们卓越们还是一如既往的生活吧。</p>

<p>卓越越来越像亚马逊了（:P汗一个，其实卓越就是中国的亚马逊，这是他们的目标），亚马逊是一个聪明的公司，在电子商务行业有着极其丰富的经验和教训，所以卓越不会像贝塔斯曼这般容易倒掉，但是么，在中国这片伟大的土地上，在无数奇迹发生的同时，也有一个定则一直有效，那就是国际网络巨头在这儿混不开。卓越归亚马逊之后一直疯狂完善物流体系，这个是亚马逊的经验，按他们来看，这个没道理会失败，事实上，没有失败，但也不像他们想象的那样好。物流这东西，在中国，他们一时半会儿还是搞不明白的。当当依然生意贼好，虽然当当的物流一直为人所诟病，但生意好就行了，不合理的地方可以改嘛，有钱入帐就一切好办。照我老婆的话说：存在即是道理，活着才是王道。就算卓越在全国各地一级城市都设置物流中心，他们也没办法把物流提升到比当当上一个级别，只是好一点而已，当当没有亚马逊那么财大气粗，所以还是老老实实赚钱要紧，省下的，就是赚下的。</p>

<p>说起亚马逊与物流，亚马逊可以说是一个伟大的公司，物流呢确实是电子商务中最重要环节之一，但是一个伟大的公司复制到中国……前车一堆鉴，自己看着办。物流好，但要有个限度，卓越的瓶颈不在物流，到了中国就要按中国的来，头痛医头脚痛医脚才有得活，不然疼死先。卓越提升物流就是提高当当们的门槛，但是当当们抢占卓越市场，就是把卓越往悬崖上推，一旦掉下去……嘿嘿，你门槛能有多高？悬崖多深知道不？</p>

<p>陈永东还提到了其他大网站会不会来围剿的问题，这是个问题，但现在还不是个大问题，这个市场刚刚开始成熟起来，甚至也还算不得成熟，好多配套设置都是刚刚才开始的，目前大家的任务是一起把市场做大，而不是说谁围剿谁的问题，谁也不想像当年易趣为了围剿淘宝而死于非命（易趣不会死，随口一说）。百度、腾讯、阿里系，全瞅准电子商务了，但是大家看到的东西不一样，大家自己做自己的，是一个全方位做大市场，催熟大环境的机会，对大家都有利，先行者可以得到长久以来得不到的，后到者可以分一杯羹。<span class="dxef">（本文原发表于博客园，作者丁学）</span></p>

<p>在B2C行业，因为门槛相对高一些，初期积累很重要，所以对于一个接近成熟的行业，比如图书，不会有人轻举妄动，这方面来看当当们还是稍微安全一点的（卓越开始全业务运营，所以可能没这么安全），有钱的大佬都盯着新行业，比如从去年一直搞到今天都如此“红火”的衬衫。至于淘宝、拍拍之类，C2C的图书交易也一直兴隆得很，但是，还是要说但是，C2C上的散户注定是小众群体，会一直存在，但永远无法对当当卓越们造成致命伤害，如果出版社直接上了淘宝，那又另当别论了，可惜他们没有这个精力，也没有这个胆量，渠道造反是很严重的问题，非常严重。</p>

<p>如果真想找一个可以影响当当卓越们的，还真有，而且是一无敌的主儿，认真做起来，那就不是影响了，是致命，绝对致命，当当卓越们全得趴下，那就是新华书店，想象一下，如果新华书店开了B2C业务，有了不算很差的网站用户体验，有了能够支撑足够访问量也不至于down掉的服务器和带宽，有了肯市场化经营的思想，有了肯放下身段打折销售的想法……想想它那无敌的供货渠道，想想它那无敌的议价能力，想想它那无敌的配送体系……真TMD的无敌！还好还好，新华书店现在还是皇帝的小女儿，前途有，但远在十万八千里之外。</p><img src ="http://www.cnblogs.com/dingxue/aggbug/1228597.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37556/" target="_blank">[新闻]Google Adplanner：究竟有多强大</a>]]></description></item><item><title>Firefox2的一个bug和脑子进了水的IE</title><link>http://www.cnblogs.com/dingxue/archive/2008/06/03/1212553.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Mon, 02 Jun 2008 23:34:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/06/03/1212553.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1212553.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/06/03/1212553.html#Feedback</comments><slash:comments>9</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1212553.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1212553.html</trackback:ping><description><![CDATA[<p>先来说IE的这个小问题，对于一个输入框，如果指定了disabled="disabled"，那么所有样式对它无效，不知道IE的开发团队是怎么想的，虽然用户禁用了文本框的可输入性，但并没有禁止此框的显示，所以让样式失效不知道是出于什么考虑。虽然如果样式对禁用的文本框起作用可能会产生“欺骗”，当disabled的文本框和其他文本框表现完全一样时，这是一种对用户的欺骗，明明看起来一样的东西，却产生不同的行为，但是这个东西应该是设计师们考虑的，设计师们自然会给两种文本框不同的样式，除非他也没想明白……但无论如何，IE都不应该越俎代庖，一棒子全打死了，这多不好？</p>
<p>下面来说Firefox的这个bug，这个就有趣的多：(废话不多说，直接看代码)</p>

<div style="font-family:宋体;border:1px solid #ccc;background:#eee;margin:10px;">
<span style="color:#093;">&lt;!--本文最初发表于<a href="http://dingxue.cnblogs.com/archive/2008/06/03/1212553.html">博客园-丁学</a>，此BUG出现在FF2，FF3无此BUG，其他版本未测试--></span><br />
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
&lt;html xmlns="http://www.w3.org/1999/xhtml"><br />
&lt;head><br />
&nbsp; &nbsp; &lt;title>可爱的FireFox&lt;/title><br />
&nbsp; &nbsp; &lt;script type="text/javascript"><br />
&nbsp; &nbsp; &nbsp; &nbsp; function display(r){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var s = document.getElementById("tbl").rows[1].cells[r];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s.style.display = s.style.display=="none"?"":"none";<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &lt;/script><br />
&lt;/head><br />
&lt;body><br />
&nbsp; &nbsp; &lt;form method="post" action="" id="form1"><br />
&nbsp; &nbsp; &nbsp; &nbsp; 这个控制td1&lt;input type="checkbox" value="1" checked="checked" onclick="display(0);" />&lt;br /><br />
&nbsp; &nbsp; &nbsp; &nbsp; 这个控制td2&lt;input type="checkbox" value="2" checked="checked" onclick="display(1);" />&lt;br /><br />
&nbsp; &nbsp; &nbsp; &nbsp; 先把上面两个复选框取消选择，这样td1/td2会被display:none了，然后先选择前一个显示td1，再选择后一个显示td2，看header!&lt;br /><br />
&nbsp; &nbsp; &nbsp; &nbsp; bug仅在FF2下被发现，FF3没有此问题，其他版本未测试<br />
&nbsp; &nbsp; &lt;/form><br />
&nbsp; &nbsp; &lt;table id="tbl" border="1" style="border-collapse:collapse;width:300px;"><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;tr><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td colspan="2">header&lt;/td><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;tr><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td>td1&lt;/td><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td>td2&lt;/td><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr><br />
&nbsp; &nbsp; &lt;/table><br />
&lt;/body><br />
&lt;/html><br />
<span style="color:#093;">&lt;!--原文链接：http://dingxue.cnblogs.com/archive/2008/06/03/1212553.html--></span>

</div>

<p style="color:#963;">警告：上述代码仅为表现一种形式而产生，漏洞多多，标准不符，请勿直接用于生产环境。</p>
<p>最近发现很多人转载不加原文链接，那我只好自己加上了：<a href="http://dingxue.cnblogs.com/archive/2008/06/03/1212553.html">丁学</a></p>
<img src ="http://www.cnblogs.com/dingxue/aggbug/1212553.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37555/" target="_blank">[新闻]微软步入后盖茨时代 鲍尔默应作10件大事</a>]]></description></item><item><title>程序员的恐惧……</title><link>http://www.cnblogs.com/dingxue/archive/2008/06/01/1211591.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Sun, 01 Jun 2008 05:37:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/06/01/1211591.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1211591.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/06/01/1211591.html#Feedback</comments><slash:comments>60</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1211591.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1211591.html</trackback:ping><description><![CDATA[<p style="color:#963;">我见过一些人，他们通常强调尽可能简单，但若事情突然变得比他们预期的还要简单很多，他们就开始感到不适，甚至拒绝接受这种简单，其实即使事物的发展方向和你的前进方向相一致，但如果发展速度大大超越了你，仍然有可能引发你内心对失控的恐惧。<div style="text-indent:6em;">----引用自<a href="http://www.cnblogs.com/allenlooplee/archive/2008/06/01/1211520.html" target="_blank">我眼中的C# 3.0 (Allen Lee)</a></div></p>

<p>每一个程序员都希望工具能够更进步，能够更好的服务自己，好让自己少加一些班，但是一旦它真的变好，好到自己已经感觉不可控，那么一种恐惧感便油然而生，随之而来的是不屑、挑刺、贬低、迷茫、无所适从，甚至恶意攻击、无端谩骂等等……</p>

<p>就像当年Java初入世，那些C/C++的元老们一样：<span style="color:#963;">Java只能用来在页面上用applet作一些可笑的小动画，Java只能对对火柴棍排序，Java慢得像牛车，Java有内存泄露，Java狂耗内存，Java愚蠢的弱类型容器可以把鲸鱼装进一个笔筒，Java居然没有指针，Java做不了系统程序设计，Java写不了操作系统，Java解决不了我手头的超超级复杂的巨牛无比的难题(<a href="http://blog.csdn.net/myan/archive/2006/09/25/1281151.aspx" target="_blank">孟岩</a>)</span>云云，当然亦如如今Java/.Net元老们对待动态语言态度一样。</p>

<p>没有什么一出世就是完美的，但也没有什么可以一直完美下去，抵制，只因为习惯，只因为恐惧，习惯于写N长的代码去解决一个问题，恐惧于别人两行代码代替了自己2000行的功能，习惯于自己是公司的元老是大牛，恐惧于一个初生牛犊解决了自己长久以来难以解决的问题…… 因为抵制，由此产生的攻击，如此说来，这也算是一种进步，一个新兴的东西，有这些抵制者来发现问题，才会更好的在下一步解决问题，以更好的替代。</p>

<p>由此想来，为什么程序员总是很累？虽然加班经常，但还不至于天天都晚上十点还要搬砖垒墙，虽然压力偏大，也还不至于头一天陪客户蹦迪到凌晨4点，早晨8点还得西装领带满脸笑容神采奕奕去见另一个客户，虽然挣钱无多，怕也不至于到过年回家时还要追着老板要路费。可是依然感觉累，周末睡了两天，周一早晨依然没有精神，于是，要找个替罪羊，总不能就这样不明不白的累了吧？怪老板，老板天天给我们N多任务，压得我们喘不过气，可是老板发我们钱，万一他不爽我们就惨了，所以想想，还是忍了吧；怪PM，他总看我不顺眼，啥事儿都让我干，还处处给我小鞋儿，不行，如果他在老板面前说我坏话……还是算了；Java！.Net！可恶，天天出新东西，搞得我天天跟着跑还跑不过来，不跟？老板拿隔壁公司说事儿：看人家可以XXX，看人家的系统XXX，人家都能XXX你们为什么不能？！</p>

<p>程序写的累，天天为解决这些问题想破脑袋，于是天天盯着MS的网站看是不是又出什么好东西可以让我少加会儿班？咦？果然有新东西，下载，安装，启动，嗯……似乎有点摸不着头脑，这是什么？怎么用？算了，还是先不看了，今天的任务要先完成。过了两天，发现有人在用这个，第一反应：小儿科，我就是没时间，要不然……可是当别人真的拿那东西来做事情了，自己拿来看两眼：这东西似乎不太好学，会不会大家都开始用这个？如果我现在学不会，会不会影响我在团队中的地位？老板会不会给他加钱不给我加？</p>

<p>恐惧，又见恐惧，恐惧新事物，恐惧自己的经验贬值，于是乎，不屑，挑刺，贬低……恐惧的表现…………但不能让人看出来………………</p>

<p style="color:#f40;font-size:14px;text-align:center;">↓↓↓↓↓↓↓↓↓↓ 人说发牢骚可以长寿，给大家提供个地方 ↓↓↓↓↓↓↓↓↓↓</p>

<p>&nbsp;</p>
<img src ="http://www.cnblogs.com/dingxue/aggbug/1211591.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37554/" target="_blank">[新闻]说说麦田的博客过时论</a>]]></description></item><item><title>《博客园精华集－WEB分册》筛选标准、内容分布初稿，意见征询火热进行中！！</title><link>http://www.cnblogs.com/dingxue/archive/2008/05/21/1204269.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Wed, 21 May 2008 10:19:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/05/21/1204269.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1204269.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/05/21/1204269.html#Feedback</comments><slash:comments>33</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1204269.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1204269.html</trackback:ping><description><![CDATA[<p style="color:#f00;font-weight:bold;">概述：</p>
<p>目前WEB分册由 <a href="http://justinyoung.cnblogs.com/" target="_blank">杨正祎（阿一）</a>、<a href="http://ruxpinsp1.cnblogs.com/" target="_blank">棕熊</a>、<a href="http://leadzen.cnblogs.com/" target="_blank">李战</a> 和 <a href="http://dingxue.cnblogs.com/" target="_blank">丁学</a> 一共四个人负责筛选工作，分工如下：</p>
<div style="margin-left:20px;">
	杨正祎（阿一）Web标准<br />
	丁学 HTML/CSS<br />
	棕熊 网站维护、性能、安全经验、SEO<br />
	李战 JavaScript
</div>
<p>真的希望可以为大家奉献一本有用的书，虽然我们知道困难就在眼前…… <span style="color:#f00;">不放弃，就一定可以成功！</span></p>
<div style="margin-left:20px;">
	最不想的事情：把书搞成一个被大家认为无用的东西；<br />
	第二不想的事情：这本书被大家当作入门书；<br />
	第三不想的事情：大家仅仅为了收藏而买这本书……
</div>

<p style="color:#f00;font-weight:bold;">筛选标准：</p>
<div style="margin-left:20px;">
	1、符合<a href="http://blogexcerption.cnblogs.com/" target="_blank">精华集选题要求</a>（如果这个不符合，估计也不会轮到我筛选）<br />
	2、不以点击量作为重要的筛选标准，但质量低了绝对不行<br />
	3、对于系列文章，前期筛选将保留其中所有有价值文章，但最终需要由作者或编辑协助组合成一或两篇<br />
	4、同一作者第一轮筛选保留文章数原则上不超过8篇，最终入选同一作者原则上不超过5篇（说实话，博客园人才济济，最终可能一个作者最多三篇）<br />
	5、以经验和技巧及相关总结为主，大段摘抄W3C说明的一律毙掉<br />
	6、HTML将以XHTML和HTML5相关内容为主<br />
	7、单纯讲解CSS hack类文章原则上不予入选（虽然天天在用，但我想多数人恨透了这东西）<br />
	8、最终所有代码将会使用主流浏览器进行检测（IE6、IE7、FF2），无法全部通过的将被扣分，单独针对某一款浏览器做的特效、优化将被严格控制数量<br />
	9、CSS也将通过浏览器检测，可以为解决问题而使hack成为整个解决方案的一部分，但满屏hack的视同第6条<br />
	10、JS同样会经过主流浏览器检测<br />
	11、AJAX有另外分册介绍，HTML/CSS/JS文章中可以使用部分AJAX实现效果，但以AJAX为主的不予入选（不敢抢他们生意啊）<br />
	12、网页优化（主要是性能/速度/结构优化，SEO的不算）类文章将会获得加分
</div>
<p>PS：上面写的只是一个初步的想法，所以有意见的请尽快提。之所以现在写出这个，一是鼓励大家近期写一些内容，二是想让大家能够先按照这个对自己原来的文章进行一些修改，可以省去我们不少事儿，哈哈，在此先行谢过。</p>

<p style="color:#f00;font-weight:bold;">工作流程：</p>
<div style="margin-left:20px;">绝对服从包包同学安排。</div>

<p style="color:#f00;font-weight:bold;">内容分布：</p>
<div style="margin-left:20px;">
	<span style="color:#00f;">WEB标准部分：</span>重点选择对WEB标准进行深度或广度分析的文章。<br />
	<span style="color:#00f;">HTML部分：</span>只出现HTML相关内容的文章，优先选用HTML趋势分析、深度讲解等理论性的东西。<br />
	<span style="color:#00f;">CSS部分：</span>超级CSS技巧，满大街都是的代码，原创也不行。<br />
	<span style="color:#00f;">javascript部分：</span>JS深度讲解、JS技巧、执行性能、脚本安全等，目标就是你看完了就发现自己原来不懂JS。<br />
	<span style="color:#00f;">javascript框架：</span>流行框架权威解读，框架选择经验，横向对比数据等等。<br />
	<span style="color:#00f;">性能优化部分：</span>本册重头戏，网页结构优化、执行/渲染性能、服务器端针对前端页面的优化/安全设置等等<br />
	<span style="color:#00f;">综合技巧部分：</span>网页设计制作中常见问题的解决方案，不包括解决极其偏门儿的问题且不包含通用技巧的文章。
</div>

<p style="color:#f00;font-weight:bold;">意见征询：</p>
<p>大家有啥说啥，多多益善！为了大家的幸福，加油！</p>
<img src ="http://www.cnblogs.com/dingxue/aggbug/1204269.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37549/" target="_blank">[新闻]阿里巴巴确立未来十年战略规划 修改自身定位</a>]]></description></item><item><title>用javascript操纵GridView中CheckBox的两个常用技巧</title><link>http://www.cnblogs.com/dingxue/archive/2008/05/19/1202305.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Sun, 18 May 2008 23:51:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/05/19/1202305.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1202305.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/05/19/1202305.html#Feedback</comments><slash:comments>15</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1202305.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1202305.html</trackback:ping><description><![CDATA[<p>这篇文章同样是为了解决一个博问中的提问： <a href="http://space.cnblogs.com/question/1311/" target="_blank">提问：关于JS读取gridview,checkbox选择情况</a>。当然，下面的实现中，有一半是为解决这个问题而做的，另一半是很久前帮另一位朋友做的，同样关于javascript对GridView中的CheckBox的操作，只是操作顺序完全反过来了，不是获取所有选择的项，而是根据用户的输入，自动选择选择相应的项。</p>
<p>虽然是为了解决GridView中的CheckBox操纵问题，但实际上功能并不仅限于GridView中，稍加改动就可以用到其他的场景，甚至都不用改动（不知道有没有这么好糊弄的客户）</p>
<p>代码依然帖在下面，比上一篇 <a href="http://www.cnblogs.com/dingxue/archive/2008/05/19/1202303.html" target="_blank">用javascript/css实现GridView行背景色交替、点击行变色</a> 长了很多，不过我感觉注释依然足够详细，所以也应该很容易理解，可以把下面两个文件的代码直接复制到你的项目中直接执行。最下面有文件的下载地址，可以直接下载后运行，代码在IE7和Firefox2下测试通过，有任何问题，请在下面留言，我将尽量及时回复。</p>
<p style="color:#f06;">
	CheckBox.aspx<br />
	主要包含一个GridView，里面包含了我们要折腾的CheckBox，还有一大~~~~堆的javascript，当然也还是我们折腾的重要手段，只是目标基本已经换成了GridView中的CheckBox，和GridView本身并没有太大关系
</p>
<div style="border:solid 1px #999;background:#eee;padding:8px;font-family:宋体;line-height:18px;">

&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckBox.aspx.cs" Inherits="CheckBox" %><br />
<br />
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
&lt;html xmlns="http://www.w3.org/1999/xhtml"><br />
&lt;head runat="server"><br />
&nbsp; &nbsp; &lt;title>CheckBox&lt;/title><br />
&lt;/head><br />
&lt;body><br />
&nbsp; &nbsp; &lt;form id="form1" runat="server"><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:GridView runat="server" ID="gvMeiMingZi" AutoGenerateColumns="False"><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Columns><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TemplateField><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name="chk" type="checkbox" value="&lt;%#Eval("ID")%>" /><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TemplateField><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField="ID" HeaderText="ID" /><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField="Author" HeaderText="Author" /><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField="Title" HeaderText="Title" /><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField="PostTime" HeaderText="PostTime" /><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField="URL" <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataFormatString="&lt;a href='{0}' target='_blank'>点击打开&lt;/a>" <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HeaderText="Link" HtmlEncode="False" /><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Columns><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:GridView><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;p>已选择的项：&lt;input type="text" size="60" id="checked" />&lt;/p><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;p>要选择的项：&lt;input type="text" size="60" id="checking" />&lt;input type="button" value="选择" onclick="CheckThem()" />&lt;/p><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;p>当从上面GridView中选择或取消选择一项时，“已选择的项”中会自动更新为当前所有选中项的ID。&lt;/p><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;p>在“要选择的项”里填写要选择的项的ID（ID间用英文逗号分隔），点击“选择”可自动选中要选择的项。&lt;/p><br />
&nbsp; &nbsp; &lt;/form><br />
&nbsp; &nbsp; &lt;script type="text/javascript"><br />
&nbsp; &nbsp; &nbsp; &nbsp; //先获取到所有的checkbox再说<br />
&nbsp; &nbsp; &nbsp; &nbsp; var chkList = document.getElementsByName("chk");<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; window.onload = function(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //为所有checkbox添加onclick事件处理，以自动更新“已选择的项”<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(var i=0; i&lt;chkList.length; i++){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; chkList[i].onclick = chkClick;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; //checkbox的onclick事件，用于更新“已选择的项”<br />
&nbsp; &nbsp; &nbsp; &nbsp; function chkClick(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var checkedList = "";<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //获取所有被选中的项<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(var i=0; i&lt;chkList.length; i++){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(chkList[i].checked)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; checkedList += chkList[i].value + ",";<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //把选中项的列表显示到“已选择的项”中，substring在这里是为了去除最后一个逗号<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.getElementById("checked").value = checkedList.substring(0,checkedList.length-1);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; //根据在“要选择的项”中的输入选中相应的项<br />
&nbsp; &nbsp; &nbsp; &nbsp; function CheckThem(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var checkingList = document.getElementById("checking").value;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //没有输入就直接返回<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(checkingList.length==0){return;}<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //获取所有想要选择项的ID<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var checkingIds = checkingList.split(",");<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //设置选择状态，注意两个循环的顺序，如果把chkList放到内层，将不能保证总是取得正确结果<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //因为如果输入了多个ID，后面的ID会把前面的正确结果给冲掉<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(var j=0; j&lt;chkList.length; j++){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(var i=0; i&lt;checkingIds.length; i++){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(checkingIds[i] == chkList[j].value){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; chkList[j].checked = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; chkList[j].checked = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &lt;/script><br />
&lt;/body><br />
&lt;/html>

</div>

<p style="color:#f06;">
	CheckBox.aspx.cs<br />
	还是用来生成测试数据的，不然前面的GridView里没东西，就没得折腾了
</p>
<div style="border:solid 1px #999;background:#eee;padding:8px;font-family:宋体;line-height:16px;">

using System;<br />
using System.Data;<br />
<br />
public partial class CheckBox:System.Web.UI.Page<br />
{<br />
&nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; //生成DataTable并添加相应的列<br />
&nbsp; &nbsp; &nbsp; &nbsp; DataTable dt = new DataTable();<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Columns.Add("ID");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Columns.Add("Author");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Columns.Add("Title");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Columns.Add("PostTime");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Columns.Add("URL");<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; //测试数据填充<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(1, "丁学", "用javascript/css实现GridView行背景色交替、点击行变色", "*************",<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "**********************************************************************");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(1, "丁学", "突发奇想－－有关微软未来", "2008-05-11 09:59",<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2008/05/11/1191936.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(2, "丁学", "可爱的google翻译，笑死我了", "2008-05-11 09:07 ", <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2008/05/11/1191900.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(3, "丁学", "模板修改后重新发布", "2008-04-26 07:22", <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2008/04/26/1171778.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(4, "丁学", "想买啥 VS 买了啥！理想与现实的差距咋就这么大咧?", "2008-04-13 07:39",<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2008/04/13/1150952.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(5, "丁学", "XHTML/CSS记忆力大测试，两项都超过我，我请你吃饭！", "2008-04-03 06:40",<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2008/04/03/xhtml_css_test.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(6, "丁学", "Designer VS Coder, who is the winner?", "2008-03-26 07:44", <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2008/03/26/coder_vs_designer.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(7, "丁学", "用DIV模拟弹出窗口－－窗体滚动跟随－－丁学", "2007-09-03 08:42", <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2007/09/03/879654.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(8, "丁学", "一个简单但常用的表格样式－－鼠标划过行变色－－简洁实现", "2007-08-09 07:12",<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2007/08/09/848555.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(9, "丁学", "关于IE7关闭窗口时总是提示和上传图片前的本地预览解决办法", "2007-06-19 08:50",<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2007/06/19/788449.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(10, "丁学", "IE对input元素onchange事件的支持BUG", "2007-03-23 07:54",<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2007/03/23/684807.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(11, "丁学", "由验证控件引起的IE的超级爆笑BUG", "2007-03-22 07:35", <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2007/03/22/683401.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(12, "丁学", "DIV中滚动条设置到随机位置(CSS+Javascript)", "2007-03-18 12:17", <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2007/03/18/678839.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(13, "丁学", "ASP.NET AJAX1.0尝鲜试用：Web Service调用", "2007-03-17 17:36",<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2007/03/17/678383.html");<br />
&nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(14, "丁学", "ASP.NET中利用利用Skin引入CSS的问题", "2007-03-17 17:30",<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://www.cnblogs.com/dingxue/archive/2007/03/17/678374.html");<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; //将DataTable绑定到GridView<br />
&nbsp; &nbsp; &nbsp; &nbsp; gvMeiMingZi.DataSource = dt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; gvMeiMingZi.DataBind();<br />
&nbsp; &nbsp; }<br />
}

</div>

<p style="font-size:14px;font-weight:bold;color:#f06;">示例文件：<a href="http://www.cnblogs.com/Files/dingxue/GridView_Javascript.rar">点击这里下载示例文件</a></p>
<img src ="http://www.cnblogs.com/dingxue/aggbug/1202305.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37548/" target="_blank">[新闻]微软高管：Wii用户最终会成为Xbox 360用户</a>]]></description></item><item><title>用javascript/css实现GridView行背景色交替、点击行变色</title><link>http://www.cnblogs.com/dingxue/archive/2008/05/19/1202303.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Sun, 18 May 2008 23:43:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/05/19/1202303.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1202303.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/05/19/1202303.html#Feedback</comments><slash:comments>20</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1202303.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1202303.html</trackback:ping><description><![CDATA[<p>前几天在博问里发现有人问关于 <a href="http://space.cnblogs.com/question/1299/" target="_blank">GridView点击行变色</a> 的问题，突然想起很久很久以前，写过一篇文章 <a href="http://www.cnblogs.com/dingxue/archive/2007/08/09/848555.html" target="_blank">一个简单但常用的表格样式－－鼠标划过行变色－－简洁实现</a> ，是关于表格行颜色交替和鼠标指向时变色的，正好今天把那一篇补充和扩展一下，加上鼠标点击选择（其实只是点击后变个颜色，“选择”这个词在这里不合适），顺便把这个直接应用到GridView上，如果是其他的控件，或者直接的HTML，稍加修改也可以用上，这里仅提供一个思路。虽然GridView使用AlternatingRowStyle提供了交替行背景色的问题，但这个东西用着实在不爽，看它生成到HTML的那个table，那叫一个乱啊。</p>
<p>下面是代码，注释应该还算比较详细，比较适合初学者，可以把下面两个文件的代码直接复制到你的项目中直接执行。最下面有文件的下载地址，也可以直接下载后运行，代码在IE7和Firefox2下测试通过，有任何问题，请在下面留言，我将尽量及时回复。</p>
<p style="color:#f06;">
	BackgroundColor.aspx<br />
	主要包含一个GridView，是我们折腾的重点对象，还有一堆javascript，是我们折腾GridView的手段
</p>
<div style="border:solid 1px #999;background:#eee;padding:8px;font-family:宋体;line-height:18px;">

&lt;%@ Page Language="C#" AutoEventWireup="true"  CodeFile="BackgroundColor.aspx.cs" Inherits="_BackgroundColor" %><br />
<br />
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<br />
&lt;html xmlns="http://www.w3.org/1999/xhtml"><br />
&lt;head><br />
&nbsp; &nbsp; &lt;title>BackgroundColor&lt;/title><br />
&lt;/head><br />
&lt;body><br />
&nbsp; &nbsp; &lt;form id="form1" runat="server"><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:GridView runat="server" ID="gvMeiMingZi">&lt;/asp:GridView><br />
&nbsp; &nbsp; &lt;/form><br />
&nbsp; &nbsp; &lt;script type="text/javascript"><br />
&nbsp; &nbsp; &nbsp; &nbsp; //把事件放在onload里，因为我不知道JS如果直接写到这儿是不是会等页面加载完才执行<br />
&nbsp; &nbsp; &nbsp; &nbsp; //使用&lt;%=%>方式输出GridView的ID是因为某些情况下（如使用了MasterPage）会造成HTML中ID的变化<br />
&nbsp; &nbsp; &nbsp; &nbsp; //颜色值推荐使用Hex，如 #f00 或 #ff0000<br />
&nbsp; &nbsp; &nbsp; &nbsp; window.onload = function(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GridViewColor("&lt;%=gvMeiMingZi.ClientID%>","#fff","#eee","#6df","#fd6");<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; //参数依次为（后两个如果指定为空值，则不会发生相应的事件）：<br />
&nbsp; &nbsp; &nbsp; &nbsp; //GridView ID, 正常行背景色,交替行背景色,鼠标指向行背景色,鼠标点击后背景色<br />
&nbsp; &nbsp; &nbsp; &nbsp; function GridViewColor(GridViewId, NormalColor, AlterColor, HoverColor, SelectColor){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //获取所有要控制的行<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var AllRows = document.getElementById(GridViewId).getElementsByTagName("tr");<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //设置每一行的背景色和事件，循环从1开始而非0，可以避开表头那一行<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(var i=1; i&lt;AllRows.length; i++){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //设定本行默认的背景色<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllRows[i].style.background = i%2==0?NormalColor:AlterColor;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //如果指定了鼠标指向的背景色，则添加onmouseover/onmouseout事件<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //处于选中状态的行发生这两个事件时不改变颜色<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(HoverColor != ""){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllRows[i].onmouseover = function(){if(!this.selected)this.style.background = HoverColor;}<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(i%2 == 0){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllRows[i].onmouseout = function(){if(!this.selected)this.style.background = NormalColor;}<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllRows[i].onmouseout = function(){if(!this.selected)this.style.background = AlterColor;}<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //如果指定了鼠标点击的背景色，则添加onclick事件<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //在事件响应中修改被点击行的选中状态<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(SelectColor != ""){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllRows[i].onclick = function(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.style.background = this.style.background==SelectColor?HoverColor:SelectColor;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.selected = !this.selected;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &lt;/script><br />
&lt;/body><br />
&lt;/html><br />

</div>

<p style="color:#f06;">
	BackgroundColor.aspx.cs<br />
	用于生成一堆用于测试的数据，不然前面的GridView里啥也没有，就看不出效果了
</p>
<div style="border:solid 1px #999;background:#eee;padding:8px;font-family:宋体;line-height:16px;">

using System;<br />
using System.Data;<br />
<br />
public partial class _BackgroundColor:System.Web.UI.Page<br />
{<br />
&nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; //生成DataTable并添加10个列<br />
&nbsp; &nbsp; &nbsp; &nbsp; DataTable dt = new DataTable();<br />
&nbsp; &nbsp; &nbsp; &nbsp; for(int i = 0; i &lt; 10; i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dt.Columns.Add();<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; //往DataTable里添加20行数据<br />
&nbsp; &nbsp; &nbsp; &nbsp; for(int i = 0; i &lt; 20; i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dt.Rows.Add(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; //将DataTable绑定到GridView<br />
&nbsp; &nbsp; &nbsp; &nbsp; gvMeiMingZi.DataSource = dt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; gvMeiMingZi.DataBind();<br />
&nbsp; &nbsp; }<br />
}<br />

</div>

<p style="font-size:14px;font-weight:bold;color:#f06;">示例文件：<a href="http://www.cnblogs.com/Files/dingxue/GridView_Javascript.rar">点击这里下载示例文件</a></p>
<img src ="http://www.cnblogs.com/dingxue/aggbug/1202303.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37548/" target="_blank">[新闻]微软高管：Wii用户最终会成为Xbox 360用户</a>]]></description></item><item><title>关于《博客园精华集》第一轮筛选的一点想法</title><link>http://www.cnblogs.com/dingxue/archive/2008/05/18/1201811.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Sun, 18 May 2008 00:37:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/05/18/1201811.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1201811.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/05/18/1201811.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1201811.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1201811.html</trackback:ping><description><![CDATA[<p>很抱歉昨天晚上有重要安排，所以未能参加MSN会议，错过了与大家讨论的机会，看过聊天记录和团队博客里的会议记录，有下面这些想法：</p>
<p>1. 对于第一轮筛选的标准，如果要安全起见，第一轮标准应该放得尽量低，因为第一轮是每个人都要经手几乎所有分类的文章，但事实上不可能每个人都熟悉很多个分类，甚至有可能其中有些人对某一个或几个分类完全没有了解，这种情况下很容易造成误判，而且一般被误判的还都是文章比较少的分类（因为冷门所以不熟悉，因为熟悉所以误判），可能会造成一些小分类文章的严重短缺，因此，我建议第一轮标准尽量放低，基本可以按照包包的意思，第一轮中是去除非技术、转载、翻译，而不过多的对文章的质量等级作判别，这个任务留到第二轮分给各分册负责人，可以杜绝误判。</p>
<p>2. 关于去除转载，我感觉这是相当头疼的问题，很大一部分部分转载并不会标明是转载，所以这个判断就比较麻烦，一种可行的办法是利用搜索引擎，比如可以直接把标题复制到google、百度等几个搜索引擎中搜一下，一般值得转载而且有可能值得保留的文章，都可以搜索得到在网上的几份copy。问题也随之而来，一是工作量明显加大，二是无法对付连标题都修改的文章，三是如果搜出好几篇有时候并不很容易判断到底是谁在转载。</p>
<p>3. 去除翻译应该问题不大，一般有能力和时间翻译文章的，都会注明原文链接。</p>
<p>4. 关于dudu提供的文章列表（或者把这个放到那个筛选工具里），是否可以自动去除一些明显不可能有价值的文章？比如内容少于两百字，再有就是如果可以显示标题和一个摘要将会大大加快筛选进度。（因为昨天没在线，所以包建强发的图也没有收到，不知道这些是否已经提供了，如果已经提供，略过）</p>
<p>5. 对于任务分配，有两种原因会影响一个人的进度，一是运气超级好，50个博客大部分都是文章少而精，所以工作量小了（早期创建但后来不怎么用的博客里有一部分这种的），另一种原因就是这个人恰好比较闲，有足够的时间去做这些。与这两个相反的，任务量又大又没什么时间的，可能会很久弄不完，在这期间弄完的人又好像无事可做，所以这里应该存在一个任务再分配，前两天可以不管，一旦有人的工作进入尾声，那么就要开始监测各人的进度，如果有人剩余工作量过大，应该及时进行合理调配。把这个功能做到工具里？</p><img src ="http://www.cnblogs.com/dingxue/aggbug/1201811.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37547/" target="_blank">[新闻]遵守YouTube案裁定 谷歌将陷入隐私指控深渊</a>]]></description></item><item><title>突发奇想－－有关微软未来</title><link>http://www.cnblogs.com/dingxue/archive/2008/05/11/1191936.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Sun, 11 May 2008 01:59:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/05/11/1191936.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1191936.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/05/11/1191936.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1191936.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1191936.html</trackback:ping><description><![CDATA[<p>微软收购雅虎，失败了，本来嘛，就是一看客，而且虽然关心，但并不想说些什么，所以一直都没有言语，刚看到<a href="http://www.cnblogs.com/bit-sand" target="_blank">任力</a>的博客上一篇<a href="http://www.cnblogs.com/bit-sand/news/2008/05/11/1191901.html" target="_blank">商业周刊：没了雅虎 微软拿什么来抗衡Google</a>，突然有个吓坏自己的想法</p>
<p>诚然，收购不到雅虎，虽然微软的广告技术很高，但与google对抗还是需要不少时日，一个看似好遥远的未来，一个或许搞不好永不会实现的梦想，但战争绝不会结束，微软霸道这么多年，肯定不会这么容易击败，但是微软的未来在哪里？微软有着最复杂的显示广告技术，但是推广起来却找不到什么好的门路</p>
<p>如果，仅仅是如果，如果微软向国内一些小共享软件学习，比如原来的快车，把windows做成共享软件，不注册也可以用，但你要接受我的广告，注册了你就掏钱，我就帮去掉广告，估计用户们应该没有什么问题，因为大不了他们还花原来那么多钱注册一个和原来一样的windows，没有任何不同，但对于另一部分人来说，他们可能是因为没钱，或者根本就不想在这上面投资，所以如果共享了，可能会把这些人中的一部分拉过来，如果他们可以接受广告的话</p>
<p>需要担心的有两点，一是微软的windows销售会受到影响，至于影响多大，我不知道，对于中国来说，影响不大，反正他本来也卖不了多少，对于西方国家，不晓得他们对广告的接受程度到了一个什么样的水平，是否肯为了省些钱而接受一些广告，二是……（汗颜~~~写前一句时还想好了是两点，现在却想不起来第二点是啥了，等会儿想起来再补吧）</p>
<p>广告形式这时候变得特别重要，因为不同的广告肯定给用户的感觉不一样，对于广告客户，肯付出的价格也肯定不一样。四周看看这个windows，可以利用的地方很多啊，比如桌面背景、文件夹背景、窗口标题栏、状态栏、开始菜单等等，如果是vista，sidebar也是个不错的地方，最好还是用户可定制的广告显示方式，如果能连广告类别等也能定制，那我肯定可以接受这些广告，与其说是广告，还不如说又多了一个获取信息的地方。</p>
<p>如果能把广告做到windows 里，以微软的技术，要做到真正的精准，应该并不很难的事情，只是要考虑一下个人隐私的问题~~~~~~~</p><img src ="http://www.cnblogs.com/dingxue/aggbug/1191936.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37546/" target="_blank">[新闻]iPhone入华在即 中国手机产业生存面临考验</a>]]></description></item><item><title>可爱的google翻译，笑死我了</title><link>http://www.cnblogs.com/dingxue/archive/2008/05/11/1191900.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Sun, 11 May 2008 01:07:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/05/11/1191900.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1191900.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/05/11/1191900.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1191900.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1191900.html</trackback:ping><description><![CDATA[<p>google翻译：<a href="http://translate.google.cn" target="_blank">http://translate.google.cn</a></p>
<p>从前天开始（2008年5月9日），google的翻译进行了较大了改进，其中包括中文和20多种语言之间的互译，以后用起来就爽得多了，难道这就是与金山合作的另一成果？想来不应该这么快，而且其他语种之间互译，金山原来估计也不做，不知道是个意思</p>
<p style="font-size:14px;font-weight:bold;">闲话少说，中译英测试：</p>
<p style="color:#666;font-style:italic;">(想必不少人都看过《魔幻手机》吧？里面有句经典台词叫“拉出去扁，往冒烟儿里扁！”，现在我就拿这句话来测试google，哈哈)</p>
<ul>
	<li><span style="color:#f60;">拉出去扁，往冒烟儿里扁，</span><span style="color:#f06;">Pull out the Chen Shui-bian, Chen Shui-bian to smoke in infants,</span></li>
	<li><span style="color:#f60;">拉出去扁，往冒烟儿里扁。</span><span style="color:#f06;">Pull out the Chen Shui-bian, Chen Shui-bian to smoke in infants.</span></li>
	<li><span style="color:#f60;">拉出去扁，往冒烟儿里扁？</span><span style="color:#f06;">Pull out the Chen Shui-bian, Chen Shui-bian to smoke in infants»</span></li>
	<li><span style="color:#f60;">拉出去扁，往冒烟儿里扁！</span><span style="color:#f06;">Pull out the Chen Shui-bian, Chen Shui-bian to smoke in the child!</span></li>
	<li><span style="color:#f60;">拉出去扁。往冒烟儿里扁，</span><span style="color:#f06;">Pull out the Chen Shui-bian. Children to smoke, Chen Shui-bian,</span></li>
	<li><span style="color:#f60;">拉出去扁。往冒烟儿里扁。</span><span style="color:#f06;">Pull out the Chen Shui-bian. Children to smoke, Chen Shui-bian.</span></li>
	<li><span style="color:#f60;">拉出去扁。往冒烟儿里扁？</span><span style="color:#f06;">Pull out the Chen Shui-bian. Children to smoke, Chen Shui-bian»</span></li>
	<li><span style="color:#f60;">拉出去扁。往冒烟儿里扁！</span><span style="color:#f06;">Pull out the Chen Shui-bian. Children to smoke, Chen Shui-bian!</span></li>
	<li><span style="color:#f60;">拉出去扁？往冒烟儿里扁，</span><span style="color:#f06;">Chen Shui-bian pull out» Children to smoke, Chen Shui-bian,</span></li>
	<li><span style="color:#f60;">拉出去扁？往冒烟儿里扁，</span><span style="color:#f06;">Chen Shui-bian pull out» Children to smoke, Chen Shui-bian,</span></li>
	<li><span style="color:#f60;">拉出去扁？往冒烟儿里扁。</span><span style="color:#f06;">Chen Shui-bian pull out» Children to smoke, Chen Shui-bian.</span></li>
	<li><span style="color:#f60;">拉出去扁？往冒烟儿里扁？</span><span style="color:#f06;">Chen Shui-bian pull out» Children to smoke, Chen Shui-bian»</span></li>
	<li><span style="color:#f60;">拉出去扁？往冒烟儿里扁！</span><span style="color:#f06;">Chen Shui-bian pull out» Children to smoke, Chen Shui-bian!</span></li>
	<li><span style="color:#f60;">拉出去扁！往冒烟儿里扁，</span><span style="color:#f06;">Chen Shui-bian pull out! Children to smoke, Chen Shui-bian,</span></li>
	<li><span style="color:#f60;">拉出去扁！往冒烟儿里扁，</span><span style="color:#f06;">Chen Shui-bian pull out! Children to smoke, Chen Shui-bian,</span></li>
	<li><span style="color:#f60;">拉出去扁！往冒烟儿里扁。</span><span style="color:#f06;">Chen Shui-bian pull out! Children to smoke, Chen Shui-bian.</span></li>
	<li><span style="color:#f60;">拉出去扁！往冒烟儿里扁？</span><span style="color:#f06;">Chen Shui-bian pull out! Children to smoke, Chen Shui-bian»</span></li>
	<li><span style="color:#f60;">拉出去扁！往冒烟儿里扁！</span><span style="color:#f06;">Chen Shui-bian pull out! Children to smoke, Chen Shui-bian!</span></li>
</ul>
<p>
	<strong>结果分析：</strong>
	<ol>
		<li>居然不认识问号，那个问号的翻译太搞笑了</li>
		<li><span style="color:#f00;">，</span> + <span style="color:#f00;">！</span> 情况下会把 <span style="color:#f00;">infants</span> 换成 <span style="color:#f00;">child</span> ，其他情况后面的标点会直接翻译，不影响句型和单词的采用</li>
		<li>当使用仅表示语言停顿的逗号时，<span style="color:#f00;">冒烟儿</span>的都是<span style="color:#f00;">Chen Shui-bian</span></li>
		<li>当使用。？！等表示截断上一句意思，而非停顿时，那个儿化音被使用了复数 <span style="color:#f00;">children</span> ,<span style="color:#f00;">冒烟儿</span> 的也不是 <span style="color:#f00;">Chen Shui-bian</span> 了</li>
	</ol>
</p>
<p style="color:#666;font-style:italic;">看起来google似乎不太理解儿化音，那去掉儿化音，再测！</p>
<ul>
	<li><span style="color:#f60;">拉出去扁，往冒烟儿里扁，</span><span style="color:#f06;">Pull out the Chen Shui-bian, to smoke, Chen Shui-bian,</span></li>
	<li><span style="color:#f60;">拉出去扁，往冒烟儿里扁。</span><span style="color:#f06;">Pull out the Chen Shui-bian, to smoke, Chen Shui-bian.</span></li>
	<li><span style="color:#f60;">拉出去扁，往冒烟儿里扁？</span><span style="color:#f06;">Pull out the Chen Shui-bian, to smoke, Chen Shui-bian»</span></li>
	<li><span style="color:#f60;">拉出去扁，往冒烟儿里扁！</span><span style="color:#f06;">Pull out the Chen Shui-bian, Chen Shui-bian, to smoke!</span></li>
	<li><span style="color:#f60;">拉出去扁。往冒烟儿里扁，</span><span style="color:#f06;">Pull out the Chen Shui-bian. To smoke, Chen Shui-bian,</span></li>
	<li><span style="color:#f60;">拉出去扁。往冒烟儿里扁。</span><span style="color:#f06;">Pull out the Chen Shui-bian. To smoke, Chen Shui-bian.</span></li>
	<li><span style="color:#f60;">拉出去扁。往冒烟儿里扁？</span><span style="color:#f06;">Pull out the Chen Shui-bian. To smoke, Chen Shui-bian»</span></li>
	<li><span style="color:#f60;">拉出去扁。往冒烟儿里扁！</span><span style="color:#f06;">Pull out the Chen Shui-bian. Chen Shui-bian, to smoke!</span></li>
	<li><span style="color:#f60;">拉出去扁？往冒烟儿里扁，</span><span style="color:#f06;">Chen Shui-bian pull out» To smoke, Chen Shui-bian,</span></li>
	<li><span style="color:#f60;">拉出去扁？往冒烟儿里扁。</span><span style="color:#f06;">Chen Shui-bian pull out» To smoke, Chen Shui-bian.</span></li>
	<li><span style="color:#f60;">拉出去扁？往冒烟儿里扁？</span><span style="color:#f06;">Chen Shui-bian pull out» To smoke, Chen Shui-bian»</span></li>
	<li><span style="color:#f60;">拉出去扁？往冒烟儿里扁！</span><span style="color:#f06;">Chen Shui-bian pull out» Chen Shui-bian, to smoke!</span></li>
	<li><span style="color:#f60;">拉出去扁！往冒烟儿里扁，</span><span style="color:#f06;">Chen Shui-bian pull out! To smoke, Chen Shui-bian,</span></li>
	<li><span style="color:#f60;">拉出去扁！往冒烟儿里扁。</span><span style="color:#f06;">Chen Shui-bian pull out! To smoke, Chen Shui-bian.</span></li>
	<li><span style="color:#f60;">拉出去扁！往冒烟儿里扁？</span><span style="color:#f06;">Chen Shui-bian pull out! To smoke, Chen Shui-bian»</span></li>
	<li><span style="color:#f60;">拉出去扁！往冒烟儿里扁！</span><span style="color:#f06;">Chen Shui-bian pull out! Chen Shui-bian, to smoke!</span></li>
</ul>
<p style="color:#;fon666t-style:italic;">嗯……似乎没什么起色…………只是………………复杂了好多~~~~~~~~~~~~~~~~~~~~</p><img src ="http://www.cnblogs.com/dingxue/aggbug/1191900.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37546/" target="_blank">[新闻]iPhone入华在即 中国手机产业生存面临考验</a>]]></description></item><item><title>易趣终于还是逃不过</title><link>http://www.cnblogs.com/dingxue/archive/2008/05/06/1184370.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Mon, 05 May 2008 23:45:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/05/06/1184370.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1184370.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/05/06/1184370.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1184370.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1184370.html</trackback:ping><description><![CDATA[<p><a href="http://tech.163.com/08/0505/15/4B6J8175000915BF.html" target="_blank">易趣正式宣布开店终身免费 不再为店铺等级收费</a></p>
<p>曾几何时，易趣几乎成了中国电子商务的标杆，却终究还是逃不过，18个月灭掉淘宝的豪言还回荡在耳边时，就差点儿被淘宝给灭掉</p>
<p>眼瞅着无法翻身，却放不下身价，归了Ebay可以却不了解中国国情，最终还是卖掉完事儿，TOM接手努力N久，还是没办法，终于要免费了</p>
<p>不知道这是不是算晚，单纯免费肯定是没戏，只是想着，既然现在管理人员连免费都敢做，应该还会有一系列的大举措吧，一枝独秀未必是好事，真的希望易趣能够回来</p>
<img src ="http://www.cnblogs.com/dingxue/aggbug/1184370.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37545/" target="_blank">[新闻]阿里巴巴集团再向淘宝注资20亿元</a>]]></description></item><item><title>模板修改后重新发布</title><link>http://www.cnblogs.com/dingxue/archive/2008/04/26/1171778.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Fri, 25 Apr 2008 23:22:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/04/26/1171778.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1171778.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/04/26/1171778.html#Feedback</comments><slash:comments>13</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1171778.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1171778.html</trackback:ping><description><![CDATA[<p style="color:#f00;">4.27早晨修改版</p>
<p>以下浏览器测试没有发现大的BUG：<br /> IE6 / IE7 / Firefox2 / Maxthon2 / Opera9 / 腾讯TT3 / Safari3.11(win) / Netscape Navigator9</p>
<p>又改了一些东西，虽然感觉依然不满意，但个人审美水平就到这儿了，无法突破，是不是考虑什么时候找个人教教我关于美工和配色的东西？表告诉我说这东西是天生的要靠灵感和感觉的，我会失望，非常失望的……</p>
<p>在此强烈感谢 <a href="http://ruxpinsp1.cnblogs.com/" target="_target">棕熊</a> 和 <a href="http://justinyoung.cnblogs.com/" target="_blank">杨正祎(阿一)</a> 两位同学的建议，俺和棕熊同学的审美根本不在同一档次上，可惜他在上海，要不然我非拉他当师傅不可。阿一的审美也强过我，如果要选出对博客园的皮肤最熟悉的人，非他莫属，我是第一次做模板，如果有什么问题，还希望阿一同学指教，哈哈，再次非常感谢！</p>
<p>对比<a href="http://www.cnblogs.com/dingxue/archive/2008/04/19/1160760.html" target="_blank">上一篇博文</a>，此次修改了下面的这些内容：</p>
<ul>
<li>1. 修改了“我的闪存”标题的样式和其他SideBar里的标题保持一致</li>
<li>2. 增加SideBar和forFlow间的留白</li>
<li>3. 修改了部分标题和链接的颜色</li>
<li>4. 实在搞不定SideBar和forFlow之间那个竖线，只好把SideBar变成左下右三面边框的样子</li>
<li>5. 增加全部页面的行高，看起来好像不像原来那么挤了</li>
<li>6. 增大了博客主标题的字体和周围的留白</li>
<li>7. 对Tag和相册相关的页面进行了样式控制</li>
<li>8. 添加了对Profile.htm页面的样式控制</li>
<li>9. 对博文页下面UpdatePanel进行样式控制</li>
</ul>
<p>另外还是希望dudu和阿一可以尽快把Custom这个模板的博文页发表评论那里的UpdatePanel给重构一下，至少，把文本框宽度的数字加个单位……太窄了，看着好丑……而且给CSS宽度加上单位，这个应该算是解决BUG，不会影响其他模板的使用，希望可以解决，谢谢！</p>
<p>
	PS：<br />
	@阿一，如果没有发现什么错误，现在可以发布为模板，名字嘛，不知道，你帮我取一个喽，呵呵。<br />
	@喜欢这个模板的朋友，你们可以等到阿一发布为模板后再选择，也可以自己在后台配置里选择Custom模板，然后把下面这些CSS代码COPY到“通过CSS定制页面”中，并“禁用模板默认CSS”保存，就可以得到所有的样式了.
</p>
<div style="margin:8px;padding:8px;background:#f6f6f6;border:1px solid #999;">
/**************** 公共样式 ****************/<br />
#EntryTag{margin-top:20px;font-size:9pt;color:gray;}<br />
#divRefreshComments{text-align:right;margin-right:10px;margin-bottom:5px;font-size:9pt;}<br />
.topicListFooter{text-align:right;margin-right:10px;margin-top:10px;}<br />
<br />
/**************** 标签默认 ****************/<br />
*{margin:0;padding:0;}<br />
body{color:#333;background:#FFF;font-family:"verdana","宋体","Arial";font-size:9pt;line-height:1.8em;}<br />
img{border:0;}<br />
li{list-style:none;}<br />
input,textarea{border:1px solid #999;}<br />
h1,h2,h3,h4,h5,h6,th{font-weight:bold;color:#000;}<br />
a{text-decoration:none;color:#333;}<br />
a:hover{color:#999;}<br />
<br />
/**************** 共用部分 ****************/<br />
/* layout */<br />
#sideBar{width:220px;float:left;border:1px solid #999;border-top-width:0;overflow:hidden;padding:0 8px 40px 12px;}<br />
#mainContent{float:right;margin-left:-250px;width:100%;}<br />
.forFlow{margin:0 16px 0 266px;}<br />
#footer{text-align:center;}<br />
<br />
/* header */<br />
#lnkBlogLogo{display:none;}<br />
#blogTitle{padding:16px;}<br />
#blogTitle h1{font-size:17pt;}<br />
#blogTitle h2{font-size:10.5pt;color:#999;}<br />
#navigator{background:#f6f6f6;border:1px solid #ccc;border-width:1px 0;height:17px;padding:6px;color:#999;}<br />
#navigator img{display:none;}<br />
.blogStats{float:right;color:#999;}<br />
#navList li{float:left;margin-right:20px;font-size:10.5pt;}<br />
<br />
/* sideBar */<br />
#sideBar li,.divRecentCommentAticle{text-indent:-1.5em;margin-left:1.5em;}<br />
#sideBar h3,#MyIng .ing_title{margin:16px 0 0 -8px;font-size:14px;text-align:left;}<br />
#sideBar img{display:none;}<br />
#calendar{margin-top:16px;text-align:center;}<br />
#calendar table{width:90%;margin:0 auto;}<br />
#calendar .CalOtherMonthDay{color:#999;}<br />
#sideBar .divRecentComment{color:#666;margin:0 0 8px 8px;}<br />
<br />
/**************** 各子页面 ****************/<br />
.dayTitle{display:none;}<br />
.entrylistTitle,.thumbTitle,.PostListTitle,.forFlow h3 div,.galleryTitle{font-size:14px;font-weight:bold;margin-top:20px;text-align:left;}<br />
.entrylistDescription,.thumbDescription{margin-left:16px;}<br />
.postTitle,.entrylistPosttitle,.feedback_area_title{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}<br />
.postBody p{margin-top:12px;}<br />
.postCon a,.postBody a,.feedbackCon a{border-bottom:1px dotted #333;color:#000;}<br />
.postCon a:hover,.postBody a:hover,.feedbackCon a:hover{border-color:#999;}<br />
.postDesc,.entrylistItemPostDesc{border-bottom:1px dotted #999;color:#999;text-align:right;padding-bottom:20px;}<br />
.PostList{float:none;clear:both;text-align:right;width:96%;margin:auto;padding:6px 0;overflow:hidden;border-bottom:1px dotted #ccc;}<br />
.postTitl2{float:left;}<br />
.postText2{text-align:left;color:#666;}<br />
.feedbackItem{padding:8px;border-bottom:1px dotted #ccc;}<br />
.feedbackManage{float:right;}<br />
.feedbackCon{margin-left:1em;color:#666;}<br />
.commentform td div span{margin-left:12px;}<br />
.gallery img{margin:8px;}<br />
#taglist{margin:20px auto;}<br />
.pfl_feedback_area_title{font-size:16px;margin:16px 0;font-weight:bold;}<br />
.pfl_feedback_area_title a{font-size:12px;color:#999;font-weight:normal;}<br />
.pfl_feedbacksubtitle{height:30px;}<br />
.pfl_feedbackname,.pfl_feedbackManage{float:left;margin:10px 20px 0 0;}<br />
.pfl_feedbackCon,.pfl_feedbackAnswer{clear:both;margin-left:12px;}
</div><img src ="http://www.cnblogs.com/dingxue/aggbug/1171778.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37544/" target="_blank">[新闻]56被关一月 危机的是整个视频业</a>]]></description></item><item><title>打造博客园最简单的皮肤！</title><link>http://www.cnblogs.com/dingxue/archive/2008/04/19/1160760.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Sat, 19 Apr 2008 00:10:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/04/19/1160760.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1160760.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/04/19/1160760.html#Feedback</comments><slash:comments>15</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1160760.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1160760.html</trackback:ping><description><![CDATA[<p>半成品，欢迎提意见~~~~~~~~~~~~~~~~</p>
<p>拒绝图片，拒绝彩色，全站模板中只使用#333/#666/#999/#ccc/#ddd/#f6f6f6六种颜色，简单生活！</p>
<p>拒绝代码垃圾，拒绝CSS hack，CSS文件不到3K，给浏览器最快的解析体验！</p>
<p>可惜啊，这只是个半成品，只在IE7和FF2下测试通过，而且个别我从未用过的页面可能给忘掉了</p>
<p>使用了Custom模板，顺便问几个问题：</p>
<ul style="margin-left:15px;">
<li>1. 模板页面中的Profile.htm是博客中的哪个页面？找半天也没看到一个很它相像的页面</li>
<li>2. Tag页面和相册页（不是相册列表，是相册列表中相片点进去之后那个页面）在下载的模板文件中不存在？</li>
<li>3. “我的tag列表”页面的标题&lt;h3>直接跟在了class="forFlow"之后，所以无法用只针对页面的选择符去控制，虽然效果很容易做到，但总觉得不爽</li>
<li>4. 随笔页下面那个UpdatePanel中评论框宽度有数值没单位，我可以控制，但我觉得还是DUDU来改下程序比较好</li>
<li>5. 评论下面的“看看谁阅读了该文章”和“所属分类的的其他文章”都不在下载的模板文件里存在</li>
<li>6. UpdatePanel中三部分在同一个table时而这个table却没有class，建议给这三部分以分别的class，把inline style去掉吧</li>
</ul>
<p>下面是代码，有需要的同志自己来拿，请在配置里选择Custom模板，然后把这些COPY到“通过CSS定制页面”中，并“禁用模板默认CSS”保存即可：</p>
<div style="border:1px solid #ccc;background:#f9f9f9;margin:12px;">
/*********************** 公共样式 ***********************/<br />
#EntryTag{margin-top:20px;font-size:9pt;color:gray;}<br />
#divRefreshComments{text-align:right;margin-right:10px;margin-bottom:5px;font-size:9pt;}<br />
.topicListFooter{text-align:right;margin-right:10px;margin-top:10px;}<br />
<br />
/*********************** 标签默认 ***********************/<br />
*{margin:0;padding:0;}<br />
body{color:#333;background:#FFF;font-family:"verdana","宋体","Arial";font-size:9pt;line-height:1.6em;}<br />
img{border:0;}<br />
li{list-style:none;}<br />
h1,h2,h3,h4,h5,h6,th{font-weight:bold;}<br />
a{text-decoration:none;color:#333;}<br />
a:hover{color:#999;}<br />
<br />
/*********************** 共用部分 ***********************/<br />
/* layout */<br />
#sideBar{width:220px;float:left;border-right:1px solid #999;overflow:hidden;padding:0 6px 0 12px;}<br />
#mainContent{float:right;margin-left:-240px;width:100%;}<br />
.forFlow{margin:0 8px 0 250px;}<br />
#footer{text-align:center;}<br />
<br />
/* header */<br />
#lnkBlogLogo{display:none;}<br />
#blogTitle{padding:16px;}<br />
#blogTitle h1{font-size:16pt;}<br />
#blogTitle h2{font-size:10.5pt;color:#999;}<br />
#navigator{background:#f6f6f6;border:1px solid #ccc;border-width:1px 0;height:17px;padding:6px;color:#999;}<br />
#navigator img{display:none;}<br />
.blogStats{float:right;color:#999;}<br />
#navList li{float:left;margin-right:20px;font-size:10.5pt;}<br />
<br />
/* sideBar */<br />
#sideBar li,.divRecentCommentAticle{text-indent:-1.5em;margin-left:1.5em;}<br />
#sideBar h3{margin:16px 0 0 -8px;font-size:14px;}<br />
#sideBar h3 img{visibility:hidden;}<br />
#calendar{margin-top:16px;text-align:center;}<br />
#calendar table{width:90%;margin:0 auto;}<br />
#calendar .CalOtherMonthDay{color:#999;}<br />
#sideBar .divRecentComment{color:#666;margin:0 0 8px 8px;}<br />
<br />
/*********************** 各子页面 ***********************/<br />
.dayTitle{display:none;}<br />
.entrylistTitle,.thumbTitle,.PostListTitle{font-size:14px;font-weight:bold;margin-top:20px;}<br />
.entrylistDescription,.thumbDescription{margin-left:16px;}<br />
.postTitle,.entrylistPosttitle,.feedback_area_title{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}<br />
.postCon a,.postBody a,.feedbackCon a{border-bottom:1px dotted #333;}<br />
.postCon a:hover,.postBody a:hover,.feedbackCon a:hover{border-color:#999;}<br />
.postDesc,.entrylistItemPostDesc{border-bottom:1px dotted #999;color:#999;text-align:right;padding-bottom:20px;}<br />
.PostList{float:none;clear:both;text-align:right;width:96%;margin:auto;padding:6px 0;overflow:hidden;border-bottom:1px dotted #ccc;}<br />
.postTitl2{float:left;}<br />
.postText2{text-align:left;color:#666;}<br />
.feedbackItem{padding:8px;border-bottom:1px dotted #ccc;}<br />
.feedbackManage{float:right;}<br />
.feedbackCon{margin-left:1em;color:#666;}<br />
</div><img src ="http://www.cnblogs.com/dingxue/aggbug/1160760.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37543/" target="_blank">[新闻]李开复：中文搜索是谷歌战略核心</a>]]></description></item><item><title>想买啥 VS 买了啥！理想与现实的差距咋就这么大咧?</title><link>http://www.cnblogs.com/dingxue/archive/2008/04/13/1150952.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Sat, 12 Apr 2008 23:39:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/04/13/1150952.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1150952.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/04/13/1150952.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1150952.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1150952.html</trackback:ping><description><![CDATA[<p>google.cn的搜索输入框，有个提示功能，借来研究点东西</p>
<p>你能想得到大家都在想买啥吗？你又能想得到大家都已经买了啥吗？</p>
<p>看看这两个图吧，啥也不说了，愿望总是好的，现实却总是有那么一点点残酷：</p>
<img src="http://www.cnblogs.com/images/cnblogs_com/dingxue/131234/r_google_planning_to_buy.png" alt="google告诉我大家想买啥,丁学" />
<img src="http://www.cnblogs.com/images/cnblogs_com/dingxue/131234/r_google_already_bought.png" alt="google告诉我大家买了啥,丁学" />
<img src ="http://www.cnblogs.com/dingxue/aggbug/1150952.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37542/" target="_blank">[新闻]《星际争霸2》新图：黑暗圣堂武士Zeratul</a>]]></description></item><item><title>XHTML/CSS记忆力大测试，两项都超过我，我请你吃饭！(今天不再是愚人节)</title><link>http://www.cnblogs.com/dingxue/archive/2008/04/03/xhtml_css_test.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Wed, 02 Apr 2008 22:40:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/04/03/xhtml_css_test.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1133797.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/04/03/xhtml_css_test.html#Feedback</comments><slash:comments>70</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1133797.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1133797.html</trackback:ping><description><![CDATA[摘要: DUDU请看<a href="http://space.cnblogs.com/forum/topic/1782/" target="_blank">http://space.cnblogs.com/forum/topic/1782/</a><br>你对XHTML和CSS了解多少？又记住了多少？来做个测验吧！XHTML和CSS两项测试仅需14分钟（CSS8分钟，XHTML6分钟，没办法，CSS太复杂了）<br>写了一晚上加一早晨，累死我了~~~~~~~~~看来长时间不写代码，人的确会退化的，要转载的记得给个链接<br>评论一楼是我的成绩，看看你能到多少，两项都超过我的，可以考虑过来混我顿饭吃，哈哈（当代浏览器和文本编辑器功能过于强大，耍赖轻而易举，不过，下一个愚人节要等一年后，呵呵）<br>混饭的请注意：本人在北京天通苑，路费自负啊<br>帮助：点击两个按钮中的一个即开始相应的测试，测试开始后倒记时同时开始，XHTML倒记时6分钟，CSS倒记时8分钟，每当你输入一个正确的标签即会自动出现在下面“你已经想起来的”里面，时间到了之后会提示你没想起来的，呵呵，很简单，抓紧时间啊，不&nbsp;&nbsp;<a href='http://www.cnblogs.com/dingxue/archive/2008/04/03/xhtml_css_test.html'>阅读全文</a><img src ="http://www.cnblogs.com/dingxue/aggbug/1133797.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37541/" target="_blank">[新闻]FriendFeed介绍</a>]]></description></item><item><title>Designer VS Coder, who is the winner?</title><link>http://www.cnblogs.com/dingxue/archive/2008/03/26/coder_vs_designer.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Tue, 25 Mar 2008 23:44:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/03/26/coder_vs_designer.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1122353.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/03/26/coder_vs_designer.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1122353.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1122353.html</trackback:ping><description><![CDATA[<p>web开发工具日新月异，coder们却抱怨工作越来越难干了；<br />
自动化的工具越来越多，coder们却抱怨做东西越来越慢了；<br />
设计工具越来越强大，designer们却抱怨老板总嫌他们做东西慢；<br />
参考样式越来越多，disigner们却抱怨设计的东西越来越落俗套。<br />
这世界到底是在进步还是在倒退？<br />
回过头来想，web的开发，coder和designer哪一个更重要？或者大家都不重要，但总有一个“更”……<br />
下面是我（非著名coder）与以前一个同事（资深designer）的聊天记录：</p>
<div style="border:solid 1px #999;background:#eee;padding:8px;line-height:1.6em;color:#333;">
<strong>Ding Xue：</strong>现在不用IE8，鬼知道正式版出来后会和现在的版本有什么地方会一样<br />
<strong>+u Zheng：</strong>已经出BETA了<br />
<strong>Ding Xue：</strong>beta离正式版还好遥远的样子<br />
<strong>+u Zheng：</strong>大方向不会变化，那就是“全面遵守W3C标准”<br />
<strong>Ding Xue：</strong>而且这个beta明显是个半成品，估计是被FF3一连串的Beat给逼的，最终版对CSS的支持非常有可能和现在完全不同<br />
<strong>+u Zheng：</strong>呵呵 但是现在如果3个版本同时都在使用 你说我们这些写页面代码的怎么办<br />
<strong>Ding Xue：</strong>做最朴素的页面！<br />
<strong>Ding Xue：</strong>这个世界都是你们设计给搞乱的<br />
<strong>Ding Xue：</strong>如果没有你们设计出来的各种各样的风格、样式，哪来这么多麻烦？<br />
<strong>+u Zheng：</strong>你莫不如说是策划给搞乱的 最朴素的？你脑袋没事吧？你以为你想怎么做就怎么做啊 你觉得那样公司上面会同意吗<br />
<strong>+u Zheng：</strong>工作如果你能说了算 那不用打工了 呵呵<br />
<strong>Ding Xue：</strong>因为先有你们给其他人做过样子了，所以才会有更多的需求<br />
<strong>Ding Xue：</strong>如果世界上压根儿不存在desinger这样一个职业，估计也不会有这么多麻烦了<br />
<strong>+u Zheng：</strong>如果不存在程序就更好了<br />
<strong>Ding Xue：</strong>那不对，程序是为功能而生的，designer只是为了满足一小部分人的偏执<br />
<strong>+u Zheng：</strong>我现在就在学程序 以后不依赖你们这些人 成天说这个难实现 那个难实现 其实现在看来我自己都能做<br />
<strong>+u Zheng：</strong>中国现在的IT发展不正常<br />
<strong>Ding Xue：</strong>其实，嘿嘿，没什么难实现的，只是不乐意做而已，一个WEB程序员调界面的时间能占到整个开发过程的30%，不抵触才怪<br />
<strong>+u Zheng：</strong>不用说什么了 你我永远是对立的 这个矛盾没人解的开 不存在designer是不可能的 你不用天真的想了 现在高级designer的待遇越来越好就是证明<br />
<strong>Ding Xue：</strong>再者说了，一个系统里，有很多因素要考虑，不是说你学几点程序就可以让设计自己做的，要不然，要Architect做什么？<br />
<strong>Ding Xue：</strong>designer待遇越来越好，只能证明coder越来越被边缘化，也就是功能越来越成为其次？这根本就是不对的<br />
<strong>+u Zheng：</strong>当然 就象CSS如果来写 页面如果做的更系统一样 我们一样要考虑系统的问题<br />
<strong>Ding Xue：</strong>designer的确应该存在，不过不应该过于强势，想强势的话，去做工业设计哈<br />
<strong>+u Zheng：</strong>如果不对 就让时间来证明 希望你们总有一天会翻身<br />
<strong>Ding Xue：</strong>:$把页面做得像系统，好多designer都在追求这个，不过最初不知道是谁脑子出了问题才有了这么个想法<br />
<strong>Ding Xue：</strong>翻不了啦，这个世界已经疯了<br />
<strong>+u Zheng：</strong>估计是程序员 如果不是程序想要更简单的嵌入 更容易体现程序的优越性能 是不会有此需求<br />
<strong>+u Zheng：</strong>如果你有想法 就用自己的行动证明想法<br />
<strong>Ding Xue：</strong>不会的，照我来说，我更希望能够更直接更快速的输出，让用户容易理解远大于页面的花哨<br />
<strong>+u Zheng：</strong>现在的页面很花哨吗 我看不见得 有点极端<br />
<strong>Ding Xue：</strong>你倒提醒了我，designer的确应该有，职责应该是设计如果更好的方便用户操作和理解，现在好像说起designer，大部分人的第一印象就是把网站做得好看，本末倒置了<br />
<strong>Ding Xue：</strong>最简单的例子，为什么会有圆角？难道用方框框住一段文字甚至不加框，用户就看不懂了？<br />
<strong>+u Zheng：</strong>也不是啊 好的designer 就是达到2者的优美结合 要不只会做的好看 不一定拿的钱多<br />
<strong>+u Zheng：</strong>现在我做的东西已经基本屏弃了圆角了<br />
<strong>+u Zheng：</strong>加不加圆角 有时候不一定就是designer 的意思<br />
<strong>Ding Xue：</strong>我靠！那你当初把****网搞成那样，我都快疯了，服务器Request压力太大了<br />
<strong>Ding Xue：</strong>但是designer有责任说服老板或者客户啊，毕竟你们才是“专业”的<br />
<strong>+u Zheng：</strong>你错了<br />
<strong>+u Zheng：</strong>那要看老板是什么老板<br />
<strong>+u Zheng：</strong>你怎么知道我没说？<br />
<strong>Ding Xue：</strong>最后的结果就是你的工作结果，哈哈<br />
<strong>+u Zheng：</strong>人的性格不是你来定的 说不了就接受 要不就走人 很简单的道理<br />
<strong>Ding Xue：</strong>这个不对，说服老板是所有好员工的责任<br />
<strong>Ding Xue：</strong>尤其当你确实是对的，虽然有时候根本没办法分辨到底谁对<br />
<strong>+u Zheng：</strong>不和你说了 说一会就成人身攻击 祝你能有好工作吧 一句忠告：别太钻牛角 太极端一辈子就只能干技术员<br />
<strong>Ding Xue：</strong>:$随便说说，哪里有牛角可钻？<br />
<strong>Ding Xue：</strong>我好像没有要攻击人的样子吧？呵呵，最近在家静修，好多事回去想想突然感觉明白了许多<br />
<strong>+u Zheng：</strong>呵呵 你我不同路 莫谈此事 有些事情 时间长了自然会有分晓 <br />
<strong>Ding Xue：</strong>对了，你最近忙不？打算请你来家玩儿<br />
<strong>+u Zheng：</strong>好啊 最近有点忙 不过休假不耽误 <br />
<strong>+u Zheng：</strong>见面不要聊这类前景的问题 喝酒叙旧倒不错
</div><img src ="http://www.cnblogs.com/dingxue/aggbug/1122353.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37540/" target="_blank">[新闻]微软在台北发布新色鼠标产品</a>]]></description></item><item><title>博客重新启用</title><link>http://www.cnblogs.com/dingxue/archive/2008/03/25/1122178.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Tue, 25 Mar 2008 15:04:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2008/03/25/1122178.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/1122178.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2008/03/25/1122178.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/1122178.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/1122178.html</trackback:ping><description><![CDATA[摘要: 再过不到一个小时，就是dudu为我开通这个博客的第377天了<br>而截止到昨天，此博客上已经连续177天不曾出现新内容了<br>这段时间很忙，呵呵，虽然我不知道自己在忙些什么<br>这段时间的生活明显属于非健康状态，所以还是改变一些比较好<br>那就从重新启用这个博客开始吧<br><br>说是“重新启用”，其实一直不曾离开博客园，依然习惯天天上来看好几次<br>博客没写一篇，不过看了不少<br>最搞笑的是居然又像很久很久前一样，和混CSDN一样，一不小心博问活跃达人第一名了，嘿嘿<br>意外，纯属意外，只怪其他人分太少，哈哈……&nbsp;&nbsp;<a href='http://www.cnblogs.com/dingxue/archive/2008/03/25/1122178.html'>阅读全文</a><img src ="http://www.cnblogs.com/dingxue/aggbug/1122178.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37539/" target="_blank">[新闻]Hitwise:雅虎流量来自Google搜索比来自雅虎搜索的还多</a>]]></description></item><item><title>我是怎么了？</title><link>http://www.cnblogs.com/dingxue/archive/2007/09/29/910113.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Fri, 28 Sep 2007 20:54:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2007/09/29/910113.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/910113.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2007/09/29/910113.html#Feedback</comments><slash:comments>20</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/910113.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/910113.html</trackback:ping><description><![CDATA[不开心又已经好几天了，为什么是“又”？<BR>也许是受了高手的打击，感觉自己像小白<BR>也许是因为老婆回了老家，突然没了人陪<BR>不管怎么样，不开心的感觉还是在持续着<BR><BR>晚上坐在电脑前，突然感觉有那么一点失落<BR>行尸走肉的生活中，别人的艳羡并不能给我带来一丝的欢乐<BR>反而，二环路上那个疯癫的人，才像是真的我<BR><BR>突然明白，吃饭睡觉上班编程赚钱，这不应当是我全部的生活<BR>我还需要一些另外的东西，来刺激我麻木已久的神经<BR>好让我想起：在这个城市中，我还活着<BR><BR>重温《大话西游》，才明白<BR>原来终日穿梭于钢筋水泥中的我，还会懂得什么是感动<BR>再看《东成西就》，才知道<BR>原来在每天挂在脸上的微笑之外，还有一种感觉叫快乐<BR><BR>《悟空传》里，哪个人才更像我？<BR>金刚经在说什么？说动了众生，却为何说不动我？<BR>我，是怎么了？<BR><img src ="http://www.cnblogs.com/dingxue/aggbug/910113.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37537/" target="_blank">[新闻]YouTube需提交用户信息 网民隐私或遭威胁</a>]]></description></item><item><title>让正确的人做正确的事－－《最后期限》读书笔记（4）</title><link>http://www.cnblogs.com/dingxue/archive/2007/09/13/The_Deadline_4.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Wed, 12 Sep 2007 23:43:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2007/09/13/The_Deadline_4.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/891297.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2007/09/13/The_Deadline_4.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/891297.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/891297.html</trackback:ping><description><![CDATA[<P>在《最后期限》里，最主要的几个人他们都做了些什么呢？为什么他们之间的配合会产生一个如此成功的结果？</P>
<UL>
<LI>所有这一切是创造者：元首</LI>
<LI>间谍 ＆ 绑架者：莱克莎</LI>
<LI>本书第一主角：汤普金斯</LI></UL>
<P>最初，元首想用自己的钱来获取绝对的权威，然而后来他发现自己错了，于是才有了后面所有的故事。书中一直没怎么描写元首，甚至都没有提到找汤普金斯来做这一切是不是他的主意，只在开始时可以看到一些，他应该也是写过很多程序的人，有很多钱并善于利用这些钱。那我们来看他都做了些什么：因为他以前就是做IT的（不知道那时候有没有IT这个词），所以他可以看到其中的商机，选择了一个非常正确的方向；他找了一个非常强大的助手－－莱克莎；他去资本市场打拼，最终得以上市。这是一个真正的领导者，做了三件事：选择一件正确的事，选择一个（些）正确的人，发挥自己的长处而非直接做事。</P>
<P>一直奇怪莱克莎到底是一个怎么样的人，几乎所有能够解决某一领域问题的专家都逃不过她的手掌，在项目中，虽然有马克夫准是“人力资源库的管理者”，但在人员方面，她的贡献还是最大，她总能找到非常合适的最高层，然后把其他的事交给别人。因此：你可以对项目不熟，你也可以什么都不干，只要你总能找到合适的人，那你一定是成功的。比较奇怪的一点：莱克莎仅凭一面之缘就记下汤普金斯，并且在需要的时候把他收下，可是她凭什么确定这个人就一定能胜任？呵呵，她是一个间谍，有着非一般的洞察力，在现实中，这种能力也非常重要，但怕是没有人可以做到她这种程度。另外一个比较有意思的事，几乎没有一个来摩罗维亚的高人是明确自愿来这个地方的，欺骗、绑架……无所不做，是否也说明一个问题：关键的人物总是无法通过普通的招聘程序寻到，总是要一些非常手段才可以得到？</P>
<P>可怜的汤普金斯先生是最累的一个，要负责项目中所有的事，要找到合适的工作的人，要对最后期限负责，要应付项目中各种问题，还要应付各种人如贝洛克之流。他也是幸运的，资金、人员、设备他全都有，而且还总有莱克莎送来合适的人解决当前的问题。他最大的优点可能就是善于学习和敢于打破常规了。</P>
<P>元首的资金和开明，莱克莎敏锐的洞察，汤普金斯的勇气，再加上其他很多人的帮助，终于促成项目的成功。最终大家都得到了什么？对元首来说，项目根本就是不重要的，他要的是结果，他只管收钱，只是为了完成资本的一次次上升。汤普金斯收获金钱之外，还得到了对他一生都影响巨大的很多经验。莱克莎最可怜，最大的贡献换来那一点可怜的钱。当然汤普金斯和莱克莎还获得了爱情，这应该算是最大的收获吧。</P><img src ="http://www.cnblogs.com/dingxue/aggbug/891297.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37535/" target="_blank">[新闻]纽约用户提前7天排队购iPhone</a>]]></description></item><item><title>需求无法确定的原因：冲突－－《最后期限》读书笔记（3）</title><link>http://www.cnblogs.com/dingxue/archive/2007/09/07/The_Deadline_3.html</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Thu, 06 Sep 2007 23:39:00 GMT</pubDate><guid>http://www.cnblogs.com/dingxue/archive/2007/09/07/The_Deadline_3.html</guid><wfw:comment>http://www.cnblogs.com/dingxue/comments/885101.html</wfw:comment><comments>http://www.cnblogs.com/dingxue/archive/2007/09/07/The_Deadline_3.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/dingxue/comments/commentRss/885101.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dingxue/services/trackbacks/885101.html</trackback:ping><description><![CDATA[<P>相关章节：第十六章　筹备夏季运动会</P>
<P>经常会遇到这种情况：项目要开始了，公司各部门的人坐到一起开始讨论一些具体的需求，一场旷日持久的争论于是开始了，最终的结果却是：“先大概这样吧，技术人员先这样做着，细节的东西到进修再说”。因为有一些边缘性的事务总是明确不起来，两个部门可能会对一件麻烦的事踢皮球，也可能对一件权力或利益相关的事争夺，皮球总没办法踢完，争夺战也总没完没了，于是讨论陷入了僵局，只好先这样。</P>
<P>做为最终决策者，果断结束这场争论，把问题往后推，是不少人的做法，而且看起来也是相当有效的做法，然后对于开发组的人来说，这却是极麻烦的一件事，这将直接导致前期架构无法考虑全面，中期编码的不确定感，后期测试阶段的需求不断变更。最终的结果当然是大家都很累却都不满意这个项目，而且项目可能延期严重。</P>
<P>“规格文档中的含糊标志着不同的系统参与者这间存在着未解决的冲突”，一些看似小case的未解决的冲突，到后来可能被无限放大，需求阶段的不明确，哪怕一个小小的问题，都会造成巨大的影响，在业务处理系统中尤其严重。所以需求阶段一定要明确各部门的职责，明确到每一荐数据的输入输出和处理，一旦这些东西全部确定了，项目离成功就很近了，在两个部门之间转移功能，如果是在项目后期，那将是一场灾难，有时候无法避免，但我们应该尽力，应该可以在需求阶段把能够讨论清楚的讨论清楚再说。</P>
<P>解决冲突的关键： 
<UL>
<LI>“冲突应当引起重视。冲突并不是缺乏职业道德的行为。”</LI>
<LI>“谈判困难，调解容易。”</LI>
<LI>“记住：我们都站在同一边；跟我们对立的，是我们要解决的问题。”</LI></UL><img src ="http://www.cnblogs.com/dingxue/aggbug/885101.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/37534/" target="_blank">[新闻]财富：微软必然得到雅虎 是对抗Google唯一出路</a>]]></description></item></channel></rss>