<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[蜈蚣's Blog]]></title> 
<link>http://www.wugong.net.ru/blog/index.php</link> 
<description><![CDATA[早起的蜈蚣有鸟吃~]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[蜈蚣's Blog]]></copyright>
<item>
<link>http://www.wugong.net.ru/blog/read.php?85</link>
<title><![CDATA[FF3.6.8和opera对td的解析]]></title> 
<author>wxbwyx821 &lt;wxbwyx821@163.com&gt;</author>
<category><![CDATA[(x)html+css]]></category>
<pubDate>Wed, 04 Aug 2010 07:03:48 +0000</pubDate> 
<guid>http://www.wugong.net.ru/blog/read.php?85</guid> 
<description>
<![CDATA[ 
	上DEMO:<br/>[html]<br/> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br/><html xmlns="http://www.w3.org/1999/xhtml"><br/><head><br/><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><br/><title>表格td计算高度</title><br/><style type="text/css"><br/>&nbsp;&nbsp;*&#123; margin:0; padding:0&#125;<br/>&nbsp;&nbsp;table &#123; border-collapse:collapse; border-spacing:0; &#125;<br/>&nbsp;&nbsp;.wg&#123; height:126px; background:black;&#125;<br/>&nbsp;&nbsp;.wg table&#123; width:200px; margin:0 auto;&#125;<br/>&nbsp;&nbsp;.wg td&#123; height:24px; border:1px solid red;&#125;<br/></style><br/></head><br/><body ><br/> <div class="wg"><br/>&nbsp;&nbsp;&nbsp;&nbsp;<table cellspacing="0"><br/>&nbsp;&nbsp;<tr><br/>&nbsp;&nbsp;&nbsp;&nbsp;<td> </td><br/>&nbsp;&nbsp;&nbsp;&nbsp;<td> </td><br/>&nbsp;&nbsp;</tr><br/>&nbsp;&nbsp;<tr><br/>&nbsp;&nbsp;&nbsp;&nbsp;<td> </td><br/>&nbsp;&nbsp;&nbsp;&nbsp;<td> </td><br/>&nbsp;&nbsp;</tr><br/>&nbsp;&nbsp;<tr><br/>&nbsp;&nbsp;&nbsp;&nbsp;<td> </td><br/>&nbsp;&nbsp;&nbsp;&nbsp;<td> </td><br/>&nbsp;&nbsp;</tr><br/>&nbsp;&nbsp;<tr><br/>&nbsp;&nbsp;&nbsp;&nbsp;<td> </td><br/>&nbsp;&nbsp;&nbsp;&nbsp;<td> </td><br/>&nbsp;&nbsp;</tr><br/>&nbsp;&nbsp;<tr><br/>&nbsp;&nbsp;&nbsp;&nbsp;<td> </td><br/>&nbsp;&nbsp;&nbsp;&nbsp;<td> </td><br/>&nbsp;&nbsp;</tr><br/></table><br/><br/> </div><br/></body><br/></html><br/>[/html]<br/>大家可以在各大浏览下测试, td高度是24px, 五行td,高度应该是24*5+6=126px. 但在FF3.6.8(之前估计也有此问题)和opera并没有把td的边框计算在高度之内,严格来说,只计算了一个边框的高度.<br/>可以通过打HACK方式解决此问题:<br/>~~^^~~<br/>............<br/><br/>Tags - <a href="http://www.wugong.net.ru/blog/tag.php?tag=xhtml" rel="tag">xhtml</a> , <a href="http://www.wugong.net.ru/blog/tag.php?tag=css" rel="tag">css</a>
]]>
</description>
</item><item>
<link>http://www.wugong.net.ru/blog/read.php?84</link>
<title><![CDATA[图片滚动插件jcarousellite]]></title> 
<author>wxbwyx821 &lt;wxbwyx821@163.com&gt;</author>
<category><![CDATA[Jquery]]></category>
<pubDate>Sun, 13 Jun 2010 04:36:44 +0000</pubDate> 
<guid>http://www.wugong.net.ru/blog/read.php?84</guid> 
<description>
<![CDATA[ 
	闲了没事，整理了下jcarousellite的使用。<br/>说明：此插件可以设置速度，是否自动滚动，向左滚动class或ID，向右滚动class或ID，显示图片个数，是否垂直滚动等常用效果。而且此插件pack包只有3K。 不过还是要引JQ种子的，这是必须滴。<br/>不足之处：<br/>&nbsp;&nbsp;&nbsp;&nbsp;循环完毕时，生硬的回到开始。<br/>&nbsp;&nbsp;&nbsp;&nbsp;当设置自动滚动时，鼠标滑上去不会停止滚动。<br/>先看效果:<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 18px;"><a href="http://www.wgcss.com/zp/scoll/" target="_blank"><span style="color: #DC143C;">使劲点下去</span></a></span><br/>调用方式：<br/>……<br/>............<br/><br/>Tags - <a href="http://www.wugong.net.ru/blog/tag.php?tag=jquery" rel="tag">jquery</a> , <a href="http://www.wugong.net.ru/blog/tag.php?tag=%25E6%258F%2592%25E4%25BB%25B6" rel="tag">插件</a> , <a href="http://www.wugong.net.ru/blog/tag.php?tag=%25E5%259B%25BE%25E7%2589%2587%25E6%25BB%259A%25E5%258A%25A8" rel="tag">图片滚动</a>
]]>
</description>
</item><item>
<link>http://www.wugong.net.ru/blog/read.php?83</link>
<title><![CDATA[一道实验小学入学考试题]]></title> 
<author>wxbwyx821 &lt;wxbwyx821@163.com&gt;</author>
<category><![CDATA[蜈蚣杂记]]></category>
<pubDate>Mon, 31 May 2010 09:06:39 +0000</pubDate> 
<guid>http://www.wugong.net.ru/blog/read.php?83</guid> 
<description>
<![CDATA[ 
	今天在CIO群里，一个当妈妈的了同事问了一道实验小学入学考试题，贴出来，看看大家的智商能上实验小学了不:<br/><a href="http://www.wugong.net.ru/blog/attachment.php?fid=13" target="_blank"><img src="http://www.wugong.net.ru/blog/attachment.php?fid=13" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>大家快来测验下你们够不够上实验小学吧~~
]]>
</description>
</item><item>
<link>http://www.wugong.net.ru/blog/read.php?82</link>
<title><![CDATA[jQuery tab插件]]></title> 
<author>wxbwyx821 &lt;wxbwyx821@163.com&gt;</author>
<category><![CDATA[Jquery]]></category>
<pubDate>Thu, 13 May 2010 03:13:34 +0000</pubDate> 
<guid>http://www.wugong.net.ru/blog/read.php?82</guid> 
<description>
<![CDATA[ 
	jQuery tab插件<br/>结构：<br/>[codes=xml]<div class="tabWrap"><br/>&nbsp;&nbsp;&nbsp;&nbsp;<ul class="tabBox"><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#nogo">tab1 </a></li><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#nogo">tab2 </a></li><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#nogo">tab3 </a></li><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#nogo">tab4 </a></li><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#nogo">tab5 </a></li><br/>&nbsp;&nbsp;&nbsp;&nbsp;</ul><br/>&nbsp;&nbsp;&nbsp;&nbsp;<div class="tabContent"><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div class="tcon">1111</div><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div class="tcon">2222</div><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div class="tcon">3333</div><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div class="tcon">4444</div><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div class="tcon">5555</div><br/>&nbsp;&nbsp;&nbsp;&nbsp;</div><br/></div>[/codes]<br/>插件代码：<br/>……<br/>............<br/><br/>Tags - <a href="http://www.wugong.net.ru/blog/tag.php?tag=jquery" rel="tag">jquery</a> , <a href="http://www.wugong.net.ru/blog/tag.php?tag=tab" rel="tag">tab</a> , <a href="http://www.wugong.net.ru/blog/tag.php?tag=%25E6%258F%2592%25E4%25BB%25B6" rel="tag">插件</a>
]]>
</description>
</item><item>
<link>http://www.wugong.net.ru/blog/read.php?80</link>
<title><![CDATA[焦点图推荐]]></title> 
<author>wxbwyx821 &lt;wxbwyx821@163.com&gt;</author>
<category><![CDATA[(x)html+css]]></category>
<pubDate>Mon, 10 May 2010 09:02:56 +0000</pubDate> 
<guid>http://www.wugong.net.ru/blog/read.php?80</guid> 
<description>
<![CDATA[ 
	很多网站都会用到焦点图，可以用纯JS实现，但不会做出flash的那种很绚效果。今天我推荐一款。<br/>简单说明：<br/>1. 图片数量可控，可以设置多张图片<br/>2. 页面有多个相同效果不会互相冲突<br/>3. 最下面的文本说明可控，var text_height=20;&nbsp;&nbsp;如果设置成0 便不会显示文本说明。<br/>4. 如果焦点不大的话可随便设置值，如果焦图尺寸比较大的话，最好设置成整数比，不然右下角的数字会模糊。<br/>代码如下：<br/>……<br/>............<br/><br/>Tags - <a href="http://www.wugong.net.ru/blog/tag.php?tag=%25E7%2584%25A6%25E7%2582%25B9%25E5%259B%25BE" rel="tag">焦点图</a>
]]>
</description>
</item><item>
<link>http://www.wugong.net.ru/blog/read.php?79</link>
<title><![CDATA[认识lastIndexOf]]></title> 
<author>wxbwyx821 &lt;wxbwyx821@163.com&gt;</author>
<category><![CDATA[javascript]]></category>
<pubDate>Wed, 05 May 2010 00:17:47 +0000</pubDate> 
<guid>http://www.wugong.net.ru/blog/read.php?79</guid> 
<description>
<![CDATA[ 
	最近有朋友在群里问过一个问题，如下：<br/>[codes=JS]<br/>var oText="Mississippi";<br/>var p=oText.lastIndexOf("ss",6);<br/>alert(p);[/codes]<br/>大家别去跑，自己在心里想下应该是弹出几？<br/>我把此问题，转到几个前端群里面，也是不允许跑，看应该是弹多少。结果很少有一次性说对的。有说是2的，也有说是0的。甚至有人说多余的参数忽略，意思是指6是多余的。是多余的吗？<br/>说多少的也有。<br/>你心里想的是几？<br/>是5吗？ 如果是5那就对了。为什么会是5呢？ <br/>……<br/>............<br/><br/>Tags - <a href="http://www.wugong.net.ru/blog/tag.php?tag=lastindexof" rel="tag">lastindexof</a> , <a href="http://www.wugong.net.ru/blog/tag.php?tag=javascript" rel="tag">javascript</a>
]]>
</description>
</item><item>
<link>http://www.wugong.net.ru/blog/read.php?78</link>
<title><![CDATA[第七期WEB标准交流会]]></title> 
<author>wxbwyx821 &lt;wxbwyx821@163.com&gt;</author>
<category><![CDATA[html5,css3]]></category>
<pubDate>Mon, 26 Apr 2010 01:48:44 +0000</pubDate> 
<guid>http://www.wugong.net.ru/blog/read.php?78</guid> 
<description>
<![CDATA[ 
	4月24日，第七期WEB标准交流会如期在北航举行。这次交流会的主题是，前端开发团队现状调查和未来期望，讨论前端工作人员的职能和团队现状，使用什么样的工具开发、调试、版本管理、发布等，对未来的期望有什么想法？ 由于时间限制，及其他原因，这次交流会并没有涉及到前端的现状和未来话题。交流会请来了微软总部负责IE系列产品的同事<a href="http://blogs.msdn.com/Giorgio/" target="_blank"><span style="color: #008000;">Giorgio Sadro</span></a>，现场英语牛X的没几个，所以还有一个同样是微软公司的工作人员作翻译。他们主要介绍了IE9。包括IE9对HTML5，CSS3，SVG的支持，还有GPU加速，以后IE9的性能（包括渲染，解析，版面排版，较IE8来说，都有大幅度的提升）。现场气氛活跃，讲师也很幽默。问及现场的前端都用什么浏览器时，大家多数都是用firefox。讲师后面当IE9的优势时，都拿firefox来做反面例子，并且还称firefox为你们的浏览器。。IE9目前只有预览版……<br/>............<br/><br/>Tags - <a href="http://www.wugong.net.ru/blog/tag.php?tag=html5" rel="tag">html5</a> , <a href="http://www.wugong.net.ru/blog/tag.php?tag=ie9" rel="tag">ie9</a>
]]>
</description>
</item><item>
<link>http://www.wugong.net.ru/blog/read.php?77</link>
<title><![CDATA[哀悼玉树大地震死难者]]></title> 
<author>wxbwyx821 &lt;wxbwyx821@163.com&gt;</author>
<category><![CDATA[心灵驿站]]></category>
<pubDate>Wed, 21 Apr 2010 01:38:25 +0000</pubDate> 
<guid>http://www.wugong.net.ru/blog/read.php?77</guid> 
<description>
<![CDATA[ 
	4月14日7时49分，青海省玉树藏族自治州玉树县发生7.1级强震。愿在地震中遇难的同胞一路走好，愿在地震中受伤的同胞尽早康复。向在此灾难中抗震救灾的解放军和武警战士还有其他救助组织敬礼。
]]>
</description>
</item><item>
<link>http://www.wugong.net.ru/blog/read.php?76</link>
<title><![CDATA[html5test]]></title> 
<author>wxbwyx821 &lt;wxbwyx821@163.com&gt;</author>
<category><![CDATA[html5,css3]]></category>
<pubDate>Mon, 19 Apr 2010 02:10:18 +0000</pubDate> 
<guid>http://www.wugong.net.ru/blog/read.php?76</guid> 
<description>
<![CDATA[ 
	近期行内刮起了html5和css3之风。很多人都在了解和学习html5,css3。但主流浏览器(IE系列，FF，opera, safari, chrome)对html5和css3的支持度却大不相同。目前对html5支持的排名如下：chrome, safari,opera, firefox,IE. 最差的还是IE。即便是微软将要推出的IE9. Niels Leenheer做了一个各大浏览器对html5支持度的测试页面(<a href="http://html5test.com/" target="_blank"><span style="color: #FF0000;">html5text.com</span></a>)。<br/>此页面是以分数的高度作为各大浏览器对html5支持度的说明。 经测试，分数最高的是chrome(5.0.322.2版 133分), safari(4.0.3版 115)，opera(10.52 3347版 3353属于测试版本 102)，firefox(3.6.3版 101)，IE8(19)。以上都是各大浏览器的最新正式版本，测试版不在此页面测试范围之内。<br/>另外，<a href="http://www.findmebyip.com/litmus/#target-selector" target="_blank"><span style="color: #FF0000;">http://www.findmebyip.com/litmus/#target-selector</span></a> 给出了各大浏览器对html5元素，css3声明和选择器的支持情况。大家可以去了解下。<br/>Tags - <a href="http://www.wugong.net.ru/blog/tag.php?tag=html5" rel="tag">html5</a> , <a href="http://www.wugong.net.ru/blog/tag.php?tag=css3" rel="tag">css3</a>
]]>
</description>
</item><item>
<link>http://www.wugong.net.ru/blog/read.php?75</link>
<title><![CDATA[阿拉伯语鸟语的那些事儿~]]></title> 
<author>wxbwyx821 &lt;wxbwyx821@163.com&gt;</author>
<category><![CDATA[(x)html+css]]></category>
<pubDate>Mon, 12 Apr 2010 09:17:53 +0000</pubDate> 
<guid>http://www.wugong.net.ru/blog/read.php?75</guid> 
<description>
<![CDATA[ 
	最近网站上了八国语言版。其中有阿拉伯语版。才知道阿拉伯语的书写习惯是从右向左，而且都是右对齐。正好跟我们倒过来~&nbsp;&nbsp;有意思！<br/>查了下，CSS可以控制它的新式。先来看两个CSS声明：<br/>1. direction：<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;语法：<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;direction : ltr &#124; rtl &#124; inherit<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;取值：<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ltr&nbsp;&nbsp;:　 默认值。文本从左到右流入<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtl&nbsp;&nbsp;:　 文本从右到左流入<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inherit&nbsp;&nbsp;:　 文本流入方向由继承获得<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 说明：<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用于设置文本流入的方向。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;此属性不会影响拉丁文的字母数字字符，它们总是以 ltr 值被呈递。但是此属性会作用于拉丁文的标点符号。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;假如您想应用此属性于内联文本，您必须设定……<br/>............<br/>
]]>
</description>
</item>
</channel>
</rss>