<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[阿粥的博客-www.iamwawa.cn/blog]]></title>
<link>http://www.iamwawa.cn/blog/</link>
<description><![CDATA[python,symbian,vb,PS,FW,DW.]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[azoon@163.com(阿粥)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>阿粥的博客-www.iamwawa.cn/blog</title>
	<url>http://www.iamwawa.cn/blog/images/logos.gif</url>
	<link>http://www.iamwawa.cn/blog/</link>
	<description>阿粥的博客-www.iamwawa.cn/blog</description>
</image>

			<item>
			<link>http://www.iamwawa.cn/blog/article.asp?id=79</link>
			<title><![CDATA[[转]谈CSS书写风格]]></title>
			<author>azoon@163.com(admin)</author>
			<category><![CDATA[CSS&amp;JS]]></category>
			<pubDate>Sat,19 Jun 2010 15:12:49 +0800</pubDate>
			<guid>http://www.iamwawa.cn/blog/default.asp?id=79</guid>
		<description><![CDATA[<p>随着公司业务的增加，需求变的越来越多，团队也因此在不断的扩大，我们经常会遇到几个人协同工作来完成同一件作品或者维护修改别人作品的时候，那么是什么最让你最感到困扰呢？我们在实现一个表现复杂的页面的同时，CSS文件就会比较繁琐，众多的选择符、属性让人眼花缭乱，那么如何更快的定位、如何更高效的编写样式呢？CSS的书写被很多人所忽略。关于书写风格，翻看了一些知名网站的作品，发现横向连排几乎成为各大产品项目的主流，然而，每个人对于CSS的写法各异，这就导致我们工作效率的降低。为了更好的协同工作，保持团队内CSS书写的一致性，几经波折后达成共识，具体书写方法如下：CSS属性横排书写，选择符纵排书写，每个&rdquo;,&rdquo;(逗号)后必须换行;</p>
<p><strong>重构组代码书写规范示例：（其中数字只用做示范，实际应用中不建议用数字命名。）</strong></p>
<p><strong>.class_name_1 .class_name_1_1,<br />
.class_name_2 .class_name_2_1 .class_name_2_1_1,<br />
.class_name_3{style1:value; style2:value; styel3:value; }</strong></p>
<p>有人说，好代码就是用记事本打开也是艺术品，而样式文件本身就是设计作品。目前并没有一个权威来界定这种规范，我们只能对两种写法做个简单的总结。</p>
<p><strong>就样式文件本身对比：</strong></p>
<p><img alt="样式文件对比列表" border="0" src="http://webteam.tencent.com/wp-content/uploads/2009/5/1080_001.jpg" /></p>
<p><strong>纵向书写特点：</strong></p>
<ol>
    <li>每个CSS属性独立一行，一般不会出现换行或横向滚动条。</li>
    <li>可以通过firebug等工具查找到模块，在DW中ctrl+g行定位，修改方便。</li>
    <li>属性段落间有缩进，保证了代码的整洁，层次清楚，符合编程语言代码规范，修改更加直观。</li>
</ol>
<p><strong>存在的问题：</strong>代码冗余（如空格符、tab符、换行符）；文件大小增加；容易出现纵向滚动条。</p>
<p><strong>横向书写特点：</strong></p>
<ol>
    <li>最大化的利用了空间，单屏内能显示更多，减小了纵向滚动条出现的几率，能够快速捕获较多的信息。</li>
    <li>减小了文件大小，省去了不必要的空格、换行等。</li>
    <li>横向书写方便分块以及注释，便于查看CSS结构，选择符一目了然。当今显示器正朝着越来越大，越来越宽发展，基本上一行内可以显示完全。</li>
    <li>加快编写CSS速度，不用每次敲换行和tab，并且减少拉动滚动条的次数。</li>
    <li>如果是活动页，不用作压缩处理。使用CSS optimizers 来优化CSS是提倡的，但是使用横向书写，基本上不存在多余的空格和换行，因此可以不用压缩，这样效率和能力都会得到提高。</li>
    <li>便于阅读和查找相关结构。代码编辑器对同行数定位做的都比较好，因此我们要解决的是如何快速纵向定位目标。横向书写时选择符纵向对齐，再加上<br />
    .class_name_2&nbsp; .class_name_2_1&nbsp; .class_name_2_1_1的选择符层次分明，因此很容易定位到目标。<br />
    在调试小Bug的时候就可以直接打开CSS更改，不用再打开firebug去找到模块。</li>
    <li>横向书写，是基于CSS选择符的写法，层次容易对比，更利于模块化。对整体CSS规划有好处，后期维护成本低。</li>
    <li>便于不同版本的CSS代码对比。</li>
</ol>
<p><strong>存在的问题：</strong>书写过密，从而影响阅读。这种弊端显而易见，但只要优化做到家，这种状况会很少。</p>
<p>尽管对于现如今的带宽来说，网页文件那仅以K为单位的大小实在是微不足道，但如何将这以K来计算的网页文件精简到最小还是网页设计师们应该考虑的问题之一。而横向书写省去了不必要的空格、换行等，大大减小了文件大小。我们不能说哪种书写是对的，至于具体采用哪种写法依个人选择，当然改变习惯可能会影响一个人的工作效率，那我们提倡的是：提交的CSS样式文件是经过代码格式化的，而这个工作可以完全交给DW等工具，我们只要点击一下，整个文件就会像我们想象的那样呈现出来。这样的代码看起来很舒服，修改容易，团队成员在后续交接也会变得更加顺利。</p>
<p>PS: Dreamweaver下代码格式的设置方法</p>
<p><img alt="Dreamweaver下代码格式的设置方法" border="0" src="http://webteam.tencent.com/wp-content/uploads/2009/5/1080_002.jpg" /></p>]]></description>
		</item>
		
			<item>
			<link>http://www.iamwawa.cn/blog/article.asp?id=78</link>
			<title><![CDATA[[译]如何书写高效、可维护、组件化的CSS]]></title>
			<author>azoon@163.com(admin)</author>
			<category><![CDATA[CSS&amp;JS]]></category>
			<pubDate>Sat,19 Jun 2010 13:29:40 +0800</pubDate>
			<guid>http://www.iamwawa.cn/blog/default.asp?id=78</guid>
		<description><![CDATA[<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="355" width="425" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="margin: 0px">
<param value="true" name="allowFullScreen" />
<param value="always" name="allowScriptAccess" />
<param value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=efficient-091215042328-phpapp01&amp;rel=0&amp;stripped_title=efficient-maintainable-css-2721388" name="src" />
<param value="true" name="allowfullscreen" /><embed height="355" width="425" allowfullscreen="true" allowscriptaccess="always" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=efficient-091215042328-phpapp01&amp;rel=0&amp;stripped_title=efficient-maintainable-css-2721388" type="application/x-shockwave-flash" style="margin: 0px"></embed></object>
<div>&nbsp;</div>
<h4 style="font-size: 14px; padding-top: 2px; font-family: tahoma,arial; height: 26px">翻译自 <a href="http://www.maxdesign.com.au/">Russ Weakley</a> 的 <a target="_blank" href="http://www.slideshare.net/maxdesign/efficient-maintainable-css-presentation">Efficient, maintainable CSS </a></h4>
<p>翻译自Russ大师的一篇关于如何书写高效、可维护、组件化的CSS的演示文档。</p>]]></description>
		</item>
		
			<item>
			<link>http://www.iamwawa.cn/blog/article.asp?id=75</link>
			<title><![CDATA[Kingcms 外站调用本站内容代码]]></title>
			<author>azoon@163.com(admin)</author>
			<category><![CDATA[Web]]></category>
			<pubDate>Fri,03 Apr 2009 16:25:05 +0800</pubDate>
			<guid>http://www.iamwawa.cn/blog/default.asp?id=75</guid>
		<description><![CDATA[Kingcms 外站调用本站内容代码<br/>最近用kingcms来改版了这个小网站，发现kingcms真的很不错，DIY功能强大。<br/>下面我搞个调用最新十篇文章的代码作为例子<br/><br/>1.首先在模板文件夹下新建一个文件，例如 js.html<br/>然后输入下面内容，作为一个模板。注意模板里只有下面内容，其他&lt;head&gt;&lt;body&gt;等标签都删掉。utf8编码。<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">document.writeln(&#34;&lt;ul&gt;&#34;);{king:article type=&#34;new&#34; number=&#34;10&#34;}<br/>document.writeln(&#34;&lt;li&gt;&lt;a title=(king:title/) href=http://你的域名(king:path/)&gt;(king:title size=&#34;38&#34; /)&lt;\/a&gt;&lt;\/li&gt;&#34;);{/king}<br/>document.writeln(&#34;&lt;\/ul&gt;&#34;);</div></div><br/>复制代码2.进入kingcms后台，添加一个单页面，用上面制作的模板js.html 作为外部模板。<br/>页面路径 填adfile/js.htm，然后生成。<br/><img src="http://www.iamwawa.cn/blog/attachments/month_0904/m200943162314.jpg" border="0" alt=""/><br/><br/>3.外站就可以用代码&lt;script src=&#34;<a href="http://" target="_blank" rel="external">http://</a>你的域名/adfile/js.htm&#34;&gt;&lt;/script&gt; 来调用本站最新10篇文章了。<br/><br/>如此类推就可以做出其他的调用代码了。<br/><br/>可能是个笨方法，不过算是一个方法吧。其实就是个生成js代码的模板。<br/>不是转载的，自己写的.]]></description>
		</item>
		
			<item>
			<link>http://www.iamwawa.cn/blog/article.asp?id=73</link>
			<title><![CDATA[阿里妈妈社区动态工具栏代码]]></title>
			<author>azoon@163.com(admin)</author>
			<category><![CDATA[CSS&amp;JS]]></category>
			<pubDate>Thu,05 Mar 2009 16:46:42 +0800</pubDate>
			<guid>http://www.iamwawa.cn/blog/default.asp?id=73</guid>
		<description><![CDATA[<img src="http://www.iamwawa.cn/blog/attachments/month_0903/i20093915459.jpg" border="0" alt=""/><br/>上过阿里妈妈的朋友不多不少都会发现在社区的页面上有上面截图的工具箱。<br/>昨晚无聊就把他的代码截取下来了。代码改了一点没技术含量的东西。<br/>下面是预览页面，打开即可以看到效果，很不错的。<br/><a target="_blank" href="http://www.iamwawa.cn/upfiles/sj/090309/almm.html" rel="external">http://www.iamwawa.cn/upfiles/sj/090309/almm.html</a><br/><br/>背景图片地址：<a target="_blank" href="http://www.iamwawa.cn/upfiles/sj/090309/club_tool_bg.gif" rel="external">http://www.iamwawa.cn/upfiles/sj/090309/club_tool_bg.gif</a><br/><br/>代码在此：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&lt;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" rel="external">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&#34;&gt;<br/>&lt;html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="external">http://www.w3.org/1999/xhtml</a>&#34;&gt;<br/>&lt;head&gt;<br/>&lt;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&gt;<br/>&lt;title&gt;无标题文档&lt;/title&gt;<br/>&lt;style type=&#34;text/css&#34;&gt;<br/>&lt;!--<br/>*{ margin:0; padding:0; list-style:none;}<br/><br/>body { font-size:12px; color:#555555; font-family:Arial;}<br/>a:link,a:visited{ color:#555555; text-decoration:none;}<br/>a:hover{ color:#fe0017; text-decoration:underline;}<br/>.clearing{ clear:both;font-size: 0px; line-height: 0; height: 0px;border-top:1px solid transparent;visibility: hidden;}<br/>a.hover{ color:#fe0017; }<br/>.red{ color:#ff8400;}<br/>.hidden{ display:none;}<br/>img{border-width:0;}<br/><br/><br/>/*&nbsp;&nbsp; 工具箱&nbsp;&nbsp; */<br/>.s_tools,.tool_ul li,.s_tools .tools_div,.tool_ul li a{background-image:url(club_tool_bg.gif);background-repeat:no-repeat;<br/>}<br/><br/><br/>.s_tools{<br/>&#160;&#160;&#160;&#160;float:left;<br/>&#160;&#160;&#160;&#160;width:256px;<br/>&#160;&#160;&#160;&#160;height:156px;<br/>&#160;&#160;&#160;&#160;overflow:hidden;<br/>&#160;&#160;&#160;&#160;margin:6px 0 0 4px;<br/>&#160;&#160;&#160;&#160;_margin-left:0;<br/>&#160;&#160;&#160;&#160;background-position:right top;<br/>&#160;&#160;&#160;&#160;padding-top:26px;<br/>&#160;&#160;&#160;&#160;padding-left:7px;<br/>}<br/>.s_tools .clearing{border-top-width:0; }<br/>.tool_ul{ height:32px;padding-top:3px;overflow:hidden;}<br/>.tool_ul li{ background-position:left -200px; float:left; width:123px; height:32px; margin-right:3px;}<br/>.tool_ul li.current{background-position:left -250px;}<br/>.tool_ul li a{ display:block; padding:7px 0 6px 27px; color:#4a5180;}<br/>.tool_ul li a.ymxx{ background-position:8px -494px;}<br/>.tool_ul li a.wzxx{ background-position:8px -534px;}<br/>.tool_ul li a.seoxx{ background-position:9px -573px;}<br/>.tool_ul li a.wzsy{ background-position:9px -613px;}<br/>.s_tools .tools_div{ display:none; height:72px;padding-top:5px;padding-left:6px;}<br/>.s_tools .tools_left{ background-position:left -400px;}<br/>.s_tools .tools_right{ background-position:left -300px;}<br/>.tools_div .tul_link{padding-left:6px;}<br/>.tools_div .tul_link li{float:left;padding-left:8px; width:104px;line-height:18px;height:18px;margin-top:4px;}<br/>--&gt;<br/>&lt;/style&gt;<br/>&lt;script type=&#34;text/javascript&#34;&gt;<br/>function toggleTools(c,toolid){<br/>&nbsp;&nbsp;&nbsp;&nbsp;$i(&#34;toolli_1&#34;).className=&#34;&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$i(&#34;toolli_2&#34;).className=&#34;&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$i(&#34;toolli_3&#34;).className=&#34;&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$i(&#34;toolli_4&#34;).className=&#34;&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$i(&#34;tooldiv_1&#34;).style.display=&#34;none&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$i(&#34;tooldiv_2&#34;).style.display=&#34;none&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$i(&#34;tooldiv_3&#34;).style.display=&#34;none&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$i(&#34;tooldiv_4&#34;).style.display=&#34;none&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;c.className = &#34;current&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$i(toolid).style.display=&#34;block&#34;;<br/>}<br/>function $i(s){return document.getElementById(s);<br/>}<br/>&lt;/script&gt;<br/><br/>&lt;/head&gt;<br/><br/>&lt;body&gt;<br/> &lt;div class=&#34;s_tools&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul class=&#34;tool_ul&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li id=&#34;toolli_1&#34; class=&#34;current&#34; onmouseover=&#34;toggleTools(this,&#39;tooldiv_1&#39;)&#34;&gt;&lt;a class=&#34;ymxx&#34; href=&#34;#&#34;&gt;域名信息查询&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li id=&#34;toolli_2&#34; onmouseover=&#34;toggleTools(this,&#39;tooldiv_2&#39;)&#34;&gt;&lt;a class=&#34;wzxx&#34; href=&#34;#&#34;&gt;网站信息查询&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#34;tools_left tools_div&#34; id=&#34;tooldiv_1&#34; style=&#34;display:block;&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul class=&#34;tul_link&#34;&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/engine.php" target="_blank" rel="external">http://tool.alimama.com/engine.php</a>&#34;&gt;搜索引擎收录查询&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/linkin.php" target="_blank" rel="external">http://tool.alimama.com/linkin.php</a>&#34;&gt;反向链接查询&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/keyword.php" target="_blank" rel="external">http://tool.alimama.com/keyword.php</a>&#34;&gt;关键词密度查询&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/meta.php" target="_blank" rel="external">http://tool.alimama.com/meta.php</a>&#34;&gt;网页meta信息检测&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/code.php" target="_blank" rel="external">http://tool.alimama.com/code.php</a>&#34;&gt;网页源代码查看&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/color.php" target="_blank" rel="external">http://tool.alimama.com/color.php</a>&#34;&gt;颜色代码选择器&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#34;tools_right tools_div&#34; id=&#34;tooldiv_2&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul class=&#34;tul_link&#34;&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/engine.php" target="_blank" rel="external">http://tool.alimama.com/engine.php</a>&#34;&gt;搜索引擎收录查询&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/linkin.php" target="_blank" rel="external">http://tool.alimama.com/linkin.php</a>&#34;&gt;反向链接查询&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/keyword.php" target="_blank" rel="external">http://tool.alimama.com/keyword.php</a>&#34;&gt;关键词密度查询&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/meta.php" target="_blank" rel="external">http://tool.alimama.com/meta.php</a>&#34;&gt;网页meta信息检测&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/code.php" target="_blank" rel="external">http://tool.alimama.com/code.php</a>&#34;&gt;网页源代码查看&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/color.php" target="_blank" rel="external">http://tool.alimama.com/color.php</a>&#34;&gt;颜色代码选择器&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul class=&#34;tool_ul&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li id=&#34;toolli_3&#34; onmouseover=&#34;toggleTools(this,&#39;tooldiv_3&#39;)&#34;&gt;&lt;a class=&#34;seoxx&#34; href=&#34;#&#34;&gt;SEO信息查询&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li id=&#34;toolli_4&#34; onmouseover=&#34;toggleTools(this,&#39;tooldiv_4&#39;)&#34;&gt;&lt;a class=&#34;wzsy&#34; href=&#34;#&#34;&gt;网站实用工具&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;div class=&#34;tools_left tools_div&#34; id=&#34;tooldiv_3&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul class=&#34;tul_link&#34;&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/engine.php" target="_blank" rel="external">http://tool.alimama.com/engine.php</a>&#34;&gt;搜索引擎收录查询&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/linkin.php" target="_blank" rel="external">http://tool.alimama.com/linkin.php</a>&#34;&gt;反向链接查询&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/keyword.php" target="_blank" rel="external">http://tool.alimama.com/keyword.php</a>&#34;&gt;关键词密度查询&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/meta.php" target="_blank" rel="external">http://tool.alimama.com/meta.php</a>&#34;&gt;网页meta信息检测&lt;/a&gt;&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/code.php" target="_blank" rel="external">http://tool.alimama.com/code.php</a>&#34;&gt;网页源代码查看&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/color.php" target="_blank" rel="external">http://tool.alimama.com/color.php</a>&#34;&gt;颜色代码选择器&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#34;tools_right tools_div&#34; id=&#34;tooldiv_4&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul class=&#34;tul_link&#34;&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/html.php" target="_blank" rel="external">http://tool.alimama.com/html.php</a>&#34;&gt;Html特殊符号查询&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/gettext.php" target="_blank" rel="external">http://tool.alimama.com/gettext.php</a>&#34;&gt;蜘蛛抓取模拟&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/htmltojs.php" target="_blank" rel="external">http://tool.alimama.com/htmltojs.php</a>&#34;&gt;Html/js代码转换&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/htmltoubb.php" target="_blank" rel="external">http://tool.alimama.com/htmltoubb.php</a>&#34;&gt;Html/UBB代码转换&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/code.php" target="_blank" rel="external">http://tool.alimama.com/code.php</a>&#34;&gt;网页源代码查看&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a target=&#34;_blank&#34; href=&#34;<a href="http://tool.alimama.com/color.php" target="_blank" rel="external">http://tool.alimama.com/color.php</a>&#34;&gt;颜色代码选择器&lt;/a&gt;&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br/>&lt;/div&gt;<br/><br/>&lt;P&gt;&lt;/P&gt;<br/>&lt;P style=&#34;float:left;&#34;&gt;更多网页特效代码&lt;a href=&#34;<a href="http://www.iamwawa.cn/blog/" target="_blank" rel="external">http://www.iamwawa.cn/blog/</a>&#34;&gt;<a href="http://www.iamwawa.cn/blog/" target="_blank" rel="external">http://www.iamwawa.cn/blog/</a>&lt;/a&gt;&lt;/P&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;<br/></div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.iamwawa.cn/blog/article.asp?id=74</link>
			<title><![CDATA[网易的一个开源镜象]]></title>
			<author>azoon@163.com(admin)</author>
			<category><![CDATA[Life]]></category>
			<pubDate>Fri,06 Feb 2009 17:08:27 +0800</pubDate>
			<guid>http://www.iamwawa.cn/blog/default.asp?id=74</guid>
		<description><![CDATA[网易的一个开源镜象，域名是 <a href="http://mirrors.163.com/" target="_blank" rel="external">http://mirrors.163.com/</a> <br/>目前提供了 Debian、Ubuntu、Fedora、Gentoo、Centos、FreeBSD等流行开源操作系统以及Eclipse等开源软件的镜象<br/><br/>##ubuntu8.10的163源为：<br/>deb <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> intrepid main restricted universe multiverse<br/>deb <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> intrepid-security main restricted universe multiverse<br/>deb <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> intrepid-up&#100;ates main restricted universe multiverse<br/>deb <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> intrepid-proposed main restricted universe multiverse<br/>deb <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> intrepid-backports main restricted universe multiverse<br/>deb-src <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> intrepid main restricted universe multiverse<br/>deb-src <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> intrepid-security main restricted universe multiverse<br/>deb-src <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> intrepid-up&#100;ates main restricted universe multiverse<br/>deb-src <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> intrepid-proposed main restricted universe multiverse<br/>deb-src <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> intrepid-backports main restricted universe multiverse<br/><br/>##ubuntu 8.04的163源为：<br/>deb <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> hardy main restricted universe multiverse<br/>deb <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> hardy-security main restricted universe multiverse<br/>deb <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> hardy-up&#100;ates main restricted universe multiverse<br/>deb <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> hardy-proposed main restricted universe multiverse<br/>deb <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> hardy-backports main restricted universe multiverse<br/>deb-src <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> hardy main restricted universe multiverse<br/>deb-src <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> hardy-security main restricted universe multiverse<br/>deb-src <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> hardy-up&#100;ates main restricted universe multiverse<br/>deb-src <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> hardy-proposed main restricted universe multiverse<br/>deb-src <a href="http://mirrors.163.com/ubuntu/" target="_blank" rel="external">http://mirrors.163.com/ubuntu/</a> hardy-backports main restricted universe multiverse]]></description>
		</item>
		
			<item>
			<link>http://www.iamwawa.cn/blog/article.asp?id=72</link>
			<title><![CDATA[[Jquery]鼠标在图片四角显示不同图片图片]]></title>
			<author>azoon@163.com(admin)</author>
			<category><![CDATA[CSS&amp;JS]]></category>
			<pubDate>Wed,24 Dec 2008 18:16:30 +0800</pubDate>
			<guid>http://www.iamwawa.cn/blog/default.asp?id=72</guid>
		<description><![CDATA[鼠标在图片四角显示不同图片图片<br/><br/>预览地址：<br/><a target="_blank" href="http://www.iamwawa.cn/blog/upfiles/js/081224-4pic/" rel="external">http://www.iamwawa.cn/blog/upfiles/js/081224-4pic/</a><br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&lt;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Strict//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank" rel="external">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>&#34;&gt;<br/>&lt;html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="external">http://www.w3.org/1999/xhtml</a>&#34; xml:lang=&#34;zh-CN&#34; lang=&#34;zh-CN&#34;&gt;<br/>&lt;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gbk&#34; /&gt;<br/>&lt;title&gt;鼠标在图片四角显示不同图片图片&lt;/title&gt;<br/>&lt;script src=&#34;jquery.js&#34; type=&#34;text/javascript&#34;&gt;&lt;/script&gt;<br/>&lt;SCRIPT LANGUAGE=&#34;JavaScript&#34;&gt;<br/>&#160;&#160;&#160;&#160;&lt;!--<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;$(function(){<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;$(&#34;#p1&#34;).mousemove(function(e){<br/>&#160;&#160;&#160;&#160;var x=e.offsetX;//x相于图片的偏移<br/>&#160;&#160;&#160;&#160;var y=e.offsetY;<br/>&#160;&#160;&#160;&#160;var w=$(&#34;#p1&#34;).width();//图片的宽度<br/>&#160;&#160;&#160;&#160;var h=$(&#34;#p1&#34;).height();<br/>&#160;&#160;&#160;&#160;if(x&gt;0 &amp;&amp; x&lt;w/2 &amp;&amp; y&gt;0 &amp;&amp; y&lt;h/2)//我把图片划成了4分,这个判断如果鼠标在左上角的区域的话,就显示别的图片<br/>&#160;&#160;&#160;&#160;{<br/>&#160;&#160;&#160;&#160;$(&#34;#p1&#34;).attr(&#34;src&#34;,&#34;1.gif&#34;);<br/>&#160;&#160;&#160;&#160;}<br/>&#160;&#160;&#160;&#160;if(x&gt;w/2 &amp;&amp; x&lt;w &amp;&amp; y&gt;0 &amp;&amp; y&lt;h/2)//右上<br/>&#160;&#160;&#160;&#160;{<br/>&#160;&#160;&#160;&#160;$(&#34;#p1&#34;).attr(&#34;src&#34;,&#34;2.gif&#34;);<br/>&#160;&#160;&#160;&#160;}<br/>&#160;&#160;&#160;&#160;if(x&gt;0 &amp;&amp; x&lt;w/2 &amp;&amp; y&gt;h/2 &amp;&amp; y&lt;h)//...<br/>&#160;&#160;&#160;&#160;{<br/>&#160;&#160;&#160;&#160;$(&#34;#p1&#34;).attr(&#34;src&#34;,&#34;3.gif&#34;);<br/>&#160;&#160;&#160;&#160;}<br/>&#160;&#160;&#160;&#160;if(x&gt;w/2 &amp;&amp; x&lt;w &amp;&amp; y&gt;h/2 &amp;&amp; y&lt;h)//...<br/>&#160;&#160;&#160;&#160;{<br/>&#160;&#160;&#160;&#160;$(&#34;#p1&#34;).attr(&#34;src&#34;,&#34;4.jpg&#34;);<br/>&#160;&#160;&#160;&#160;}<br/>&#160;&#160;&#160;&#160; })<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;})<br/>&#160;&#160;&#160;&#160;//--&gt;<br/>&lt;/SCRIPT&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/>&lt;h3&gt;图片分区域显示不同的图片。（分 左上，右上，左下，右下。）&lt;/h3&gt;<br/>&lt;img src=&#34;1.gif&#34; id=&#39;p1&#39; width=&#34;270&#34; height=&#34;100&#34; /&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;<br/></div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.iamwawa.cn/blog/article.asp?id=71</link>
			<title><![CDATA[googleanalytics上用CSS控制的1像素圆角样式]]></title>
			<author>azoon@163.com(admin)</author>
			<category><![CDATA[CSS&amp;JS]]></category>
			<pubDate>Sun,21 Dec 2008 16:56:54 +0800</pubDate>
			<guid>http://www.iamwawa.cn/blog/default.asp?id=71</guid>
		<description><![CDATA[请进入日志再运行<br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp91251"><!DOCTYPE HTML PUBLIC &#34;-//W3C//DTD HTML 4.01//EN&#34; &#34;<a href="http://www.w3.org/TR/html4/strict.dtd" target="_blank" rel="external">http://www.w3.org/TR/html4/strict.dtd</a>&#34;>
<html lang=&#34;en&#34;>
<head>
<meta http-equiv=&#34;content-type&#34; content=&#34;text/html; charset=utf-8&#34;>
<title>google analytics buttons</title>
<style type=&#34;text/css&#34;>
/* default stuff */
body {padding:20px; font-family:arial; text-align:center;}
p, li {font-size: 12px; line-height:18px;}
h3 {margin-bottom:6px;}
.examplesGoHere {text-align:left; margin:0 auto; }
.letsGiveItAFixedWidthOf200Pixels { width:200px; }
ul {list-style:none;margin-left:0;padding-left:0;margin-top:0;}
ul li {margin-bottom:8px; margin-left:0;padding-left:0; }
/* notched effect for links in the unordered list */
.notchedListItems a {
	display:block;
	border: solid #666;
	border-width: 0 1px;
	text-decoration: none;
	outline:none;
	color: #000;
	background: #e4e4e4;
}
.notchedListItems a b {
	display: block;
	position:relative;
	top: -1px;
	left: 0;
	border:solid #666;
	border-width:1px 0 0;
	font-weight:normal;
}
.notchedListItems a b b {
  border-width:0 0 1px;
  top: 2px;
  padding:1px 6px;
}
.notchedListItems a:hover,
.notchedListItems a:hover b {background:#666;color:white;}
.feature {
	border:solid #647aae;
 	border-width:0 1px;
	background:#b0c0e6;
}
.feature div {
  position:relative;
  top: -1px;
  left: 0;
  border:solid #647aae;
  border-width:1px 0 0;
}
.feature div div {
	top: 2px;
	border-width:0 0 1px;
	padding: .3em .3em .1em;
}
</style>
</head>
<body>
<div class=&#34;examplesGoHere letsGiveItAFixedWidthOf200Pixels&#34;>
	<h3>A list</h3>
	<ul class=&#34;notchedListItems&#34;>
		<li><a href=&#34;#&#34;><b><b>About</b></b></a></li>
		<li><a href=&#34;#&#34;><b><b>Contact</b></b></a></li>
		<li><a href=&#34;#&#34;><b><b>Cssrain</b></b></a></li>
	</ul>


	<h3>A div</h3>
	<div class=&#34;feature&#34;>
		<div>
			<div>
				<p>This is an example of the notched corners as applied to a div container.</p>
				<p>This is an example of the notched corners as applied to a div container.</p>
				<p>This is an example of the notched corners as applied to a div container.</p>
			</div>
		</div>
	</div>
</div><!-- end .examplesGoHere -->
</body>
</html>
</TEXTAREA><br/><INPUT onclick="runEx('temp91251')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp91251')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp91251')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.iamwawa.cn/blog/article.asp?id=70</link>
			<title><![CDATA[用JavaScript做的密码强度提示效果]]></title>
			<author>azoon@163.com(admin)</author>
			<category><![CDATA[CSS&amp;JS]]></category>
			<pubDate>Sun,21 Dec 2008 16:45:10 +0800</pubDate>
			<guid>http://www.iamwawa.cn/blog/default.asp?id=70</guid>
		<description><![CDATA[可以点下面的链接看看效果，这断代码今天在电脑上不小心找出来的，不知道作者是谁，没法注明出处，对作者说声抱歉。<br/><a target="_blank" href="http://www.iamwawa.cn/blog/upfiles/pwt.htm" rel="external">http://www.iamwawa.cn/blog/upfiles/pwt.htm</a><br/><br/>请进入日志再运行<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp82965"><html>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34; />
<title>密码</title>
<style type=&#34;text/css&#34;>
body{
	font-size:12px;
	font-family: Arial, Helvetica, sans-serif;
	margin:0;
}
form{
	margin:2em;
}
#chkResult{margin-left:53px;height:15px;}
</style>
</head>

<body>
<form name=&#34;form1&#34;>
	<label for=&#34;pwd&#34;>用户密码</label>
	<input type=&#34;password&#34; name=&#34;pwd&#34; onBlur=&#34;chkpwd(this)&#34; />
	<div id=&#34;chkResult&#34;></div>
	<label for=&#34;pwd2&#34;>重复密码</label>
	<input type=&#34;password&#34; name=&#34;pwd2&#34; />
</form>
<script type=&#34;text/javascript&#34;>
	function chkpwd(obj){
		var t=obj.value;
		var id=getResult(t);
		
		//定义对应的消息提示
		var msg=new Array(4);
		msg[0]=&#34;密码过短。&#34;;
		msg[1]=&#34;密码强度差。&#34;;
		msg[2]=&#34;密码强度良好。&#34;;
		msg[3]=&#34;密码强度高。&#34;;
		
		var sty=new Array(4);
		sty[0]=-45;
		sty[1]=-30;
		sty[2]=-15;
		sty[3]=0;
		
		var col=new Array(4);
		col[0]=&#34;gray&#34;;
		col[1]=&#34;red&#34;;
		col[2]=&#34;#ff6600&#34;;
		col[3]=&#34;Green&#34;;
		
		//设置显示效果
		var bImg=&#34;<a href="http://www.iamwawa.cn/blog/upfiles/pwt.gif" target="_blank" rel="external">http://www.iamwawa.cn/blog/upfiles/pwt.gif</a>&#34;;//一张显示用的图片
		var sWidth=300;
		var sHeight=15;
		var Bobj=document.getElementById(&#34;chkResult&#34;);

		Bobj.style.fontSize=&#34;12px&#34;;
		Bobj.style.color=col[id];
		Bobj.style.width=sWidth + &#34;px&#34;;
		Bobj.style.height=sHeight + &#34;px&#34;;
		Bobj.style.lineHeight=sHeight + &#34;px&#34;;
		Bobj.style.background=&#34;url(&#34; + bImg + &#34;) no-repeat left &#34; + sty[id] + &#34;px&#34;;
		Bobj.style.textIndent=&#34;20px&#34;;
		Bobj.innerHTML=&#34;检测提示：&#34; + msg[id];
	}
	
	//定义检测函数,返回0/1/2/3分别代表无效/差/一般/强
	function getResult(s){
		if(s.length < 4){
			return 0;
		}
		var ls = 0;
		if (s.match(/[a-z]/ig)){
			ls++;
		}
		if (s.match(/[0-9]/ig)){
			ls++;
		}
	 	if (s.match(/(.[^a-z0-9])/ig)){
			ls++;
		}
		if (s.length < 6 &amp;&amp; ls > 0){
			ls--;
		}
		return ls
	}
</script>
</body>
</html></TEXTAREA><br/><INPUT onclick="runEx('temp82965')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp82965')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp82965')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.iamwawa.cn/blog/article.asp?id=69</link>
			<title><![CDATA[css常见问题解决办法收集]]></title>
			<author>azoon@163.com(admin)</author>
			<category><![CDATA[CSS&amp;JS]]></category>
			<pubDate>Sun,21 Dec 2008 16:23:29 +0800</pubDate>
			<guid>http://www.iamwawa.cn/blog/default.asp?id=69</guid>
		<description><![CDATA[<strong>一、IE6的双倍边距BUG</strong><br/><br/>例如:<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&lt;style type=&#34;text/css&#34;&gt;<br/>body {margin:0;}<br/>div {float:left; margin-left:10px; width:200px; height:200px; border:1px solid red;}<br/>&lt;/style&gt;<br/></div></div><br/>浮动后本来外边距10px,但IE解释为20px,解决办法是加上display:inline<br/><br/><br/><strong>二、为什么FF下文本无法撑开容器的高度？</strong><br/><br/>标准浏览器中固定高度值的容器是不会象IE6里那样被撑开的,那我又想固定高度，又想能被撑开需要怎样设置呢？办法就是去掉height设置min-height:200px; 这里为了照顾不认识min-height的IE6 可以这样定义：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">div { height:auto!important; height:200px; min-height:200px; }<br/></div></div><br/><br/><strong>三、怎么样才能让层显示在FLASH之上呢？</strong><br/>　　 <br/>解决的办法是给FLASH设置透明:<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&lt;a href=&#34;<a href="http://www.easyq.net.cn/" target="_blank" rel="external">http://www.easyq.net.cn/</a>&#34;&gt;:&lt;/a&gt;<br/>&lt;pre lang=&#34;html&#34; line=&#34;1&#34;&gt;<br/>&lt;param name=&#34;wmode&#34; value=&#34;transparent&#34; /&gt;<br/></div></div><br/><br/><strong>四、怎样使一个层垂直居中于浏览器中？</strong><br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">&lt;style type=&#34;text/css&#34;&gt; <br/>&lt;!-- <br/>div { <br/>position:absolute; <br/>top:50%; <br/>left:50%; <br/>margin:-100px 0 0 -100px; <br/>width:200px; <br/>height:200px; <br/>border:1px solid red; <br/>} <br/>--&gt; <br/>&lt;/style&gt;<br/></div></div>　<br/>这里使用百分比绝对定位，与外补丁负值的方法，负值的大小为其自身宽度高度除以二<br/><br/><strong>五、关于IE6样式中背景图片不缓存的BUG</strong><br/><br/>示例：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>a{ background:url(images/normal.gif); } a:hover { background:url(images/hover.gif); } <br/></div></div><br/><br/>如果为超级链接定义上述的css样式以实现鼠标悬浮时的动态效果，在firefox下是没有什么问题的，第一次加载之后，浏览器都会从缓存读取背景图片；<br/><br/>而IE6在这里有一个bug，它每次都从服务器端读取背景图片，结果就是，若服务器反应较慢hover效果就会出现短暂的空白，令人极度不爽。 一直以来都是通过“两张背景图片合并、background-postion控制位置”的方式解决问题的，效果差强人意。<br/><br/>具体来说就是在页面中加入一段简单的javascript脚本，告诉ie6：本地有背景图片的话就不要麻烦服务器了。 document.execCommand(&#34;BackgroundImageCache&#34;,false,true);<br/><br/>关于这段脚本的放置方式有两种：<br/><br/>1.用CSS，在css中加入如下代码<br/><br/>html {}{ filter: e&#173;xpression(document.execCommand(&#34;BackgroundImageCache&#34;, false, true)); }<br/><br/>2.用JS：document.execCommand(&#34;BackgroundImageCache&#34;,false,true); <br/>如下：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">&lt;!--[if IE 6]&gt;<br/>&lt;script&gt;<br/>document.execCommand(&#34;BackgroundImageCache&#34;, false, true);<br/>&lt;/script&gt;<br/>&lt;![endif]--&gt; <br/></div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.iamwawa.cn/blog/article.asp?id=67</link>
			<title><![CDATA[定位的应用-仿制了一个太极.]]></title>
			<author>azoon@163.com(admin)</author>
			<category><![CDATA[CSS&amp;JS]]></category>
			<pubDate>Sun,21 Dec 2008 15:57:07 +0800</pubDate>
			<guid>http://www.iamwawa.cn/blog/default.asp?id=67</guid>
		<description><![CDATA[今日逛经典论坛时，见到的，很不错，用CSS的定位做出来的八卦。<br/><br/>请进入日志再运行<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.iamwawa.cn/blog/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp48476">
<!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" rel="external">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&#34;>
<html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="external">http://www.w3.org/1999/xhtml</a>&#34;>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; />
<title>太极</title>
<style type=&#34;text/css&#34;>
 *{ margin:0px; padding:0px;}
 body{ font-family:courier new,courier,monospace; font-size:12px; line-height:18px;}
 .tj_box{ width:200px; height:150px;position:relative; background-color:#fff;  left:0px;top:0px; margin:100px auto;}
 .tj_box span{ display:block;}
 .tj_box span.cir1{ color:#000; font-size:400px; line-height:200px;width:250px; position:absolute;}
 .tj_box span.cir2{ color:#fff; font-size:380px; line-height:200px; width:220px;position:absolute; left:6px; top:-1px; overflow:hidden;}
 .tj_box span.cir3{ 
 color:#000000;
font-size:380px;
left:5px;
line-height:198px;
overflow:hidden;
position:absolute;
top:0;
width:110px;
 }
.tj_box span.cir4{
color:#fff;
font-size:195px;
height:150px;
left:62px;
line-height:240px;
overflow:hidden;
position:absolute;
top:-6px;
width:120px;
}
.tj_box span.cir5{
color:#000;
font-size:195px;
height:150px;
left:60px;
line-height:140px;
overflow:hidden;
position:absolute;
top:-2px;
width:120px;
}
.tj_box span.cir6 {
color:#FFFFFF;
font-size:70px;
height:100px;
left:95px;
line-height:100px;
overflow:hidden;
position:absolute;
top:15px;
width:100px;
}
.tj_box span.cir7 {
color:#000000;
font-size:70px;
height:100px;
left:105px;
line-height:100px;
overflow:hidden;
position:absolute;
top:60px;
width:100px;
}
 
</style>
</head>
<body>
    <div class=&#34;tj_box&#34;>
	   <span class=&#34;cir1&#34;>•</span>
	    <span class=&#34;cir2&#34;>•</span>
		<span class=&#34;cir3&#34;>•</span>
		<span class=&#34;cir4&#34;>•</span>
		<span class=&#34;cir5&#34;>•</span>
		<span class=&#34;cir6&#34;>•</span>
		<span class=&#34;cir7&#34;>•</span>
		
	   
	</div>
</body>
</html>
</TEXTAREA><br/><INPUT onclick="runEx('temp48476')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp48476')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp48476')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div>]]></description>
		</item>
		
</channel>
</rss>
