<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>我想网 &#187; Browser</title>
	<atom:link href="http://www.iwanna.cn/topics/ui/browser-ui/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iwanna.cn</link>
	<description></description>
	<lastBuildDate>Mon, 26 Dec 2011 05:46:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Firebug的Console的用法</title>
		<link>http://www.iwanna.cn/archives/2011/02/07/6323/</link>
		<comments>http://www.iwanna.cn/archives/2011/02/07/6323/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 15:57:40 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Tool]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=6323</guid>
		<description><![CDATA[Firebug对于Web开发人员来说，已经成为了不可或缺的工具，但是在我日常的工作中，常常感觉还没有能够深刻的挖掘出她的潜力，今天花了点时间仔细研究了Console和命令行的使用在提高工作效率方面的作用， 记下来和大家分享一下. Firebug一共有Console,HTML,CSS,Script,DOM,NET六个Tab，今天着重说一下Console的用法。 其实我们对于Console应该非常熟悉，因为这里是Firebug给出各种信息的窗口，而这也正是Console的主要用途，日志记录(Logging)。 除此之外，Console还提供了通过命令行方式来调试Javascript的方法。下面就来学习一下Console的用法。 1、Firefox的日志记录(Logging in Firefox)。 通过Console的记录方法，我们可以不再使用烦人的alert或者document.write方法来进行调试。 Firebug提供了五种日志的类型： console.log: 记录一行信息，无任何图标提示； console.debug:记录一行信息，带超链接，可以链接到语句调用的地方； console.error():向控制台中写入错误信息，带错误图标显示和高亮代码链接； console.info():向控制台中写入提示信息，带信息图标显示和高亮代码链接； console.warn():向控制台中写入警告信息，带警告图标显示和高亮代码链接； consle打印字符串支持字符串替换，使用起来就像c里面的printf(“%s&#8221;,a),支持的类型包括： %s string，字符串 %d,%i 整型 %f 浮点 %o 对象 如果使用%o的话，对象就会用绿色的超链接表示出来，单击后会将你带到DOM视图。 2、分组(Grouping)。 如果某一类的信息特别多时，分组就有利于逻辑的划分。 使用上很简单，参见代码。 function consoleGroup(){ var groupname = &#8220;Group 1&#8243;; console.group(&#8220;Message group %s&#8221;, groupname); console.log(&#8220;This is the 1 message in %s&#8221;, groupname); console.log(&#8220;This is the 2 message in %s&#8221;, [...]]]></description>
			<content:encoded><![CDATA[<p>Firebug对于Web开发人员来说，已经成为了不可或缺的工具，但是在我日常的工作中，常常感觉还没有能够深刻的挖掘出她的潜力，今天花了点时间仔细研究了Console和命令行的使用在提高工作效率方面的作用，<br />
记下来和大家分享一下.</p>
<p>Firebug一共有Console,<a href="http://www.iwanna.cn/tags/html/" class="st_tag internal_tag" rel="tag" title="标签 HTML 下的日志">HTML</a>,<a href="http://www.iwanna.cn/tags/css/" class="st_tag internal_tag" rel="tag" title="标签 CSS 下的日志">CSS</a>,Script,DOM,NET六个Tab，今天着重说一下Console的用法。</p>
<p>其实我们对于Console应该非常熟悉，因为这里是Firebug给出各种信息的窗口，而这也正是Console的主要用途，日志记录(Logging)。<br />
除此之外，Console还提供了通过命令行方式来调试Javascript的方法。下面就来学习一下Console的用法。</p>
<p><strong>1、Firefox的日志记录(Logging in <a href="http://www.iwanna.cn/tags/firefox/" class="st_tag internal_tag" rel="tag" title="标签 Firefox 下的日志">Firefox</a>)。</strong></p>
<p>通过Console的记录方法，我们可以不再使用烦人的alert或者document.write方法来进行调试。<br />
Firebug提供了五种日志的类型：</p>
<p>console.log: 记录一行信息，无任何图标提示； console.debug:记录一行信息，带超链接，可以链接到语句调用的地方；  console.error():向控制台中写入错误信息，带错误图标显示和高亮代码链接；  console.info():向控制台中写入提示信息，带信息图标显示和高亮代码链接；  console.warn():向控制台中写入警告信息，带警告图标显示和高亮代码链接；<br />
<span id="more-6323"></span><br />
consle打印字符串支持字符串替换，使用起来就像c里面的printf(“%s&#8221;,a),支持的类型包括：</p>
<p>%s        string，字符串 %d,%i    整型 %f        浮点 %o        对象</p>
<p>如果使用%o的话，对象就会用绿色的超链接表示出来，单击后会将你带到DOM视图。</p>
<p><strong>2、分组(Grouping)。</strong></p>
<p>如果某一类的信息特别多时，分组就有利于逻辑的划分。<br />
使用上很简单，参见代码。</p>
<p>function consoleGroup(){<br />
var groupname = &#8220;Group 1&#8243;;<br />
console.group(&#8220;Message group %s&#8221;, groupname);<br />
console.log(&#8220;This is the 1 message in %s&#8221;, groupname);<br />
console.log(&#8220;This is the 2 message in %s&#8221;, groupname);<br />
console.log(&#8220;This is the 3 message in %s&#8221;, groupname);<br />
console.groupEnd();</p>
<p>goupname = &#8220;Group 2&#8243;;<br />
console.group(&#8220;Message group %s&#8221;, goupname);<br />
console.log(&#8220;This is the 1 message in %s&#8221;, goupname);</p>
<p>var subgroupname = &#8220;Sub group 1&#8243;;<br />
console.group(&#8220;Message group %s&#8221;,subgroupname);<br />
console.log(&#8220;This is the 1 message in %s&#8221;, subgroupname);<br />
console.log(&#8220;This is the 2 message in %s&#8221;, subgroupname);<br />
console.log(&#8220;This is the 3 message in %s&#8221;, subgroupname);<br />
console.groupEnd();</p>
<p>console.log(&#8220;This is the 2 message in %s&#8221;, goupname);<br />
console.groupEnd();<br />
}</p>
<p><strong>3、console.dir和console.dirxml</strong></p>
<p>console.dir可以将一个对象的所有方法和属性打印出来，这个方法无疑是非常有用的，我们不再需要object.toString这样的方 法支持了，只要有firebug，查看对象也变得很轻松同时，我们也可以将页面中的元素作为一个对象打印出来，但是你要小心，因为这将输出众多的信息，可 能你会迷失在繁杂的信息中而找不到自己需要的条目。我们可以通过分组将这些大量的信息放入一个分组中，这样可以在逻辑上更清楚一些。</p>
<p>function consoleDir(){<br />
function Car(){<br />
this.Model = &#8220;Old Model&#8221;;<br />
this.getManu = function(){<br />
return &#8220;Toyota&#8221;;<br />
}<br />
}</p>
<p>var objCar = new Car();<br />
console.dir(objCar);<br />
console.dir(zoo);</p>
<p>var groupname = &#8220;Css Style&#8221;;<br />
console.group(&#8220;The button Style&#8221;, groupname);<br />
console.dir(document.getElementById(&#8216;consoledir&#8217;).style, groupname);<br />
console.groupEnd();<br />
}</p>
<p>console.dirxml    打印出HTML元素的XML表示形式.</p>
<p><strong>4、断言(console.assert())。</strong></p>
<p>console.assert()可以用来判断一个表达式是否正确，如果错误，他就会打印错误信息在控制台窗口中。</p>
<p><strong>5、追踪(console.trace())。</strong></p>
<p>console.trace()是一个非常有趣的功能。我们先来看看官方的解释：打印Javascript执行时刻的堆栈追踪。</p>
<p>这个函数可以打印出程序执行时从起点到终点的路径信息。</p>
<p>比如如果我们想知道某个函数是何时和如何被执行的，我们将console.trace()放在这个函数中，我们就能够的看到这个函数被执行的路径。</p>
<p>这个函数在调试其他人的源代码时非常有用。</p>
<p><strong>6、计时(Timing)。</strong></p>
<p>console.time(timeName)可以用来计时，这个在我们需要知道代码执行效率的时候特别有用，就不用自己造轮子了。</p>
<p>function consoleTime(){<br />
var timeName = &#8220;timer1&#8243;;<br />
console.time(timeName);<br />
var a = 0;<br />
for(var i = 0; i &lt; 100; i++){<br />
for(var j = 0; j &lt; 100; j++){<br />
//                        console.log(&#8216;Hello world&#8217;);<br />
a = a + 1;<br />
}<br />
}</p>
<p>console.log(&#8220;a = %d&#8221;, a);<br />
console.timeEnd(timeName);<br />
}</p>
<p><strong>7、Javascript分析器(<a href="http://www.iwanna.cn/tags/javascript/" class="st_tag internal_tag" rel="tag" title="标签 JavaScript 下的日志">Javascript</a> Profiler)。</strong></p>
<p>我们可以通过代码console.profile(&#8216;profileName&#8217;)或者单击Profiler标签来进行Javascript代码执行 的分析。这个功能有点类似于console.time()，可以帮助我们评估代码的表现，但是能够提供比console.time()更详细的信息。</p>
<p>有三种方法可以调用Javascript profiler。一种是在代码中写入分析脚本，一种是单击profile标签，最后还可以在命令行下输入命令来执行。</p>
<p>执行后，可以看到详细的输出结果，下面对各项进行一些说明：</p>
<p>Function Column：显示调用的函数名称； Call  Column：显示调用次数； Percent Column：显示消耗的时间比； Own  Time：显示函数内部语句执行的时间，不包括调用其他函数的时间； Time Column：显示函数从开始到结束的执行时间； Avg  Column：平均时间。Avg = Own / Call; Min &amp; Max Column：显示最小和最大时间； File  Column：函数所在的文件；</p>
<p><strong>8、其他的一些选项。</strong></p>
<p>在Console  Tab的最右侧有一个Options的选项，在这里可以自己定义需要显示的错误，其内容很好理解，这里就不多说了。有一点就是Firebug1.3以后， 多了Show <a href="http://www.iwanna.cn/tags/chrome/" class="st_tag internal_tag" rel="tag" title="标签 Chrome 下的日志">Chrome</a> Errors、Show <a href="http://www.iwanna.cn/tags/chrome/" class="st_tag internal_tag" rel="tag" title="标签 Chrome 下的日志">Chrome</a>  Message等几个选项，这几个选项还没有验证过其具体的作用，哪位知道的可以共享一下。</p>
<p><strong>[参考资料]</strong></p>
<p><a href="http://www.iwanna.cn/tags/firebug/" class="st_tag internal_tag" rel="tag" title="标签 Firebug 下的日志">Firebug</a> <a href="http://www.iwanna.cn/tags/tutorial/" class="st_tag internal_tag" rel="tag" title="标签 Tutorial 下的日志">Tutorial</a><br />
http://michaelsync.net/2007/09/09/firebug-tutorial-logging-profiling-and-commandline-part-i Firebug Tutorial</p>
<p>http://michaelsync.net/2007/09/10/firebug-tutorial-logging-profiling-and-commandline-part-ii</p>
<p>转载请注明:破洛洛</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2011. |
<a href="http://www.iwanna.cn/archives/2011/02/07/6323/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2011/02/07/6323/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2011/02/07/6323/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2011/02/07/6323/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2011/02/07/6323/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2011/02/07/6323/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>30个必记的选择器</title>
		<link>http://www.iwanna.cn/archives/2010/12/06/6083/</link>
		<comments>http://www.iwanna.cn/archives/2010/12/06/6083/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 14:39:06 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=6083</guid>
		<description><![CDATA[久没翻译。英语水平本就不高，不敢乱译。博客不能再荒芜下去了，只能硬上。还好这篇我感兴趣，又对CSS有一些了解，有错大家多多指正。 —————————————————————–正文———————————————– 了解基本的id选择器，类选择器和子选择器，如果就此收手，那你会错失很多灵活方法。虽然本文提及的部分选择器属于CSS3范围内，只在一些时新的浏览器 有效，不过还是有必要记得这些选择器。 1. * * { margin: 0; padding: 0; } 在提到更先进的选择器之前，为初学者之便，先把常见的选择器解决掉。 星号符会选择页面每个元素。很多开发者用它把所有margin和padding归零。这当然是快捷测试方法。不过我建议你不使用它，它给浏览器带来太多的 负担，这不必要。 通配选择器也可以用到子选择器上。 #container * { border: 1px solid black; } 它会选择#container层中的子元素。不过，也不需要经常用这个技巧。 View Demo 兼容性 IE6+ Firefox Chrome Safari Opera 2. #X #container { width: 960px; margin: auto; } 把哈希符号前缀于选择器就成了ID选择器。这是很普通的方法。不过使用之也需要谨慎。先问自己：为了定位元素就绝对需要赋予id？僵硬刻板的id选 择器不能重复使用。如果可能，先试使用标签方法，如html5元素，或者伪类。（不过id选择器的渲染速度是最快的，有得有失，译者注）。 View Demo 兼容性 IE6+ Firefox Chrome Safari Opera 3. .X [...]]]></description>
			<content:encoded><![CDATA[<p>久没翻译。英语水平本就不高，不敢乱译。博客不能再荒芜下去了，只能硬上。还好这篇我感兴趣，又对CSS有一些了解，有错大家多多指正。<br />
—————————————————————–正文———————————————–<br />
了解基本的id选择器，类选择器和子选择器，如果就此收手，那你会错失很多灵活方法。虽然本文提及的部分选择器属于CSS3范围内，只在一些时新的浏览器 有效，不过还是有必要记得这些选择器。</p>
<h2>1. *</h2>
<pre>* {
 margin: 0;
 padding: 0;
}
</pre>
<p>在提到更先进的选择器之前，为初学者之便，先把常见的选择器解决掉。<br />
星号符会选择页面每个元素。很多开发者用它把所有margin和padding归零。这当然是快捷测试方法。不过我建议你不使用它，它给浏览器带来太多的 负担，这不必要。<br />
通配选择器也可以用到子选择器上。<br />
<span id="more-6083"></span></p>
<pre>#container * {
 border: 1px solid black;
}
</pre>
<p>它会选择#container层中的子元素。不过，也不需要经常用这个技巧。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/star.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li><a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a>6+</li>
<li><a href="http://www.iwanna.cn/tags/firefox/" class="st_tag internal_tag" rel="tag" title="标签 Firefox 下的日志">Firefox</a></li>
<li><a href="http://www.iwanna.cn/tags/chrome/" class="st_tag internal_tag" rel="tag" title="标签 Chrome 下的日志">Chrome</a></li>
<li><a href="http://www.iwanna.cn/tags/safari/" class="st_tag internal_tag" rel="tag" title="标签 Safari 下的日志">Safari</a></li>
<li>Opera</li>
</ul>
<hr />
<h2>2. #X</h2>
<pre>#container {
   width: 960px;
   margin: auto;
}
</pre>
<p>把哈希符号前缀于选择器就成了ID选择器。这是很普通的方法。不过使用之也需要谨慎。先问自己：为了定位元素就绝对需要赋予id？僵硬刻板的id选 择器不能重复使用。如果可能，先试使用标签方法，如html5元素，或者伪类。（不过id选择器的渲染速度是最快的，有得有失，译者注）。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/id.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE6+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>3. .X</h2>
<pre>.error {
  color: red;
}</pre>
<p>这是类选择器。ID选择器与类选择器的差别是，后者可以用于多个元素。使用类选择器可以把同样的样式赋予一群元素，相反，id选择器只能作用于特定 的单一元素。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/class.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE6+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>4. X Y</h2>
<pre>li a {
  text-decoration: none;
}
</pre>
<p>后代选择器是使用很多的选择器。它作用处于X元素内的所有的y元素。不过如果你的选择器像X Y Z A  B.error，那你的方法就错了。这开销太大了。（后代选择器的渲染速率不快，特别是在有很长的前缀元素时，译者注）</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/descend.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE6+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>5. X</h2>
<pre>a { color: red; }
ul { margin-left: 0; }
</pre>
<p>类型选择器会选择页面中同一类型的标签。比如说ul{…}会选择页面中所有的ul。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/tagName.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE6+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>6. X:visited and X:link</h2>
<pre>a:link { color: red; }
a:visted { color: purple; }
</pre>
<p>:link作用于没有访问过的链接，:visited作用于访问过的链接。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/links.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>7. X + Y</h2>
<pre>ul + p {
   color: red;
}
</pre>
<p>相信选择器只作用于同一父级元素下的第一个元素。例子中的只有紧邻ul中的第一个p的字体会是红色的。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/adjacent.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>8. X &gt; Y</h2>
<pre>div#container &gt; ul {
  border: 1px solid black;
}
</pre>
<p>X Y和X&gt;Y不同的地方后者只选择X的第一级子元素。例如下面</p>
<pre>   &lt;div id="container"&gt;
      &lt;ul&gt;
         &lt;li&gt; List Item
           &lt;ul&gt;
              &lt;li&gt; Child &lt;/li&gt;
           &lt;/ul&gt;
         &lt;/li&gt;
         &lt;li&gt; List Item &lt;/li&gt;
         &lt;li&gt; List Item &lt;/li&gt;
         &lt;li&gt; List Item &lt;/li&gt;
      &lt;/ul&gt;
   &lt;/div&gt;
</pre>
<p>选择器#container&gt;ul只选择直接位于#container层下的ul,不会作用于li中的ul。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/childcombinator.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>9. X ~ Y</h2>
<pre>ul ~ p {
   color: red;
}
</pre>
<p>这个相邻选择器与X+Y相似，不同的是，ul+p只选择与ul相邻的第一个p,而x~Y选择所有与ul相邻的P。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/generalcombinator.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>10. X[title]</h2>
<pre>a[title] {
   color: green;
}
</pre>
<p>一种属性选择器。上例中，只选择带有title属性的链接标签。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/attributes.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>11. X[href="foo"]</h2>
<pre>a[href="http://net.tutsplus.com"] {
  color: #1f6053; /* nettuts green */
}
</pre>
<p>T上例中样式只会作用于链接到http://net.tutsplus.com的a标签。其他没有链到这个网址的a标签不会变成绿色。</p>
<p>这个很有用，不过有点死板，也许我想把所有的nettuts.com链接都变成绿色。在这种情况下，可以使用一些表达式。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/attributes2.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>12. X[href*="nettuts"]</h2>
<pre>a[href*="tuts"] {
  color: #1f6053; /* nettuts green */
}
</pre>
<p>对了，就是这个。href后面加上星号(通配符)使网址出现nettuts的所有链接都变成绿色。比如说 nettuts.com,tutsplus.com。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/attributes3.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>13.  X[href^="http"]</h2>
<pre>a[href^="http"] {
   background: url(path/to/external/icon.png) no-repeat;
   padding-left: 10px;
}
</pre>
<p>有些网站用这个方法在某些链接上加一些图标说明这些链接到其他网站。它经常用于表达式中显示字符串的开始。如果我们想选择那样带有http的a标签 链接，我们可以使用类似上面的CSS。(这不是搜索http://,这不必要，对https://没起作用)。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/attributes4.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>14. X[href$=".jpg"]</h2>
<pre>a[href$=".jpg"] {
   color: red;
}
</pre>
<p>又一次，我们使用了一个表达式的符号，$,查找字符串的尾部。这个例子中，我们查找所有链接到图片的链接，或许说以.jpg结尾的链接。这当然不对 gif和png格式的起作用。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/attributes5.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>15. X[data-*="foo"]</h2>
<pre>a[data-filetype="image"] {
   color: red;
}
</pre>
<p>回到第8个（？感觉第8个和这个有点风马牛不相及）；我们怎么补偿不同图片格式：png,jpeg,jpg,gif?  我们可以使用多重选择器，比如：</p>
<pre>a[href$=".jpg"],
a[href$=".jpeg"],
a[href$=".png"],
a[href$=".gif"] {
   color: red;
}
</pre>
<p>回到第8个（？感觉第8个和这个有点风马牛不相及）；我们怎么补偿不同图片格式：png,jpeg,jpg,gif?  我们可以使用多重选择器，比如：</p>
<pre>&lt;a href="path/to/image.jpg" data-filetype="image"&gt; Image Link &lt;/a&gt;
</pre>
<p>在适当的地方加上钩后，我们就可以使用一个标准的属性选择器选择这些标签。</p>
<pre>a[data-filetype="image"] {
   color: red;
}
</pre>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/attributes6.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>16. X[foo~="bar"]</h2>
<pre> a[data-info~="external"] {
   color: red;
}

a[data-info~="image"] {
   border: 1px solid black;
}
</pre>
<p>这是一个让人印象深刻的选择器。了解这个技巧的人不多。~符号允许我们选择带有有空白间隔属性的标签。</p>
<p>就像第15个选择器一样，这里，我们可以使用能用间隔符列出需要瓢东东的data-info属性。举例来说，我们给外链些记号吧。</p>
<pre>"&lt;a href="path/to/image.jpg" data-info="external image"&gt; Click Me, Fool &lt;/a&gt;
</pre>
<p>在适当地方使用标记，然后就可以选择任何带有这些属性的标签。</p>
<pre>/* Target data-info attr that contains the value "external" */
a[data-info~="external"] {
   color: red;
}

/* And which contain the value "image" */
a[data-info~="image"] {
  border: 1px solid black;
}
</pre>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/attributes7.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>17. X:checked</h2>
<pre>input[type=radio]:checked {
   border: 1px solid black;
}
</pre>
<p>这个伪类选择器只会作用于被选中的用户界面元素(user interface element)，比如说单选按钮，或者复选框。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/checked.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE9+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>18. X:after</h2>
<p>这个伪类和:before一样，主要是用来清除浮动的。不过现在人们都能在它们身上找到新的用法。</p>
<p><ins><ins></ins></ins></p>
<pre>.clearfix:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    font-size: 0;
    height: 0;
    }

.clearfix {
   *display: inline-block;
   _height: 1%;
}
</pre>
<h3>兼容性</h3>
<ul>
<li>IE8+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>19. X:hover</h2>
<pre>div:hover {
  background: #e3e3e3;
}
</pre>
<p>这是一个动态伪类。当元素有鼠标移在其上面时样式就会起作用。一般用于链接。比如a:hover{border-bottom:1px solid  black;}(border-bottom:1px solid black;效果比text-decoration:underline;好)。</p>
<pre>a:hover {
 border-bottom: 1px solid black;
}
</pre>
<h3>兼容性</h3>
<ul>
<li>IE6+ (In IE6, :hover must be applied to an anchor element)</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>20.  X:not(selector)</h2>
<pre>div:not(#container) {
   color: blue;
}
</pre>
<p>这个否定伪类非常有用。比如要选择除#container层外的所有层。上面的代码就非常有效。<br />
又比如我要选择除了段落标签外的所有元素(不建议这样做)，可以这样做：</p>
<pre>*:not(p) {
  color: green;
}
</pre>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/not.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE9+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>21.  X::pseudoElement</h2>
<pre>p::first-line {
   font-weight: bold;
   font-size: 1.2em;
}
</pre>
<p>使用这类伪类(用::指定)可以设计一个元素的一片断，比如说第一行，或者第一个字。需要记住的事，这伪类只能作用于块元素。</p>
<h4>选择段落的第一个字符</h4>
<pre>p::first-letter {
   float: left;
   font-size: 2em;
   font-weight: bold;
   font-family: cursive;
   padding-right: 2px;
}
</pre>
<p>这代码片断先提取页面中的所有段落，然后再查找段落中的第一个字。<br />
这方法经常用于制作报纸风格的页面。</p>
<h4>选择段落的第一行</h4>
<pre>p::first-line {
   font-weight: bold;
   font-size: 1.2em;
}
</pre>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/pseudoElements.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE6+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>22. X:nth-child(n)</h2>
<pre>li:nth-child(3) {
   color: red;
}
</pre>
<p>过去我们无法从一堆元素中选择具体的几个。nth-child伪类可以解决这种问题。<br />
nth-child接受整数参数，不过它不是基于零开始，如果你要选择列表中的第二个，就使用li:nth-child(2)。<br />
我们还可以使用这个伪类选择几个子类。比如，用li:nth-child(4n)来选择4倍数的列表。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/nth.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE9+</li>
<li>Firefox 3.5+</li>
<li>Chrome</li>
<li>Safari</li>
</ul>
<hr />
<h2>23. X:nth-last-child(n)</h2>
<pre>li:nth-last-child(2) {
   color: red;
}
</pre>
<p>如果列表项非常多，但只是需要选择倒数第三个。使用li:nth-child(397)不如使用nth-last-child方便。<br />
和上面的用法不一样，nth-last-child是从后面倒着数。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/nthLast.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE9+</li>
<li>Firefox 3.5+</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>24. X:nth-of-type(n)</h2>
<pre>ul:nth-of-type(3) {
   border: 1px solid black;
}
</pre>
<p>选择子类也许不如根据类型选择元素更方便。比如说现在有5个无序列表，但只需选择第三个，这时可以使用ul:nth-of-type(3)。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/nthOfType.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE9+</li>
<li>Firefox 3.5+</li>
<li>Chrome</li>
<li>Safari</li>
</ul>
<hr />
<h2>25. X:nth-last-of-type(n)</h2>
<pre>ul:nth-last-of-type(3) {
   border: 1px solid black;
}
</pre>
<p>对了，我们也可以使用nth-last-of-type选择倒数第几个元素。</p>
<h3>兼容性</h3>
<ul>
<li>IE9+</li>
<li>Firefox 3.5+</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>26. X:first-child</h2>
<pre>ul li:first-child {
   border-top: none;
}
</pre>
<p>这个结构性伪类选择父级元素的第一个子对象。这个经常用于移除列表的第一个和最后一个元素的边框。</p>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/firstChild.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE7+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>27. X:last-child</h2>
<pre>ul &gt; li:last-child {
   color: green;
}
</pre>
<p>这个伪类选择父级元素的最后一个对象。</p>
<h3>例子</h3>
<p>用一个简单的例子来说明这样选择器，首先，我们制作一个列表。</p>
<h4>标签</h4>
<pre>  &lt;ul&gt;
     &lt;li&gt; List Item &lt;/li&gt;
     &lt;li&gt; List Item &lt;/li&gt;
     &lt;li&gt; List Item &lt;/li&gt;
  &lt;/ul&gt;
</pre>
<p>很简单的列表</p>
<h4><a href="http://www.iwanna.cn/tags/css/" class="st_tag internal_tag" rel="tag" title="标签 CSS 下的日志">CSS</a></h4>
<pre>ul {
 width: 200px;
 background: #292929;
 color: white;
 list-style: none;
 padding-left: 0;
}

li {
 padding: 10px;
 border-bottom: 1px solid black;
 border-top: 1px solid #3c3c3c;
}
</pre>
<p>设置好背景，去掉ul默认的内边距，再给每个li加上边。</p>
<div><a href="http://images.uheed.com/iwanna/2010/12/06/extraBorders.png" target="_blank"><img title="extraBorders" src="http://images.uheed.com/iwanna/2010/12/06/extraBorders.png" alt="30个必记的选择器" width="634" height="411" /></a></div>
<p>就像图片中显示的一样，我们需要去掉第一个和最后一个的边。这时就可以使用:first-child和:last-child。</p>
<pre>li:first-child {
    border-top: none;
}

li:last-child {
   border-bottom: none;
}
</pre>
<div><a href="http://images.uheed.com/iwanna/2010/12/06/fixed.png" target="_blank"><img title="fixed" src="http://images.uheed.com/iwanna/2010/12/06/fixed.png" alt="30个必记的选择器" width="618" height="387" /></a></div>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/firstChild.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE9+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<p><em>Yep – IE8 supported <code>:first-child</code>, but not <code>:last-child</code>.  Go figure. </em></p>
<hr />
<h2>28. X:only-child</h2>
<pre>div p:only-child {
   color: red;
}
</pre>
<p>确实，这个你可能很少用。不过这个真的很有用。<br />
在下面的例子，只有第一层中的p标签会变色。父级元素下的子类多于一个时这个伪类效果就停止了。</p>
<pre>&lt;div&gt;&lt;p&gt; My paragraph here. &lt;/p&gt;&lt;/div&gt;
&lt;div&gt;
   &lt;p&gt; Two paragraphs total. &lt;/p&gt;
   &lt;p&gt; Two paragraphs total. &lt;/p&gt;
&lt;/div&gt;
</pre>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/onlyChild.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE9+</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>29. X:only-of-type</h2>
<pre>li:only-of-type {
   font-weight: bold;
}
</pre>
<p>和28个结构性伪类相似，这个伪类只会在父级元素下只有一个子级元素X的情况下起作用。这种情况，你也可以使用ul  li，不过这样就会选择所有列表项了。</p>
<pre>ul &gt; li:only-of-type {
   font-weight: bold;
}
</pre>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/onlyOfType.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE9+</li>
<li>Firefox 3.5+</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<h2>30. X:first-of-type</h2>
<p>first-of-type允许我们选择同级元素的第一个。</p>
<h4>一个测试</h4>
<p>为便于理解，做个测试。复制下面的标签</p>
<pre>&lt;div&gt;
   &lt;p&gt; My paragraph here. &lt;/p&gt;
   &lt;ul&gt;
      &lt;li&gt; List Item 1 &lt;/li&gt;
      &lt;li&gt; List Item 2 &lt;/li&gt;
   &lt;/ul&gt;

   &lt;ul&gt;
      &lt;li&gt; List Item 3 &lt;/li&gt;
      &lt;li&gt; List Item 4 &lt;/li&gt;
   &lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>现在，尝试去选择list Item 2,当你找到方法或者放弃时，请接着看一下。</p>
<h4>办法1</h4>
<p>有几种的不同的方法。我们评审其中几个。首先用first-of-type</p>
<pre>ul:first-of-type &gt; li:nth-child(2) {
   font-weight: bold;
}
</pre>
<p>这个代码的意思是，在页面中找到第一个无序列表，然后再找到其直接的子级元素(也就是li)，最后找到第二个li。</p>
<h4>方法2</h4>
<pre>p + ul li:last-child {
   font-weight: bold;
}
</pre>
<p>在这个例子，先查找与p标签直接相邻的ul标签，然后再找倒数第一个li(也就是第二个li)。</p>
<h4>方法3</h4>
<pre>ul:first-of-type li:nth-last-child(1) {
   font-weight: bold;
}
</pre>
<h5><a href="http://d2o0t5hpnwv4c1.cloudfront.net/840_cssSelectors/selectors/firstOfType.html" target="_blank">View  Demo </a></h5>
<h3>兼容性</h3>
<ul>
<li>IE9+</li>
<li>Firefox 3.5+</li>
<li>Chrome</li>
<li>Safari</li>
<li>Opera</li>
</ul>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/12/06/6083/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/12/06/6083/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/12/06/6083/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/12/06/6083/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/12/06/6083/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/12/06/6083/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>微软回顾历代IE版本</title>
		<link>http://www.iwanna.cn/archives/2010/12/01/5977/</link>
		<comments>http://www.iwanna.cn/archives/2010/12/01/5977/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 13:17:37 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5977</guid>
		<description><![CDATA[微软在一篇知识库文章KB969393中完整回顾了IE的各个版本号和各代产品，包括用于 Windows平台、Mac平台、Sun Solaris UNIX平台、HP-UX UNIX平台四部分。IE已发行版本曾用于以下版 本Windows：Windows 95、Windows NT 4.0、Windows 98、Windows 98 Second Edition、Windows Millennium Edition (Me)、Windows 2000、Windows XP、Windows Server 2003、Windows Vista、Windows 7。 Windows 7虽然默认采用IE8，不过这款浏览器发布后很久Windows 7才正式上市。实际上，IE9也会早于Windows 8发布。在Windows 7中，用户虽然不能卸载IE8，但是可以关闭该功能，也等同于卸载，不知道Windows 8是不是完全和IE9不相干。 IE 1.0首次提供给Windows 95用户，并由此开始了IE与Windows的捆绑，随后的2.0、3.0……直到IE8，都是如此。 最初的时候，IE也面向Mac平台发布，在IE5之后，微软才决定停止该项目的开发。除了Mac版IE，微软曾经还尝试了UNIX版本，同样也在 IE5之后不再继续提供。 Windows平台上的IE版本 Mac平台上的IE版本 Sun Solaris UNIX平台上的IE版本 HP-UX UNIX平台上的IE版本 © 我想网 Akon 所有 , 2010. &#124; 永久链接 &#124; 没有评论 &#124; 提交到 Google Reader 鲜果 [...]]]></description>
			<content:encoded><![CDATA[<p>微软在一篇知识库文章<a href="http://support.microsoft.com/kb/969393/" target="_blank">KB969393</a>中完整回顾了IE的各个版本号和各代产品，包括用于 Windows平台、Mac平台、Sun Solaris UNIX平台、HP-UX UNIX平台四部分。<strong>IE已发行版本曾用于以下版 本Windows</strong>：Windows 95、Windows NT  4.0、Windows 98、Windows 98  Second Edition、Windows Millennium Edition  (Me)、Windows 2000、Windows  XP、Windows Server 2003、Windows Vista、Windows  7。</p>
<p>Windows 7虽然默认采用IE8，不过这款浏览器发布后很久Windows  7才正式上市。实际上，<a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a>9也会早于Windows  8发布。在Windows  7中，用户虽然不能卸载IE8，但是可以关闭该功能，也等同于卸载，不知道Windows 8是不是完全和IE9不相干。</p>
<p>IE 1.0首次提供给Windows 95用户，并由此开始了IE与Windows的捆绑，随后的2.0、3.0……直到IE8，都是如此。</p>
<p>最初的时候，IE也面向Mac平台发布，在IE5之后，微软才决定停止该项目的开发。除了Mac版IE，微软曾经还尝试了UNIX版本，同样也在 IE5之后不再继续提供。<br />
<span id="more-5977"></span><br />
<a href="http://images.uheed.com/iwanna/2010/12/01/12000201918194663.jpg" target="_blank"><img src="http://images.uheed.com/iwanna/2010/12/01/12000201918194663.jpg" alt="微软罗列历代IE版本" /></a><br />
Windows平台上的IE版本</p>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/12/01/1200041849224639.png" alt="微软罗列历代IE版本" /></a><br />
Mac平台上的IE版本</p>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/12/01/12000421910961277.png" alt="微软罗列历代IE版本" /></a><br />
Sun Solaris UNIX平台上的IE版本</p>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/12/01/1200043871863571.png" alt="微软罗列历代IE版本" /></a><br />
HP-UX UNIX平台上的IE版本</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/12/01/5977/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/12/01/5977/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/12/01/5977/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/12/01/5977/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/12/01/5977/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/12/01/5977/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>15款优秀的Safari插件</title>
		<link>http://www.iwanna.cn/archives/2010/11/21/5860/</link>
		<comments>http://www.iwanna.cn/archives/2010/11/21/5860/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 09:48:23 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5860</guid>
		<description><![CDATA[Apple released Safari 5 in June, introducing official support forbrowser extensions . This move now means that developers have the ability to build add-ons to enhance the overall browsing experience on Safari. 苹果 公司在六月份推出了Safari 5，并官方引入浏览器插件支持。意味着开发者可以通过构建插件加载项来增强Safari的整体浏览体验。 Apple launched its own official Safari Extensions gallery Safari user can appreciate. 苹果在七月底发布了他们官方的Safari插件库（Safari Extensions gallery），展示一些优秀开发 者提交的插件。虽然这个插件库刚刚起步，但是已经有了不少令Safari用户交口称赞的好插件。 As die-hard extension addicts [...]]]></description>
			<content:encoded><![CDATA[<blockquote style="display: none;"><p>Apple released <a href="http://www.iwanna.cn/tags/safari/" class="st_tag internal_tag" rel="tag" title="标签 Safari 下的日志">Safari</a>  5 in June, introducing  official support forbrowser  extensions . This move now means that developers have the  ability to build add-ons to enhance the overall browsing experience on  <a href="http://www.iwanna.cn/tags/safari/" class="st_tag internal_tag" rel="tag" title="标签 Safari 下的日志">Safari</a>.</p></blockquote>
<p>苹果 公司在六月份推出了Safari 5，并官方引入浏览器插件支持。意味着开发者可以通过构建插件加载项来增强Safari的整体浏览体验。</p>
<blockquote style="display: none;"><p>Apple launched  its own official Safari Extensions  gallery Safari<a rel="http://www.blippr.com/apps/336952-Safari.whtml" href="http://www.blippr.com/apps/336952-Safari" target="_blank"><img src="http://netdna.blippr.com/images/inline-face_05.png?1265851550" alt="Safari" width="14" height="14" /></a> user can appreciate.</p></blockquote>
<p>苹果在七月底发布了他们官方的Safari插件库（<a href="http://mashable.com/2010/07/28/safari-5-extensions-gallery/" target="_blank">Safari Extensions gallery</a>），展示一些优秀开发 者提交的插件。虽然这个插件库刚刚起步，但是已经有了不少令Safari用户交口称赞的好插件。</p>
<blockquote style="display: none;"><p>As die-hard <a href="http://www.iwanna.cn/tags/extension/" class="st_tag internal_tag" rel="tag" title="标签 Extension 下的日志">extension</a>  addicts since the first Safari 5 release, we’ve scoured the web to find  15 of our favorites. Click through the gallery for our picks.</p></blockquote>
<p>作为自Safari  5发布以来狂热的插件痴迷者，我们从网络上收集到最喜爱的15款插件。通过点击浏览相册来看看我们的选择。</p>
<blockquote style="display: none;"><p>The official gallery  isn’t the only place to find new and impressive extensions. Both</p></blockquote>
<blockquote style="display: none;"><p><a href="http://safariextensions.tumblr.com/" target="_blank">SafariExtensionson Tumblr and Pimp My Safari feature daily updates  and highlight great creations from across the web.</a></p></blockquote>
<blockquote style="display: none;"><p><a href="http://safariextensions.tumblr.com/" target="_blank">What are some of your  favorite Safari web extensions? Let us know!</a></p></blockquote>
<p>官方插件库并不是唯一的寻找新奇插件的地方。比如，Tumblr上的<a href="http://safariextensions.tumblr.com/" target="_blank"> </a><a href="http://safariextensions.tumblr.com/" target="_blank">SafariExtensions</a>博 客以及<a href="http://www.pimpmysafari.com/" target="_blank">Pimp My Safari</a>，会每天更新及突出介绍网络上又新又好的插件。</p>
<p>告诉我们！你最喜欢的Safari插件是哪些呢？</p>
<p>1. TabLinks</p>
<div>
<div>
<div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/TabLinksScreenshot.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>TabLinks is a fantastic extension  that creates a listing of the URLs for every tab open in your <a href="http://www.iwanna.cn/tags/browser/" class="st_tag internal_tag" rel="tag" title="标签 Browser 下的日志">browser</a>.  You can then paste this list into an e-mail or text editor. This is a</p></blockquote>
<p><em> </em>TabLink是一款美妙的插件，它可以创建 一个包含你浏览器打开的所有标签网址的表单。你可以把这份表单粘贴到电子邮件或者文本编辑器。这是一个美妙的记录资源的方法，这也是为什么作者们会各位中 意这款插件的原因。还有一点好处，它输出的文本格式兼容Markdown（一种轻量级的标记语言）。</p>
</div>
</div>
<div>
<div><span id="more-5860"></span><br />
2. <a title="@kristof_be ‚Äî  Procrastinate" href="http://kristofbe.tumblr.com/procrastinate" target="_blank">Procrastinate</a></div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/ProcrastinateToolbar.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>Procrastinate gives you one-click  access to</p></blockquote>
<blockquote style="display: none;"><p><a href="http://www.pinboard.in/" target="_blank">Pinboard.in</a></p></blockquote>
<blockquote style="display: none;"><p>,</p></blockquote>
<blockquote style="display: none;"><p><a href="http://www.instapaper.com/" target="_blank">Instapaper</a></p></blockquote>
<blockquote style="display: none;"><p>,</p></blockquote>
<blockquote style="display: none;"><p><a href="http://www.delicious.com/" target="_blank">Delcious</a></p></blockquote>
<blockquote style="display: none;"><p>and</p></blockquote>
<blockquote style="display: none;"><p><a href="http://www.readitlaterlist.com/" target="_blank">Read it Later</a></p></blockquote>
<blockquote style="display: none;"><p>. This is great if you use these  services and can&#8217;t remember which &#8220;Read It Later&#8221; link goes where.</p></blockquote>
<p>Procrastinate 为你提供一键访问Pinboard.in，Instapaper，Delcious以及Read it  Later的快捷方式。如果你使用上面这些服务而又不记得“Read It Later”链接在哪的话，这将是一款很好的插件。</p>
</div>
</div>
<div>
<div>
<h2>3. <a title="Safari Duplicate  Tab" href="http://thiemo.ch/safari/" target="_blank">Safari Duplicate Tab</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/duplicate-tab-safari.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>Safari Duplicate Tab adds a button  that, well, duplicates your currently selected tab. Simple, but totally  awesome.</p></blockquote>
<p>Safari  Duplicate Tab为Safari添加一个按钮，可以复制一个你当前选中的标签页。简单，但是很棒。</p>
</div>
</div>
<div>
<div>
<h2>4. <a title="Widgets Bar" href="http://amberlightapps.com/widgetsbar/" target="_blank">Widgets Bar</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/widget-bar-safari.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>View the weather, the world time, a  news RSS ticker and the date all from the toolbar.</p></blockquote>
<p>一款通过工具栏查看天气、世界时间以及RSS新 闻源的插件。</p>
</div>
</div>
<div>
<div>
<h2>5. <a title="Safari  Extensions Google Reader Snow Leopard" href="http://mariusth.channelwood.org/SafariExtensions/" target="_blank">Google Reader  Snow Leopard</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/snowleopardskinscreenshot.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>This extension gives</p></blockquote>
<blockquote style="display: none;"><p><a href="http://mashable.com/category/google/" target="_blank">Google</a></p></blockquote>
<blockquote style="display: none;"><p>Reader a completely overhauled  look and feel. There are a number of custom stylesheets for <a href="http://www.iwanna.cn/tags/google/" class="st_tag internal_tag" rel="tag" title="标签 Google 下的日志">Google</a>  Reader, including</p></blockquote>
<blockquote style="display: none;"><p><a href="http://helvetireader.com/" target="_blank">Helvetireader</a></p></blockquote>
<blockquote style="display: none;"><p>, but we like  this particular restyling because it keeps all of Google Reader&#8217;s  features intact while improving the look.</p></blockquote>
<p>这款插件给Google Reader带来完全不一样的界面和感觉。当然，还有很多为Google  Reader设计的自定义样式表，比如Helvetireader；但是我们喜欢这款翻新设计的原因是它提升界面的同时还完整的保留了Google  Reader所有的功能特性。</p>
</div>
</div>
<div>
<div>
<h2>6. <a title="MeasureIt - Firefox, Chrome ruler extension for web developers" href="http://www.kevinfreitas.net/extensions/measureit/" target="_blank">MeasureIt</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/measureit-safari.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>MeasureIt is an extension that lets  you grab pixel measurements of different elements or components of a  website. This is very handy for web developers who are trying to figure  out the width of an image or graphic.</p></blockquote>
<p>MeasureIt是一款让你用像素为度量单位抓取网站上不同元素和组件的插件。对于需要算出图片 宽度的网页开发人员来说这是一款非常方便的插件。</p>
</div>
</div>
<div>
<div>
<h2>7. <a title="AutoPagerize" href="http://autopagerize.net/" target="_blank">AutoPagerizer</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/autopagizer-safari.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>If you have ever groused about having to click  &#8220;next page&#8221; when reading an online article, AutoPagerizer is for you. It  presents the full text on one page, without the pagination links.</p></blockquote>
<p><span style="color: #6b6b6b;"> </span>如果你在网上阅读文章的时候，曾经抱怨过不停点击“下一页”的感觉，那 AutoPagerizer正是为你设计。它将全文呈现在同一页面，而不显示页码链接。</p>
</div>
</div>
<div>
<div>
<h2>8. <a title="Panic Blog ¬ª Coda Notes for Safari: Now Available!" href="http://www.panic.com/blog/2010/07/coda-notes-for-safari-now-available/" target="_blank">Coda Notes</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/CodaNotes-screenshot.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>The creators of</p></blockquote>
<blockquote style="display: none;"><p><a href="http://www.panic.com/coda" target="_blank">Coda</a></p></blockquote>
<blockquote style="display: none;"><p>for Mac OS X  have crafted a new Safari Extension that makes it easy to make  annotations to a website. You can add or edit the text on the site, add  highlights or other hand drawn notes and make adjustments to the page  structure if necessary. You can then send the resulting page to a  colleague or friend. For designers and developers who are looking for an  easy way to get feedback on live sites, Coda Notes is a slam dunk.</p></blockquote>
<p>Mac OS  X系统下Coda的开发者带来一款新Safari插件，它可以非常方便的在网站上面做评注。在适应页面结构的前提下，你可以方便的添加或者修改网站上的文 字，进行高亮、随手笔记等操作。然后，你可以把处理好的页面发送给同事或者朋友。Coda  Notes使得网站设计者和开发人员们获取网站用户反馈成为一件轻而易举的事。</p>
</div>
</div>
<div>
<div>
<h2>9. <a title="YouTube  downloader tool - Fastesttube!" href="http://fastesttube.kwizzu.com/" target="_blank">FastestTube</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/download-youtube-safari.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>FastestTube makes it easy to  download</p></blockquote>
<blockquote style="display: none;"><p><a href="http://mashable.com/category/youtube/" target="_blank">YouTube</a></p></blockquote>
<blockquote style="display: none;"><p>videos in  whatever formats are available directly from the YouTube page. The  extension adds a button to the right of the &#8220;embed&#8221; element on YouTube  video pages and makes it super easy to grab the raw files.</p></blockquote>
<p>FastestTube可以让你直接在YouTube页面中下载不同格式的YouTube视频。它 通过在YouTube视频播放页面的标签右侧加入一个按钮，让你轻松的下载原始视频文件。</p>
</div>
</div>
<div>
<div>
<h2>10. <a title="Add to Reader Safari Extension" href="http://richardkall.se/safari/add-to-reader/" target="_blank">Add-to-Reader</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/add-to-reader.png" alt="" /></p>
<div>
<blockquote style="display: none;"><p>This extension will add the page  you are currently viewing to Google Reader. Although simple, this can be  a great time saver.</p></blockquote>
<p>这款插件可以把你当前浏览的页面加入到Google Reader；尽管看起来很简单，但是的确是一款节约时间的插件。</p>
</div>
</div>
<div>
<div>
<h2>11. <a title="Awarepixel Better Source" href="http://www.awarepixel.com/safari/bettersource/" target="_blank">Better Source</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/bettersource-screen-1.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>Sure, you can view the source of a  web page in Safari without this extension, but the results aren&#8217;t as  nice. Better Source opens up the source code in a new tab, uses line  numbers and color syntax highlighting. Plus, you can choose to view the  original source or the source that has been modified by the browser or  other scripts.</p></blockquote>
<p>当然，你可以不依 靠这款插件在Safari中查看网页源代码，但是效果并不好。Better  Source在新标签页中打开源代码，并加入行号和代码高亮等。同时，你还可以选择查看原始版本的源代码或者被浏览器或其他脚本修改过的代码。</p>
</div>
</div>
<div>
<div>
<h2>12. <a title="Google Apps Extension ¬´ Dean's Blog" href="http://www.zelotus.com/google-apps-extension/" target="_blank">Google Apps  Extension</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/google-apps-access.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>This extension provides one-click  access to your Google Apps accounts and tools. This means you can go  straight to your Mail, Docs or Calendar from the toolbar. The real  killer feature is that it supports multiple Google Apps accounts, which  will make those of us who use Google to manage various domains much more  productive. The extension also includes the option to access non-Google  Apps, mail, Google Reader or Google Voice accounts.</p></blockquote>
<p>这款插件让你可以一键访问Google  Apps账户及工具，也就是说，你可以通过工具栏直接访问你的Mail，Docs或者Calendar。更为关键的功能是，它支持Google  Apps多账户模式，使得想我们这些使用Google来管理不同域名的用户更为高效。这款插件还提供访问非Google Apps，邮件、Google  Reader或者Google Voice账户的选项。</p>
</div>
</div>
<div>
<div>
<h2>13. <a title="Built With" href="http://builtwith.com/" target="_blank">BuiltWith</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/builtwith-safari.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>BuiltWith is an extension that will  open up a profile of the site you are currently viewing, as analyzed by  the BuiltWith service. This will give you a rundown of the type of web  server being used, what scripting language is used to generate content,  any <a href="http://www.iwanna.cn/tags/javascript/" class="st_tag internal_tag" rel="tag" title="标签 JavaScript 下的日志">JavaScript</a> or Flash modules running on the site, and more.</p></blockquote>
<p>BuiltWith是一款通过BuiltWith服务分析并展示你当前 浏览的网站概况的插件。它提供给你一份概要报告，关于网站使用的服务、生成内容用的脚本语言、运行在站点上的JavaScript或者Flash模块，等 等。</p>
</div>
</div>
<div>
<div>
<h2>14. <a title="Flickr Original" href="http://www.jzlabs.com/2010/06/09/flickr-original-for-safari/" target="_blank">Flickr Original</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/flickr-original.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>Flickr recently redesigned its  photo pages and the results are great. Viewing the original size of an  image is, however, still an awful lot of effort. The Flickr Original  extension lets you view the original (or any of the other set sizes) of  an image simply by right-clicking on the image.</p></blockquote>
<p>Flickr最近重新设计了他们的照片页，而且效果很不错。但是，查看图片的原始尺寸功能还需要大 量的努力。Flickr Original插件可以让你简单的通过右键点击来查看原始尺寸图片，或者其他你想要的图片尺寸。</p>
</div>
</div>
<div>
<div>
<h2>15. <a title="Gmail Counter" href="http://elix14.altervista.org/Extensions/GMail%20Counter/" target="_blank">Gmail Counter</a></h2>
</div>
<p><img src="http://mashable.com/wp-content/gallery/safari-extensions/gmail-counter-safari.jpg" alt="" /></p>
<div>
<blockquote style="display: none;"><p>Gmail Counter makes it easy to see  how many unread messages are in your Gmail inbox directly from a toolbar  button. Clicking on the button takes you straight to your inbox.</p></blockquote>
<p>Gmail Counter让你直观的从一个工具栏按钮查看你Gmail的未读邮件数。点击这个按钮就可以直接进入你的收件箱。</p>
</div>
</div>
</div>
</div>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/11/21/5860/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/11/21/5860/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/11/21/5860/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/11/21/5860/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/11/21/5860/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/11/21/5860/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS：Webkit核心Chrome和Safari的独有Hack</title>
		<link>http://www.iwanna.cn/archives/2010/11/21/5831/</link>
		<comments>http://www.iwanna.cn/archives/2010/11/21/5831/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 07:20:16 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Webkit]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5831</guid>
		<description><![CDATA[IE内核有着自己独立的一个hack:*，再调试IE的时候常会用到。 同样Webkit内核也有着自己独立的一个hack，是只针对Chrome和Safari才起作用: @media screen and (-webkit-min-device-pixel-ratio:0) { /* Webkit内核兼容CSS*/ } DEMO:http://www.iwanna.cn/examples/css/hack/webkit_hack.html @media screen and (-webkit-min-device-pixel-ratio:0) { .webkit_color{color:#f00} .webkit_border{border:1px solid #f00;} .webkit_background{background:#f00;} } IE、FF都将不会识别定义的颜色、描边、背景。 测试结果如图： 扩展阅读：《CSS HACK：IE6、IE7、Firefox之间的区别及兼容写法》 © 我想网 Akon 所有 , 2010. &#124; 永久链接 &#124; 没有评论 &#124; 提交到 Google Reader 鲜果 抓虾 Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>IE内核有着自己独立的一个hack:*，再调试IE的时候常会用到。<br />
同样Webkit内核也有着自己独立的一个hack，是只针对Chrome和Safari才起作用:</p>
<div>
<table>
<tbody>
<tr id="p34713">
<td id="p3471code3">
<pre>@media screen and (-<a href="http://www.iwanna.cn/tags/webkit/" class="st_tag internal_tag" rel="tag" title="标签 Webkit 下的日志">webkit</a>-min-device-pixel-ratio:0) {
     /* Webkit内核兼容CSS*/
}</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>DEMO:<a href="http://www.iwanna.cn/examples/css/hack/webkit_hack.html" target="_blank">http://www.iwanna.cn/examples/css/hack/webkit_hack.html</a></p>
<div>
<table>
<tbody>
<tr id="p34714">
<td id="p3471code4">
<pre>@media screen and (-webkit-min-device-pixel-ratio:0) {
     .webkit_color{color:#f00}
	 .webkit_border{border:1px solid #f00;}
	 .webkit_background{background:#f00;}
}</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p><a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a>、FF都将不会识别定义的颜色、描边、背景。<br />
测试结果如图：<br />
<img title="webkithack" src="http://images.uheed.com/iwanna/2010/11/21/webkithack.jpg" alt="CSS：Webkit核心Chrome和Safari的独有Hack" width="600" height="200" /></p>
<p>扩展阅读：《<a href="http://www.iwanna.cn/archives/2010/11/21/5829/" target="_blank" title="CSS HACK：IE6、IE7、Firefox之间的区别及兼容写法">CSS HACK：IE6、IE7、Firefox之间的区别及兼容写法</a>》</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/11/21/5831/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/11/21/5831/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/11/21/5831/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/11/21/5831/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/11/21/5831/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/11/21/5831/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS HACK：IE6、IE7、Firefox之间的区别及兼容写法</title>
		<link>http://www.iwanna.cn/archives/2010/11/21/5829/</link>
		<comments>http://www.iwanna.cn/archives/2010/11/21/5829/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 07:12:23 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5829</guid>
		<description><![CDATA[IE6、IE7、Firefox之间的区别 区别IE6与FF： background:orange;*background:blue; 区别IE6与IE7： background:green !important;background:blue; 区别IE7与FF： background:orange; *background:green; 区别FF，IE7，IE6： background:orange;*background:green;_background:blue; background:orange;*background:green !important;*background:blue; 注：IE都能识别*;标准浏览器(如FF)不能识别*； IE6能识别*，但不能识别 !important, IE7能识别*，也能识别!important; FF不能识别*，但能识别!important; 浏览器优先级别:FF 兼容写法一： IE都能识别*;标准浏览器(如FF)不能识别*； IE6能识别*，但不能识别 !important, IE7能识别*，也能识别!important; FF不能识别*，但能识别!important; 根据上述表达，同一类/ID下的CSS 　hack可写为： .searchInput { background-color:#333;/*三者皆可*/ *background-color:#666　!important; /*仅IE7*/ *background-color:#999; /*仅IE6及IE6以下*/ } 一般三者的书写顺序为：FF、IE7、IE6. 兼容写法二： IE6可识别“_”，而IE7及FF皆不能识别，所以当只针对IE6与IE7及FF之间的区别时，可这样书写： .searchInput { background-color:#333;/*通用*/ _background-color:#666;/*仅IE6可识别*/ } 兼容写法三： *+html 与 *html 是IE特有的标签, Firefox 暂不支持。 .searchInput {background-color:#333;} *html .searchInput {background-color:#666;}/*仅IE6*/ [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a>6、<a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a>7、Firefox之间的区别</strong><br />
区别IE6与FF：</p>
<div>
<table>
<tbody>
<tr id="p10351">
<td id="p1035code1">
<pre>background:orange;*background:blue;</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>区别IE6与IE7：</p>
<div>
<table>
<tbody>
<tr id="p10352">
<td id="p1035code2">
<pre>background:green !important;background:blue;</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>区别IE7与FF：</p>
<div>
<table>
<tbody>
<tr id="p10353">
<td id="p1035code3">
<pre>background:orange; *background:green;</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p><span id="more-5829"></span><br />
区别FF，IE7，IE6：</p>
<div>
<table>
<tbody>
<tr id="p10354">
<td id="p1035code4">
<pre>background:orange;*background:green;_background:blue;
background:orange;*background:green !important;*background:blue;</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>注：IE都能识别*;标准浏览器(如FF)不能识别*；<br />
IE6能识别*，但不能识别 !important,<br />
IE7能识别*，也能识别!important;<br />
FF不能识别*，但能识别!important;<br />
浏览器优先级别:FF</p>
<p><strong>兼容写法一：</strong><br />
IE都能识别*;标准浏览器(如FF)不能识别*；<br />
IE6能识别*，但不能识别 !important,<br />
IE7能识别*，也能识别!important;<br />
FF不能识别*，但能识别!important;<br />
根据上述表达，同一类/ID下的CSS 　hack可写为：</p>
<div>
<table>
<tbody>
<tr id="p10355">
<td id="p1035code5">
<pre>.searchInput {
background-color:#333;/*三者皆可*/
*background-color:#666　!important; /*仅IE7*/
*background-color:#999; /*仅IE6及IE6以下*/
}</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>一般三者的书写顺序为：FF、IE7、IE6.</p>
<p><strong>兼容写法二：</strong><br />
IE6可识别“_”，而IE7及FF皆不能识别，所以当只针对IE6与IE7及FF之间的区别时，可这样书写：</p>
<div>
<table>
<tbody>
<tr id="p10356">
<td id="p1035code6">
<pre>.searchInput {
background-color:#333;/*通用*/
_background-color:#666;/*仅IE6可识别*/
}</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p><strong>兼容写法三：</strong><br />
*+<a href="http://www.iwanna.cn/tags/html/" class="st_tag internal_tag" rel="tag" title="标签 HTML 下的日志">html</a> 与 *<a href="http://www.iwanna.cn/tags/html/" class="st_tag internal_tag" rel="tag" title="标签 HTML 下的日志">html</a> 是IE特有的标签, <a href="http://www.iwanna.cn/tags/firefox/" class="st_tag internal_tag" rel="tag" title="标签 Firefox 下的日志">Firefox</a> 暂不支持。</p>
<div>
<table>
<tbody>
<tr id="p10357">
<td id="p1035code7">
<pre>.searchInput {background-color:#333;}
*html .searchInput {background-color:#666;}/*仅IE6*/
*+html .searchInput {background-color:#555;}/*仅IE7*/</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>屏蔽IE浏览器：<br />
select是选择符，根据情况更换。第二句是MAC上safari浏览器独有的。</p>
<div>
<table>
<tbody>
<tr id="p10358">
<td id="p1035code8">
<pre>*:lang(zh) select {font:12px  !important;} /*FF的专用*/
select:empty {font:12px  !important;} /*safari可见*/</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>IE6可识别：<br />
这里主要是通过CSS注释分开一个属性与值，注释在冒号前。</p>
<pre>select { display /*IE6不识别*/:none;}</pre>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/11/21/5829/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/11/21/5829/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/11/21/5829/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/11/21/5829/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/11/21/5829/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/11/21/5829/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>来自五六折的淘宝折扣实时查询 Chrome 扩展</title>
		<link>http://www.iwanna.cn/archives/2010/11/14/5779/</link>
		<comments>http://www.iwanna.cn/archives/2010/11/14/5779/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 07:52:51 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Chrome]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5779</guid>
		<description><![CDATA[前几天我们报道了五七折的淘宝购物 Chrome 扩展，很多用户在留言中说五七折是抄袭五六折的网站，至于事情真相我完全没有 概念，不过今天五六折也出 Chrome 扩展了，大家可以自由选择了。 PS：有知情人士透露说，五七折的网站是抄袭五六折的，而五六折这个 Chrome 扩展又是抄袭五七折的，真是混乱啊。。。无责任转评，本人不对其真实性负责。 本插件为五六折官方正式版。 【打折原理】 淘宝网商家为了加大商品的销售渠道，建立了一种付费推广机制，在收入中专门预留了一部分给推广者。 五六折网实际上就是让各位买家自己推广自己购买，这样某些商家就会给推广者（也就是您自己）一些推广回报。 这就是隐藏折扣的来源。 【打折步骤】 Step1： 点击商品或店铺页面下方的“生成折扣链接”，输入返现用户名后，再以原价购买商品。 Step2： 收到商品后，确认收货，支付宝放款给商家。 Step3： 第二天早上9点之后，您可以用您的淘宝ID直接登录www.alimama.com查看打折返现。 【咨询与支持】 帮助文档：http://56zhe.com/help.html 新浪微博：http://t.sina.com.cn/zhaonvyou 【媒体报道】 腾讯科技 http://tech.qq.com/a/20100914/000178.htm 网易科技 http://tech.163.com/10/1008/10/6IFE52BK000938EN.html ShowWeb2.0 http://www.showeb20.com/?p=2969 电脑报 http://t.sina.com.cn/1804573342/Bh0sQ6ddZY 点击这里进入扩展中心下载五六折淘宝折扣查询。 © 我想网 Akon 所有 , 2010. &#124; 永久链接 &#124; 没有评论 &#124; 提交到 Google Reader 鲜果 抓虾 Feed enhanced by Better Feed [...]]]></description>
			<content:encoded><![CDATA[<p><img title="56zhe_chrome_extension" src="http://images.uheed.com/iwanna/2010/11/14/56zhe_chrome_extension.jpg" border="0" alt="来自五六折的淘宝折扣实时查询 Chrome 扩展" width="550" height="378" /></p>
<p>前几天我们报道了<a href="http://www.guao.hk/posts/taobao-discount-chrome-extension.html" target="_blank">五七折的淘宝购物 Chrome 扩展</a>，很多用户在留言中说五七折是抄袭五六折的网站，至于事情真相我完全没有 概念，不过今天五六折<a href="https://chrome.google.com/extensions/detail/nembanjggjhiapfcilnpggogonpaldgp" target="_blank">也出 Chrome 扩展了</a>，大家可以自由选择了。</p>
<p>PS：有知情人士透露说，五七折的网站是抄袭五六折的，而五六折这个 <a href="http://www.guao.hk/tag/chrome" target="_blank">Chrome</a> 扩展又是抄袭五七折的，真是混乱啊。。。无责任转评，本人不对其真实性负责。</p>
<pre>本插件为五六折官方正式版。
<span id="more-5779"></span>
【打折原理】

淘宝网商家为了加大商品的销售渠道，建立了一种付费推广机制，在收入中专门预留了一部分给推广者。

五六折网实际上就是让各位买家自己推广自己购买，这样某些商家就会给推广者（也就是您自己）一些推广回报。

这就是隐藏折扣的来源。

【打折步骤】

Step1： 点击商品或店铺页面下方的“生成折扣链接”，输入返现用户名后，再以原价购买商品。
Step2： 收到商品后，确认收货，支付宝放款给商家。
Step3： 第二天早上9点之后，您可以用您的淘宝ID直接登录www.alimama.com查看打折返现。

【咨询与支持】

帮助文档：<a href="http://56zhe.com/help.html">http://56zhe.com/help.html</a>
新浪微博：<a href="http://t.sina.com.cn/zhaonvyou">http://t.sina.com.cn/zhaonvyou</a>

【媒体报道】

腾讯科技 <a href="http://tech.qq.com/a/20100914/000178.htm">http://tech.qq.com/a/20100914/000178.htm</a>
网易科技 <a href="http://tech.163.com/10/1008/10/6IFE52BK000938EN.html">http://tech.163.com/10/1008/10/6IFE52BK000938EN.html</a>
ShowWeb2.0 <a href="http://www.showeb20.com/?p=2969">http://www.showeb20.com/?p=2969</a>
电脑报 <a href="http://t.sina.com.cn/1804573342/Bh0sQ6ddZY">http://t.sina.com.cn/1804573342/Bh0sQ6ddZY</a></pre>
<p><a href="https://chrome.google.com/extensions/detail/nembanjggjhiapfcilnpggogonpaldgp" target="_blank">点击这里</a>进入扩展中心下载五六折淘宝折扣查询。</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/11/14/5779/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/11/14/5779/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/11/14/5779/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/11/14/5779/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/11/14/5779/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/11/14/5779/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 4最新JS引擎比Chrome快</title>
		<link>http://www.iwanna.cn/archives/2010/10/25/5626/</link>
		<comments>http://www.iwanna.cn/archives/2010/10/25/5626/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 13:16:00 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5626</guid>
		<description><![CDATA[Mozilla之前从来没有对Firefox的速度进行过什么讨论，不过日前Mozilla工程师Asa却在“我们快吗？”一文中 首次表示，Firefox 4在Sunspider测试中是得分最高的，超过了Google Chrome。苹果不久前发布的 Safari 4采用了全新的Nitro引擎，而Google的V8引擎也在不断升级，不过Mozilla的JägerMonkey引擎（Firefox 4所采用的JavaScript引擎）在权威JS引擎性能基准测试Sunspider中的成绩却超过了Nitro和V8。 根据Mozilla的测试，JägerMonkey引擎成绩为350.8ms，Chrome为356.5ms，而Webkit成绩为 369.7ms（得分越低说明浏览器越快）。 不过在V8基准测试中（V8基准测试套件来自Google），Firefox 4并没有超过Chrome，但是也取得了一定进展。在该测试中，JägerMonkey引擎成绩为2145.8ms，落后于 Chrome（1386.2ms），不过走到了Webkit之前（Safari成绩为2490.6ms）。 © 我想网 Akon 所有 , 2010. &#124; 永久链接 &#124; 没有评论 &#124; 提交到 Google Reader 鲜果 抓虾 Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p><strong>Mozilla之前从来没有对Firefox的速度进行过什么讨论，不过日前Mozilla工程师Asa却在“我们快吗？”一文中 首次表示，<a href="http://www.iwanna.cn/tags/firefox/" class="st_tag internal_tag" rel="tag" title="标签 Firefox 下的日志">Firefox</a> 4在Sunspider测试中是得分最高的，超过了Google <a href="http://www.iwanna.cn/tags/chrome/" class="st_tag internal_tag" rel="tag" title="标签 Chrome 下的日志">Chrome</a>。</strong>苹果不久前发布的 <a href="http://www.iwanna.cn/tags/safari/" class="st_tag internal_tag" rel="tag" title="标签 Safari 下的日志">Safari</a>   4采用了全新的Nitro引擎，而Google的V8引擎也在不断升级，不过Mozilla的JägerMonkey引擎（Firefox   4所采用的JavaScript引擎）在权威JS引擎性能基准测试Sunspider中的成绩却超过了Nitro和V8。</p>
<p>根据Mozilla的测试，JägerMonkey引擎成绩为350.8ms，Chrome为356.5ms，而Webkit成绩为 369.7ms（得分越低说明浏览器越快）。</p>
<p><a href="http://images.uheed.com/iwanna/2010/10/25/174519066072713.jpg" target="_blank"><img src="http://images.uheed.com/iwanna/2010/10/25/174519066072713.jpg" alt="Firefox 4最新JS引擎比Chrome快" /></a><br />
<span id="more-5626"></span><br />
不过在V8基准测试中（V8基准测试套件来自Google），Firefox   4并没有超过Chrome，但是也取得了一定进展。在该测试中，JägerMonkey引擎成绩为2145.8ms，落后于  Chrome（1386.2ms），不过走到了Webkit之前（Safari成绩为2490.6ms）。</p>
<p><a href="http://images.uheed.com/iwanna/2010/10/25/17453011869780815.jpg" target="_blank"><img src="http://images.uheed.com/iwanna/2010/10/25/17453011869780815.jpg" alt="Firefox 4最新JS引擎比Chrome快" /></a></p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/10/25/5626/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/10/25/5626/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/10/25/5626/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/10/25/5626/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/10/25/5626/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/10/25/5626/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5个替代Xmarks 的浏览器书签同步方案</title>
		<link>http://www.iwanna.cn/archives/2010/10/14/5539/</link>
		<comments>http://www.iwanna.cn/archives/2010/10/14/5539/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 04:48:50 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[IT业内资讯]]></category>
		<category><![CDATA[NetSoft]]></category>
		<category><![CDATA[Tool]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[OnlineTool]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5539</guid>
		<description><![CDATA[在全球拥有200万用户的最佳浏览器同步工具 Xmarks 于前不久宣布因公司资金周转问题，即将停止免费服务。究竟是彻底寿终正寝，还是走上付费服务的道路，目前尚未尘埃落定。但用惯了 Xmarks 的网友在遗憾唏嘘之余，也不得不寻找其他合适的方案。 这里 XDash 整理总结了 5 个 Xmarks 的替代方案，供大家转移和备份此前托管在 Xmarks 下的资料数据（尽管目前几乎没有哪家的服务像 Xmarks 如此优秀）。 在开始使用其它替代服务之前，首先让我们做好准备工作 ——?导出 Xmarks 书签。 如图所示，用您的用户名密码登录进 Xmarks 网站，选择“工具（Tools）-&#62;将书签导出为网页（export bookmarks to HTML）”，将已经保存在 Xmarks 上的书签全部打包导出并保存在本地的一个 .html 文件中。 OK！接下来选择一款适合你的解决方案来折腾： 一、Google Bookmarks （适合 Chrome、Firefox ，提供 Web 版，支持多操作系统平台） 将书签托管在 Google 的云端，是比较稳定可靠的方案（当然这句话放在国内得打个对折）。在线登录 Google Bookmarks 页面后，从左边的侧边栏找到 “Import bookmarks”，将之前导出的 .html 文件导入即可。 如果您使用的是 Chrome 浏览器，那么恭喜您，Chrome 6 以上版本本身已经自带了完美强大的同步功能（请从右上角工具图标-&#62;选项-&#62;同步-&#62;自定义中开启书签同步），可自动将您保存的书签同步保存至个人 Google 账号的 [...]]]></description>
			<content:encoded><![CDATA[<p>在全球拥有200万用户的最佳浏览器同步工具 Xmarks 于前不久宣布因公司资金周转问题，即将停止免费服务。究竟是彻底寿终正寝，还是走上付费服务的道路，目前尚未尘埃落定。但用惯了 <a href="http://www.xmarks.com/" target="_blank">Xmarks</a> 的网友在遗憾唏嘘之余，也不得不寻找其他合适的方案。</p>
<p>这里 XDash 整理总结了 <a href="http://www.syncoo.com/5-xmarks-alternatives-3845.htm" target="_blank">5 个 Xmarks 的替代方案</a>，供大家转移和备份此前托管在 Xmarks 下的资料数据（尽管目前几乎没有哪家的服务像 Xmarks 如此优秀）。</p>
<p>在开始使用其它替代服务之前，首先让我们做好准备工作 ——?<strong>导出 Xmarks 书签</strong>。</p>
<p>如图所示，用您的用户名密码登录进 Xmarks 网站，选择“<strong>工具（Tools）-&gt;将书签导出为网页（export bookmarks to <a href="http://www.iwanna.cn/tags/html/" class="st_tag internal_tag" rel="tag" title="标签 HTML 下的日志">HTML</a>）</strong>”，将已经保存在 Xmarks 上的书签全部打包导出并保存在本地的一个 .html 文件中。</p>
<p><a href="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/14NKen.jpg"><img title="Export" src="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/14NKen.jpg" alt="" width="522" height="263" /></a></p>
<p>OK！接下来选择一款适合你的解决方案来折腾：</p>
<p><strong>一、<a href="http://www.iwanna.cn/tags/google/" class="st_tag internal_tag" rel="tag" title="标签 Google 下的日志">Google</a> Bookmarks （适合 <a href="http://www.iwanna.cn/tags/chrome/" class="st_tag internal_tag" rel="tag" title="标签 Chrome 下的日志">Chrome</a>、<a href="http://www.iwanna.cn/tags/firefox/" class="st_tag internal_tag" rel="tag" title="标签 Firefox 下的日志">Firefox</a> ，提供 Web 版，支持多操作系统平台）</strong></p>
<p>将书签托管在 Google 的云端，是比较稳定可靠的方案（当然这句话放在国内得打个对折）。在线登录 <a href="https://bookmarks.google.com/" target="_blank">Google Bookmarks 页面</a>后，从左边的侧边栏找到 <strong>“Import bookmarks”</strong>，将之前导出的 .html 文件导入即可。</p>
<p><a href="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/ceh7r.jpg"><img title="GoogleImport" src="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/ceh7r.jpg" alt="" width="238" height="217" /></a></p>
<p>如果您使用的是 Chrome 浏览器，那么恭喜您，Chrome 6 以上版本本身已经<a href="http://www.syncoo.com/chrome-v6-sync-features-3296.htm" target="_blank">自带了完美强大的同步功能</a>（请从右上角<strong>工具图标-&gt;选项-&gt;同步-&gt;自定义</strong>中开启书签同步），可自动将您保存的书签同步保存至个人 Google 账号的 bookmarks 下。</p>
<p>如果您习惯了 Firefox，同样可以通过安装 <a href="https://addons.mozilla.org/en-US/firefox/addon/2888/" target="_blank">GMarks</a> （<a href="https://addons.mozilla.org/en-US/firefox/downloads/latest/2888/addon-2888-latest.xpi?src=addondetail" target="_blank">xpi直接下载地址</a>）这个插件来自动同步 Google Bookmarks。</p>
<p><a href="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/7fz0H.jpg"><img title="GMarks" src="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/7fz0H.jpg" alt="" width="522" height="304" /></a></p>
<p>对于其他浏览器用户，或许直接访问 <a href="https://bookmarks.google.com/" target="_blank">Google Bookmarks 的网页版</a>是最省时省力的吧。</p>
<p><strong>二、Firefox Sync （适合 Firefox 用户，支持多操作系统平台）</strong></p>
<p>再为 Firefox 用户介绍一个强大的插件 —— <a href="http://www.mozilla.com/en-US/firefox/sync/" target="_blank">Firefox Sync</a>。它不仅能同步<strong>书签</strong>，还能同步<strong>密码、设置、访问历史、当前打开书签</strong>等，非常强悍，颇有迎头赶上 Xmarks 的架势。</p>
<p><a href="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/MQCJu.jpg"><img title="Firefox-Sync-Setup-2" src="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/MQCJu.jpg" alt="" width="472" height="383" /></a></p>
<p>Firefox 4 Beta 本身已经内置了此工具，用户可直接享受。老版本用户则需<a href="http://www.mozilla.com/en-US/firefox/sync/" target="_blank">下载安装此插件</a>。使用前需通过 Email 注册一个账号。</p>
<p>并且它还有适合移动设备访问的APP，例如 <a href="http://itunes.apple.com/us/app/firefox-home/id380366933?mt=8" target="_blank">iPhone 客户端</a>、<a href="http://www.mozilla.com/en-US/mobile/maemo/" target="_blank">N900 Maemo 客户端</a>、其他<a href="http://www.mozilla.com/en-US/mobile/sync/" target="_blank">兼容手机客户端</a>。</p>
<p><strong>三、Sync2It（适合 <a href="http://www.iwanna.cn/tags/safari/" class="st_tag internal_tag" rel="tag" title="标签 Safari 下的日志">Safari</a> / <a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a> 用户，支持 Mac / Windows 操作系统平台，需骑墙）</strong></p>
<p><a href="http://www.sync2it.com/" target="_blank">Sync2It</a> 是又一款跨平台支持的小工具。如果您的系统是 Mac，那么它会自动同步 Safari 的书签；如果系统是 Windows，则会自动同步 IE 书签。它还允许您<a href="http://www.sync2it.com/collections/recent.php" target="_blank">订阅官网上他人共享的书签列表</a>。</p>
<p><a href="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/RE7KC.jpg"><img title="Sync2It-Mac" src="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/RE7KC.jpg" alt="" width="519" height="404" /></a></p>
<p>可惜，获取和使用此工具，需采用一定骑墙手段。</p>
<p><strong>四、Delicious 和 Diigo（适合 Firefox 和 Chrome，支持多操作系统平台）</strong></p>
<p>与 Google Bookmarks 类似的书签云端存储服务有不少，<a href="http://delicious.com/" target="_blank">Delicious</a> 和 <a href="http://www.diigo.com/" target="_blank">Diigo</a> 算是比较知名的两家。二者均有丰富的官方和第三方插件，用于强化浏览器的工具栏、书签栏、扩展等。</p>
<p>其中，Diigo 也提供了导入功能，可导入从 Xmarks 中导出的 .html 文件。然而，Diigo 也处于抽风状态（为神马好用的服务在国内都这个命运）。</p>
<p><a href="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/w5vSO.jpg"><img title="Diigo" src="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/w5vSO.jpg" alt="" width="522" height="392" /></a></p>
<p>对于 Delicious 的忠实用户，推荐 <a href="https://addons.mozilla.org/en-US/firefox/addon/3615/" target="_blank">Firefox</a> 和 <a href="http://www.delicious.com/help/quicktour/chrome" target="_blank">Chrome</a> 的两个专用插件。</p>
<p><a href="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/P2Qn7.jpg"><img title="Delicious" src="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/P2Qn7.jpg" alt="" width="458" height="452" /></a></p>
<p><strong>五、使用第三方同步工具（Dropbox、DBank 等）</strong></p>
<p>当然，也不能忘记这个屡试不爽万年通用技巧——第三方同步工具。借助它们，将应用程序的配置文件自动同步于多台电脑，就可实现一处改动，多处自动调整的效果。当然也适用于浏览器的数据资料同步，比如收藏夹、书签等。（可参考此前<a href="http://www.syncoo.com/5-tips-for-multiple-browsers-2562.htm" target="_blank">《如何高效在多个浏览器之间同步使用的5个工具技巧》</a>一文）</p>
<p>这里首推的自然是 <a href="https://www.dropbox.com/" target="_blank">Dropbox</a>，性能卓越，支持共享。可惜需要骑墙。国内较为稳定且实用的同步工具有 <a href="http://www.dbank.com/" target="_blank">DBank</a>，同样支持共享，并可将外链批量打包成列表。对于多人团队或是针对不同使用环境有不同书签管理方案的高级用户而言，不失为一种选择。</p>
<p><a href="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/HWoYh.jpg"><img title="DBank" src="http://images.uheed.com/iwanna/2010/10/14/xmarks-replacement/HWoYh.jpg" alt="" width="405" height="224" /></a></p>
<p>在多台希望实现同步的电脑上，将您想同步的配置文件丢进 Dropbox / DBank 文件夹中（或者用 mklink 工具进行映射），重复此操作即可。</p>
<p>除上述五种方法外，您还有其他优秀的解决方案推荐吗？欢迎留下您的反馈。（<a href="http://www.makeuseof.com/tag/4-free-xmarks-alternatives-sync-bookmarks/" target="_blank">via</a>）</p>
<p>本文由<strong>同步控</strong> XDash（新浪微薄：<a href="http://t.sina.com.cn/xdash">http://t.sina.com.cn/xdash</a>）投递。</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/10/14/5539/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/10/14/5539/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/10/14/5539/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/10/14/5539/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/10/14/5539/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/10/14/5539/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>诡异的浏览器兼容</title>
		<link>http://www.iwanna.cn/archives/2010/10/03/5495/</link>
		<comments>http://www.iwanna.cn/archives/2010/10/03/5495/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 15:10:59 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5495</guid>
		<description><![CDATA[(一) 在IE下用getAttribute来获取class属性要使用getAttribute(&#8220;className&#8221;)。非 IE，getAttribute(&#8220;class&#8221;) 令，IE8下已经支持用getAttribute(&#8220;class&#8221;)来获取了 。 (二) src=&#8221;"在IE下会发出自动请求当前页面所在路径的请求。 (三) 如果页面是GBK，js是utf8引入js的时候 type=&#8221;text/javascript&#8221; charset=&#8221;utf-8&#8243;如果javascript后面多了个空格导致IE下页面脚本错误，FF没有这个错误。 (四) 在IE下setAttrbute不支持设置style、事件、对象，可以使用类似.style.display这样的写法来兼容。 (五) js文件是utf-8，css文件是ansi，编码不一致的情况下会有兼容问题。如，会导致在ie6下，设置className失效。 (六) 不同浏览器对属性的大小写敏感问题存在不一致的情况，如IE不敏感。尽量统一成一种写法。 © 我想网 Akon 所有 , 2010. &#124; 永久链接 &#124; 没有评论 &#124; 提交到 Google Reader 鲜果 抓虾 Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>(一) 在IE下用getAttribute来获取class属性要使用getAttribute(&#8220;className&#8221;)。非 <a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a>，getAttribute(&#8220;class&#8221;)</p>
<p>令，IE8下已经支持用getAttribute(&#8220;class&#8221;)来获取了 。</p>
<p>(二) src=&#8221;"在IE下会发出自动请求当前页面所在路径的请求。</p>
<p>(三) 如果页面是GBK，js是utf8引入js的时候 type=&#8221;text/<a href="http://www.iwanna.cn/tags/javascript/" class="st_tag internal_tag" rel="tag" title="标签 JavaScript 下的日志">javascript</a>&#8221;  charset=&#8221;utf-8&#8243;如果javascript后面多了个空格导致IE下页面脚本错误，FF没有这个错误。</p>
<p>(四) 在IE下setAttrbute不支持设置style、事件、对象，可以使用类似.style.display这样的写法来兼容。</p>
<p>(五) js文件是utf-8，css文件是ansi，编码不一致的情况下会有兼容问题。如，会导致在ie6下，设置className失效。</p>
<p>(六) 不同浏览器对属性的大小写敏感问题存在不一致的情况，如IE不敏感。尽量统一成一种写法。</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/10/03/5495/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/10/03/5495/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/10/03/5495/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/10/03/5495/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/10/03/5495/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/10/03/5495/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5个同步控必备的 Firefox 扩展插件</title>
		<link>http://www.iwanna.cn/archives/2010/10/03/5482/</link>
		<comments>http://www.iwanna.cn/archives/2010/10/03/5482/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 13:41:26 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Tool]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[OnlineTool]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5482</guid>
		<description><![CDATA[网友 @YY小楠 在新浪微博寻求推荐一些常用的 Firefox 服务，最好是支持跨浏览器同步。这里我简单地介绍5个同步控必备的以 Firefox 为主力平台（当然尽可能支持其他浏览器）的优秀在线服务，囊括常用网络活动的主要方面，希望对大家有所帮助。 Last Pass Password Manager （支 持 Firefox，IE，Safari，Chrome） Last Pass 可以为您加密并保存常用网络服务的密码。你无须再为记忆和管理众多的密码而发愁，只要记住 Last Pass 的密码，剩下的就交给它。Last Pass 还能自动为你的不同电脑生成和同步一组安全性极高的密码，放置他人轻易窥探你多台电脑之间的重要隐私数据。基础版是免费的，高级版每月1美元并提供电话支 持。 Read It Later （支持 Firefox，IE，Chrome，Safari，iPhone） 自从发现后，我便一直在使用的书签管理工具。当遇到感兴趣的文章，又因为手头工作或是周围环境而不能马上阅读，那么点一下 Read It Later，该文章便被自动列入了待阅读（Unread）列表。简单轻量，减少信息焦虑，让你更专注于当前的操作。支持跨平台，甚至可以离线阅读。 Xmarks （支持 Firefox，IE，Chrome，Safari） 公认最强悍的跨浏览器同步工具，可同步书签、收藏、用户资料等信息。曾经的不二之选，可惜前不久 Xmarks 官方刚刚发布了即将停止服务的公告（因资金周转问题，面临倒闭局面）。已经有热心网友为了留住这个服务而组织了网络投票，如果您对它感兴趣，不 妨也来投上一枚支持票（截止本月15日）。 Evernote Web Clipper （支持 Firefox，IE，Chrome，Safari） Evernote 插件，允许你将浏览时发现的精彩内容（文字、图片、视频等）同步存储到 Evernote， 并自动建立索引、添加标签、使之可被日后搜索。Firefox + Evernote 用户必备。 Adblock Plus （支持 Firefox） [...]]]></description>
			<content:encoded><![CDATA[<p>网友 @YY小楠 在新浪微博寻求推荐一些常用的 <a href="http://www.iwanna.cn/tags/firefox/" class="st_tag internal_tag" rel="tag" title="标签 Firefox 下的日志">Firefox</a> 服务，最好是支持跨浏览器同步。这里我简单地介绍5个同步控必备的以 <a href="http://www.iwanna.cn/tags/firefox/" class="st_tag internal_tag" rel="tag" title="标签 Firefox 下的日志">Firefox</a>  为主力平台（当然尽可能支持其他浏览器）的优秀在线服务，囊括常用网络活动的主要方面，希望对大家有所帮助。<br />
<a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img title="Browser copy" src="http://images.uheed.com/iwanna/2010/10/03/Browser-copy.jpg" alt="5个同步控必备的 Firefox 扩展插件" width="274" height="234" align="right" /></a></p>
<p><a href="https://lastpass.com/" target="_blank"><strong>Last Pass  Password Manager</strong></a><strong> </strong>（支 持 Firefox，<a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a>，<a href="http://www.iwanna.cn/tags/safari/" class="st_tag internal_tag" rel="tag" title="标签 Safari 下的日志">Safari</a>，<a href="http://www.iwanna.cn/tags/chrome/" class="st_tag internal_tag" rel="tag" title="标签 Chrome 下的日志">Chrome</a>）</p>
<p>Last Pass 可以为您<strong>加密并保存常用网络服务的密码</strong>。你无须再为记忆和管理众多的密码而发愁，只要记住  Last Pass 的密码，剩下的就交给它。Last Pass  还能自动为你的不同电脑生成和同步一组安全性极高的密码，放置他人轻易窥探你多台电脑之间的重要隐私数据。基础版是免费的，高级版每月1美元并提供电话支 持。<br />
<span id="more-5482"></span><br />
<a href="http://readitlaterlist.com/" target="_blank"><strong>Read It Later</strong></a> （支持 Firefox，IE，Chrome，Safari，iPhone）</p>
<p>自从发现后，我便一直在使用的<strong>书签管理工具</strong>。当遇到感兴趣的文章，又因为手头工作或是周围环境而不能马上阅读，那么点一下 Read It  Later，该文章便被自动列入了待阅读（Unread）列表。简单轻量，减少信息焦虑，让你更专注于当前的操作。支持跨平台，甚至可以离线阅读。</p>
<p><a href="http://www.xmarks.com/" target="_blank"><strong></strong></a><strong><a title="Xmarks" href="http://www.syncoo.com/tag/xmarks" target="_blank">Xmarks</a></strong> （支持 Firefox，IE，Chrome，Safari）</p>
<p>公认最强悍的<strong>跨浏览器同步工具</strong>，可同步书签、收藏、用户资料等信息。曾经的不二之选，可惜前不久 <a href="http://www.syncoo.com/xmarks-to-shutdown-3696.htm" target="_blank">Xmarks  官方刚刚发布了即将停止服务的公告</a>（因资金周转问题，面临倒闭局面）。已经有热心网友为了留住这个服务而组织了网络投票，如果您对它感兴趣，不 妨也来<a href="http://www.pledgebank.com/XmarksPremium" target="_blank">投上一枚支持票</a>（截止本月15日）。</p>
<p><a href="http://www.evernote.com/about/download/web_clipper.php" target="_blank"><strong>Evernote Web Clipper</strong></a> （支持  Firefox，IE，Chrome，Safari）</p>
<p>Evernote 插件，允许你将浏览时发现的精彩内容（文字、图片、视频等）<strong>同步存储到 Evernote</strong>， 并自动建立索引、添加标签、使之可被日后搜索。Firefox + Evernote 用户必备。</p>
<p><a href="http://adblockplus.org/" target="_blank"><strong>Adblock  Plus</strong></a> （支持 Firefox）</p>
<p><strong>过滤掉恼人的广告</strong>， 只“订阅”那些被过滤后的纯净页面。可大幅提高互联网浏览体验。</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/10/03/5482/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/10/03/5482/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/10/03/5482/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/10/03/5482/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/10/03/5482/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/10/03/5482/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>《环球企业家》：下一站浏览器</title>
		<link>http://www.iwanna.cn/archives/2010/09/24/5366/</link>
		<comments>http://www.iwanna.cn/archives/2010/09/24/5366/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 13:43:29 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5366</guid>
		<description><![CDATA[当谷歌不遗余力地宣传其Android平台的应用程序商店——Android Market已拥有超过10万款应用程序且直逼苹果App Store的时候，它也为这条道路的未来敲响了“丧钟”：谷歌工程副总裁Vic Gundotra早在一年前就预言未来的移动世界将基于浏览器的应用程序，而不是在智能手机操作系统上下载和运行的本地软件——随着“云计算”在移动环境变成现实，所有的在线程序商店都将消亡。 但当谷歌几乎将对移动世界的未来全都押在Android之后，它便放缓了“终结在线程序商店”的脚步——在过去的一年里，它 把Android操 作系统的版本从1.5升级到1.6再到2.1和2.2，AndroidMarket的应用程序也增长了将近10倍。而去年7月公布的Chrome OS计划的各种信息和产品细节却全被塞进了黑箱子里。好吧，谷歌最近升级的Chrome 6.0浏览器版本中增添了“地理位置”的功能——这让它终于有一点应用程序的影子了，但有谁会抱着一台笔记本电脑到处查询行车路线和地图？它又能带来多大的价值？ 而且，人们发现手机存储卡和内存越来越不够用了：你想登录Twitter，首先需要在应用商店中下载一个Twitter的客户端；如果你同时订阅了《纽约时报》、《GQ》和《环球企业家》三本电子杂志，你就得同时下载三个不同格式的程序……这样的几十甚至上百款应用彼此隔绝、不能跳转和互通、也不能聚合，它们挤在空间狭窄的存储卡和内存里，而你甚至不能通过搜索功能找到它们！ 这一切让人们回到了几年前——在GoogleApps应用、Chrome和Firefox等浏览器尚未出现的时候，很多人都曾在一台电脑上同时管理着上百款桌面软件。 可是，终结手机应用程序“史前时代”的使命应该交给谁？正在鼓吹“应用程序是移动互联网未来”的乔布斯不可能；一边宣称“一切应用程序商店都将消亡”而一边对此持续投入的谷歌似乎也难堪此任。可当多年来执着于独立浏览器开发的Opera公司宣称“要让更多的用户通过浏览器使用应用程序”的时候，世界上突然多了另一种选择。 “通过浏览器和网页进行各种操作，包括使用一切应用程序是对每个用户都很有意义的事。”在挪威奥斯陆总部一间狭小的会议室内，Opera首席执行官 Lars Boilesen对《环球企业家》说。 Opera成立于历史上最著名的浏览器厂商——网景(Netscape)全面倾覆的1995年，它也曾遭遇微软Internet Explorer(简称IE)在PC桌面市场近乎掠夺般的侵吞，一度失尽城池。而在智能手机和移动互联网应用普及的“下一轮浪潮”中，Opera终于扳回一局——从2009年开始，Opera的移动版浏览器Opera Mobile和Opera Mini市场份额超过苹果iPhone内置的Safari，日均活跃用户数超过7000万，位居移动浏览器市场第一。目前Opera移动版的全球市场份额大约在25%左右。 在所有提供互联网“入口”的玩家中，Opera甚至成了拥抱新技术标准最激进的代表。当苹果与Adobe围绕Flash的“标准之争”敦促前者终于祭出HTML 5——一种将各种复杂的应用程序开发与实现完全搬到网页界面上的技术标准——的时候，Opera已开发出了支持HTML 5标准并进一步支持WebM视频格式的浏览器Opera10.60，以及移动版的Opera Mobile 10.1。 新标准 Opera为什么会成为HTML 5等一系列新技术标准的激进拥趸？答案是它将改变浏览器的功能甚至外延。 在移动互联网应用趋于普及的今天，“地理位置服务”(LBS，local based service)无疑是最热门的应用：它通过GPS导航获知你的位置并在地图上标注，你可以在地图上“登记”(check in)自己的位置；如果标注的位置越多，或经常出入某个地图上的“场所”(venue)，就能获得更多“奖章”(badge)并认识更多经常出没在同一场所的朋友。目前全球最成功的地理位置服务提供商是Foursquare，在中国它也拥有大量跟进与效仿者(请于Gemag.com.cn查看《完美路线》)。 它们无一例外地入驻了苹果App Store和谷歌Android Market——这也成了它们烦恼的根源。Foursquare在中国的复制者之一“街旁”(jiepang.com)的一位工程师用一张被束缚了手脚的鸟的照片形容这些独立开发商的现状。“我们被乔布斯束住了手脚。”他说。 对“街旁”来说，每当新的功能和应用被添加到现有的产品框架中，他们就必须向苹果App Store提交申请，然后等待短则一周长则一个月的审核。这样用户便无法在第一时间获得产品的更新体验；而对大多数用户而言，他们将不断地收到最新版本的提示，然后频繁地下载更新程序，这已经相当不方便了。 即便如此，他们仍尝试开发了基于HTML 5标准的应用程序——比起大多数手机中下载的应用程序，它占用的内存极小。HTML 5是一种将应用程序基于网页运行的标准化技术，这意味着“街旁”的客户端并非需要在手机本地运行的软件程序，而是一款以独立浏览器方式呈现的高级WAP网页。用户的任何登录和使用行为都在WAP网页上完成，而不是自己的手机上。尽管“街旁”是国内第一款基于HTML 5的地理位置服务工具，但它仍然摆脱不了客户端的外观，也仍然需要进驻应用商店等待苹果(甚至谷歌)的审核。 “这样的程序可能被苹果通过，也可能通不过，我们有的时候还必须得依靠乔布斯。”街旁创始人刘颖对《环球企业家》说。他们希望未来能有更多的用 户通过手机直接访问街旁的Web网页获得地理位置服务—前提是手机浏览器支持HTML 5标准并具备地理位置识别信息。 目前这样的移动浏览器仍十分稀缺。“不过针对Symbian 60系统的Opera Mobile10.1浏览器已经支持了地理位置服务。”刘颖说。 它意味着最热门的地理位置服务基于移动浏览器的应用已成为可能。“现在谈其他的移动浏览器程序应用还早了点，但地理位置功能(Geo-location)是我们的一个突破。”Opera负责移动产品的副总裁Dag Olav Norem对《环球企业家》说。你可以在Opera’s live maps上留下自己的足迹，而各种应用程序开发者也可以基于此开发各种网页上的应用服务。 而在基于移动浏览器的网页下，通过HTML 5技术实现地理位置服务有多难？“只需要一行代码就可以！”街旁的工程师表示。 “相信我，通过HTML 5+CSS+Javascript在网页上写出的程序，完全可以与原生程序媲美。”Opera首席技术官Hakon [...]]]></description>
			<content:encoded><![CDATA[<p>当谷歌不遗余力地宣传其Android平台的应用程序商店——<a href="http://www.iwanna.cn/tags/android/" class="st_tag internal_tag" rel="tag" title="标签 Android 下的日志">Android</a> Market已拥有超过10万款应用程序且直逼苹果App Store的时候，它也为这条道路的未来敲响了“丧钟”：谷歌工程副总裁Vic Gundotra早在一年前就预言未来的移动世界将基于浏览器的应用程序，而不是在智能手机操作系统上下载和运行的本地软件——随着“云计算”在移动环境变成现实，所有的在线程序商店都将消亡。</p>
<p>但当谷歌几乎将对移动世界的未来全都押在Android之后，它便放缓了“终结在线程序商店”的脚步——在过去的一年里，它 把Android操 作系统的版本从1.5升级到1.6再到2.1和2.2，AndroidMarket的应用程序也增长了将近10倍。而去年7月公布的Chrome OS计划的各种信息和产品细节却全被塞进了黑箱子里。好吧，谷歌最近升级的Chrome 6.0浏览器版本中增添了“地理位置”的功能——这让它终于有一点应用程序的影子了，但有谁会抱着一台笔记本电脑到处查询行车路线和地图？它又能带来多大的价值？</p>
<p>而且，人们发现手机存储卡和内存越来越不够用了：你想登录Twitter，首先需要在应用商店中下载一个Twitter的客户端；如果你同时订阅了《纽约时报》、《GQ》和《环球企业家》三本电子杂志，你就得同时下载三个不同格式的程序……这样的几十甚至上百款应用彼此隔绝、不能跳转和互通、也不能聚合，它们挤在空间狭窄的存储卡和内存里，而你甚至不能通过搜索功能找到它们！<br />
<span id="more-5366"></span><br />
这一切让人们回到了几年前——在GoogleApps应用、Chrome和Firefox等浏览器尚未出现的时候，很多人都曾在一台电脑上同时管理着上百款桌面软件。</p>
<p>可是，终结手机应用程序“史前时代”的使命应该交给谁？正在鼓吹“应用程序是移动互联网未来”的乔布斯不可能；一边宣称“一切应用程序商店都将消亡”而一边对此持续投入的谷歌似乎也难堪此任。可当多年来执着于独立浏览器开发的Opera公司宣称“要让更多的用户通过浏览器使用应用程序”的时候，世界上突然多了另一种选择。</p>
<p>“通过浏览器和网页进行各种操作，包括使用一切应用程序是对每个用户都很有意义的事。”在挪威奥斯陆总部一间狭小的会议室内，Opera首席执行官 Lars Boilesen对《环球企业家》说。</p>
<p>Opera成立于历史上最著名的浏览器厂商——网景(Netscape)全面倾覆的1995年，它也曾遭遇微软Internet Explorer(简称IE)在PC桌面市场近乎掠夺般的侵吞，一度失尽城池。而在智能手机和移动互联网应用普及的“下一轮浪潮”中，Opera终于扳回一局——从2009年开始，Opera的移动版浏览器Opera Mobile和Opera Mini市场份额超过苹果iPhone内置的Safari，日均活跃用户数超过7000万，位居移动浏览器市场第一。目前Opera移动版的全球市场份额大约在25%左右。</p>
<p>在所有提供互联网“入口”的玩家中，Opera甚至成了拥抱新技术标准最激进的代表。当苹果与Adobe围绕Flash的“标准之争”敦促前者终于祭出HTML 5——一种将各种复杂的应用程序开发与实现完全搬到网页界面上的技术标准——的时候，Opera已开发出了支持HTML 5标准并进一步支持WebM视频格式的浏览器Opera10.60，以及移动版的Opera Mobile 10.1。</p>
<p><strong> 新标准</strong></p>
<p>Opera为什么会成为HTML 5等一系列新技术标准的激进拥趸？答案是它将改变浏览器的功能甚至外延。</p>
<p>在移动互联网应用趋于普及的今天，“地理位置服务”(LBS，local based service)无疑是最热门的应用：它通过GPS导航获知你的位置并在地图上标注，你可以在地图上“登记”(check in)自己的位置；如果标注的位置越多，或经常出入某个地图上的“场所”(venue)，就能获得更多“奖章”(badge)并认识更多经常出没在同一场所的朋友。目前全球最成功的地理位置服务提供商是Foursquare，在中国它也拥有大量跟进与效仿者(请于Gemag.com.cn查看《完美路线》)。</p>
<p>它们无一例外地入驻了苹果App Store和谷歌Android Market——这也成了它们烦恼的根源。Foursquare在中国的复制者之一“街旁”(jiepang.com)的一位工程师用一张被束缚了手脚的鸟的照片形容这些独立开发商的现状。“我们被乔布斯束住了手脚。”他说。</p>
<p>对“街旁”来说，每当新的功能和应用被添加到现有的产品框架中，他们就必须向苹果App Store提交申请，然后等待短则一周长则一个月的审核。这样用户便无法在第一时间获得产品的更新体验；而对大多数用户而言，他们将不断地收到最新版本的提示，然后频繁地下载更新程序，这已经相当不方便了。</p>
<p>即便如此，他们仍尝试开发了基于HTML 5标准的应用程序——比起大多数手机中下载的应用程序，它占用的内存极小。<a href="http://www.iwanna.cn/tags/html/" class="st_tag internal_tag" rel="tag" title="标签 HTML 下的日志">HTML</a> 5是一种将应用程序基于网页运行的标准化技术，这意味着“街旁”的客户端并非需要在手机本地运行的软件程序，而是一款以独立浏览器方式呈现的高级WAP网页。用户的任何登录和使用行为都在WAP网页上完成，而不是自己的手机上。尽管“街旁”是国内第一款基于HTML 5的地理位置服务工具，但它仍然摆脱不了客户端的外观，也仍然需要进驻应用商店等待苹果(甚至谷歌)的审核。</p>
<p>“这样的程序可能被苹果通过，也可能通不过，我们有的时候还必须得依靠乔布斯。”街旁创始人刘颖对《环球企业家》说。他们希望未来能有更多的用 户通过手机直接访问街旁的Web网页获得地理位置服务—前提是手机浏览器支持HTML 5标准并具备地理位置识别信息。</p>
<p>目前这样的移动浏览器仍十分稀缺。“不过针对Symbian 60系统的Opera Mobile10.1浏览器已经支持了地理位置服务。”刘颖说。</p>
<p>它意味着最热门的地理位置服务基于移动浏览器的应用已成为可能。“现在谈其他的移动浏览器程序应用还早了点，但地理位置功能(Geo-location)是我们的一个突破。”Opera负责移动产品的副总裁Dag Olav Norem对《环球企业家》说。你可以在Opera’s live maps上留下自己的足迹，而各种应用程序开发者也可以基于此开发各种网页上的应用服务。</p>
<p>而在基于移动浏览器的网页下，通过HTML 5技术实现地理位置服务有多难？“只需要一行代码就可以！”街旁的工程师表示。</p>
<p>“相信我，通过HTML 5+<a href="http://www.iwanna.cn/tags/css/" class="st_tag internal_tag" rel="tag" title="标签 CSS 下的日志">CSS</a>+Javascript在网页上写出的程序，完全可以与原生程序媲美。”Opera首席技术官Hakon Wium Lie对《环球企业家》说，“程序人员不需要再基于操作系统底层代码编写程序，而只要基于网络应用编写程序即可，而且它让你的编程变得简单和直观了，我们为什么不支持它？”</p>
<p>与苹果擎起HTML 5的大旗向Flash专利的拥有者Adobe宣战不同——苹果尽管支持更多基于HTML 5的应用出现，但它却未必真心看到一款基于HTML 5标准、融合了地理位置服务甚至更多应用程序的移动浏览器的出现——它甚至可能在未来瓦解苹果精心构筑的“移动应用商店”堡垒。</p>
<p>而Opera正希望这个未来早一点付诸现实：“我们希望更多的程序通过浏览器在网页上得到访问。”Opera首席执行官Lars Boilesen说。这意味着Opera的移动浏览器将可以成为一个基于网页的程序发布和应用平台——它不需要你下载任何程序到手机上，更不需要客户端。它充满了各种插件和网页化的应用，而你可以随时在页面上使用这些音乐、游戏、地理位置和电子媒体的功能。</p>
<p>在世界杯期间，当你打开最新版的Opera移动浏览器，你可以找到用HTML5写成的应用程序“巫巫赛拉”(vuvuzela)：一个可以吹响以支持某些球队的喇叭，而过去类似的程序只能在苹果的App Store中才能被找到。</p>
<p>而Opera在9月10日推出的Opera Devices SDK2.8最新版本，已经可以为电视和其他消费电子制造商用于浏览技术的开发，最大的特点就是支持HTML5格式的影片。</p>
<p>“浏览器并不是设计用来制作应用程序的，但是，HTML5改变了这种情况。”Opera首席技术官Hakon Wium Lie说。而事实上Opera本身就是便于开发者开发插件和应用程序的平台，它甚至推出了作为浏览器附属的网络服务器——Opera Unite，通过网络分享、留言板、媒体播放器和相片分享等一系列功能，让网络开发者基于HTML 5和CSS解放他们的创造力来开发独特的网络服务(请于Gemag.com.cn查看《Opera背水一战》)。</p>
<p>在移动版Opera上，这一切的进程仍稍显迟滞。但Opera的创始人谭咏文(VonTetzchner)甚至认为，到年底就能推出可支持本地存储和程序应用的Opera移动浏览器。</p>
<p><strong> 谁的浏览器</strong></p>
<p>但是，别忘了一个最关键的问题——当越来越多的智能手机厂商开始开发自己的浏览器，或因加入了Android阵营而不得不使用其浏览器之 后，Opera还有什么办法巩固甚至占据更多人的智能手机，并扮演那个未来将替代桌面应用程序的“可怕”角色？</p>
<p>当然，它有时还不得不与苹果和谷歌这样的玩家虚与委蛇——直到现在，Opera Mini的每个更新版本还都会上传到谷歌的Android Market中。而在今年2月，Opera Mini居然被苹果App Store的审核者放行，这意味着Opera Mini也可以堂而皇之地被iPhone用户下载使用了。要知道在人们的印象中，苹果绝对不会放行与自己战略和产品发生任何直接竞争的东西。</p>
<p>“人们认为它不能被苹果接受，只是因为没人敢去碰这个钉子而已。”Opera负责移动产品的副总裁Dag Olav Norem对《环球企业家》说，“结果是它被通过了。”不过他也承认，Opera Mini能获得苹果的通过是因为它的运行和存储都在远程的Opera公司服务器上，并不算一款真正在本地运行的浏览器，若是换了完全在人们手机本地运行的Opera Mobile，则多半前途未卜。</p>
<p>这正如同在PC时代，尽管微软通过在Windows操作系统中捆绑IE曾一度垄断大部分的市场份额，但它并无法阻止用户下载其他的浏览器客户端一样——Opera正试图成为越来越多iPhone、黑莓BlackBerry和Android智能手机的“第三方浏览器”，就像Firefox和Chrome在个人电脑上那样。</p>
<p>而这远非Opera的终极目的。“电信运营商已经觉醒了，它们意识到一家公司从操作系统到浏览器到应用商店什么都做是可怕的事。”Opera首席执行官Lars Boilesen对《环球企业家》说，“运营商喜欢iPhone，因为它能带来更多数据流量；但运营商恨App Store，因为它们把钱赚走了，运营商什么都没得到。”</p>
<p>“独立的跨平台浏览器厂商将为运营商导入更多有价值的流量。”Lars Boilesen说。</p>
<p>这意味着Opera将为移动运营商开发定制的手机浏览器，它当然是一种前所未有的模式。尽管运营商无法阻止厂商捆绑自己的手机浏览器，但它完全 可以要求它们定制另外一款运营商的浏览器——比如Opera Mobile或Opera Mini。</p>
<p>至少在北欧和西欧的一部分地区，电信运营商已经将Opera的定制浏览器“据为己有”：一些品牌的定制智能手机中内置了Opera浏览器。2009年9月，这部分“定制浏览器”的用户大约是100万，2010年1月已增至200多万，7月时跃升至500多万。在商业模式上，电信运营商将根据Opera活跃用户数量和他们带来的流量向Opera支付合作费用。</p>
<p>然而这并非仅仅是一种权宜之计的商业合作，Opera浏览器成为移动运营商定制的产品，包藏着它们共同的更大野心。</p>
<p>2010年2月，AT&amp;T、沃达丰、德国电信、NTT DoCoMo甚至中国移动等24家世界级主流电信运营商发起成立“大规模开发社区”(Wholesale Applications Community)，试图穿越2G、3G甚至4G的不同技术标准，以及多个操作系统平台和手机品牌建设统一的应用市场。2009年下半年，以AT&amp;T、西班牙电信、德国电信为中心的团队开始进行有关国际应用程序商店联合体的讨论，而在“大规模开发社区”的运营商结盟完成后，如何真正实现“打通一切”的应用程序世界，成了真正的难题。</p>
<p>于是你终于明白Opera的觊觎和价值所在了：唯有可以横跨各大操作系统、兼容2G、3G甚至4G网络，可以在不同手机型号上适配的移动浏览器才可能成为电信运营商“大规模开发社区”的基础。而一个前所未有庞大的基于浏览器的网络应用程序开发与应用基地也即将诞生，它将第一次局部地改变人们对移动互联网应用的认知——如果主角真的是Opera的话。</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/09/24/5366/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/09/24/5366/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/09/24/5366/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/09/24/5366/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/09/24/5366/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/09/24/5366/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8 个实用的Firebug扩展</title>
		<link>http://www.iwanna.cn/archives/2010/09/18/5347/</link>
		<comments>http://www.iwanna.cn/archives/2010/09/18/5347/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 14:57:56 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5347</guid>
		<description><![CDATA[工欲善其事，必先利其器，firebug作为web前端开发调试最得力也是应用最广的工具，为firefox留住了不少市场份额。firebug固 然强大，但依然存在些不足，比如无法查看cookies信息，无法测试网页性能等，幸运的是firebug本身拥有良好的扩展性，也拥有不少增强型扩展， 比如鼎鼎大名的Yslow。今天明河介绍几款实用的firebug扩展。 1、YSlow Yslow，我想明河无需过多介绍了，基本上跟firebug一样，是从事web前端开发的标配。 2、FireCookie fireCookie主要用于弥补firebug无法查看站点Cookies的缺陷。 3、FirePHP FirePHP可以让你通过一个简单的php函数，向firebug的控制台输出信息。 4、FireQuery FireQuery对使用jquery的开发者非常有用，你可以在控制台上输入jquery查询语法，就可以得到完整的结果集。比 如$(“img”)，控制台将打印出所有的img（你点击就可定位到该节点位置）。详细使用说明，参见其官网上的视频。 5、FormBug 顾名思义，专门用于表单调试的工具，你可以使用这个工具看到网页中完整的表单信息。 6、FireRainbow 用于高亮显示js脚本。 7、FirePicker 这个工具用于修改style中的颜色信息时会出现完整的颜色色值表。 8、CSS Usage 专门用于检测你的css脚本的可用性，标红的即没起作用的css样式。 © 我想网 Akon 所有 , 2010. &#124; 永久链接 &#124; 没有评论 &#124; 提交到 Google Reader 鲜果 抓虾 Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>工欲善其事，必先利其器，firebug作为web前端开发调试最得力也是应用最广的工具，为firefox留住了不少市场份额。firebug固 然强大，但依然存在些不足，比如无法查看cookies信息，无法测试网页性能等，幸运的是firebug本身拥有良好的扩展性，也拥有不少增强型扩展， 比如鼎鼎大名的Yslow。今天明河介绍几款实用的firebug扩展。</p>
<h4>1、<a href="http://developer.yahoo.com/yslow/" target="_blank">YSlow</a></h4>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img title="firebug-1" src="http://images.uheed.com/iwanna/2010/09/18/firebug/firebug-1.png" alt="8 个实用的Firebug扩展 | iwanna.cn 我想网" width="643" height="139" /></a></p>
<p>Yslow，我想明河无需过多介绍了，基本上跟firebug一样，是从事web前端开发的标配。<br />
<span id="more-5347"></span></p>
<h4>2、<a href="http://www.janodvarko.cz/firecookie" target="_blank">FireCookie</a></h4>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img title="firebug-2" src="http://images.uheed.com/iwanna/2010/09/18/firebug/firebug-2.jpg" alt="8 个实用的Firebug扩展 | iwanna.cn 我想网" width="450" height="200" /></a></p>
<p>fireCookie主要用于弥补firebug无法查看站点Cookies的缺陷。</p>
<h4>3、<a href="http://getfirebug.com/wiki/index.php?title=FirePHP&amp;action=edit&amp;redlink=1" target="_blank">FirePHP</a></h4>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img title="firebug-3" src="http://images.uheed.com/iwanna/2010/09/18/firebug/firebug-3.jpg" alt="8 个实用的Firebug扩展 | iwanna.cn 我想网" width="450" height="200" /></a></p>
<p>FirePHP可以让你通过一个简单的php函数，向firebug的控制台输出信息。</p>
<h4>4、<a href="http://firequery.binaryage.com/" target="_blank">FireQuery</a></h4>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img title="firebug-4" src="http://images.uheed.com/iwanna/2010/09/18/firebug/firebug-4.jpg" alt="8 个实用的Firebug扩展 | iwanna.cn 我想网" width="450" height="200" /></a></p>
<p>FireQuery对使用jquery的开发者非常有用，你可以在控制台上输入jquery查询语法，就可以得到完整的结果集。比 如$(“img”)，控制台将打印出所有的img（你点击就可定位到该节点位置）。详细使用说明，参见其官网上的视频。</p>
<h4>5、<a href="http://home.peteresnyder.com/projects/formbug" target="_blank">FormBug</a></h4>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img title="firebug-5" src="http://images.uheed.com/iwanna/2010/09/18/firebug/firebug-5.jpg" alt="8 个实用的Firebug扩展 | iwanna.cn 我想网" width="450" height="200" /></a></p>
<p>顾名思义，专门用于表单调试的工具，你可以使用这个工具看到网页中完整的表单信息。</p>
<h4>6、<a href="http://firerainbow.binaryage.com/" target="_blank">FireRainbow</a></h4>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img title="firebug-6" src="http://images.uheed.com/iwanna/2010/09/18/firebug/firebug-6.jpg" alt="8 个实用的Firebug扩展 | iwanna.cn 我想网" width="450" height="200" /></a></p>
<p>用于高亮显示js脚本。</p>
<h4>7、<a href="http://thedarkone.github.com/firepicker" target="_blank">FirePicker</a></h4>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img title="firebug-7" src="http://images.uheed.com/iwanna/2010/09/18/firebug/firebug-7.jpg" alt="8 个实用的Firebug扩展 | iwanna.cn 我想网" width="450" height="200" /></a></p>
<p>这个工具用于修改style中的颜色信息时会出现完整的颜色色值表。</p>
<h4>8、<a href="https://addons.mozilla.org/en-US/firefox/addon/10704" target="_blank">CSS Usage</a></h4>
<p><a title="我想网" href="http://www.iwanna.cn/" target="_blank"><img title="firebug-8" src="http://images.uheed.com/iwanna/2010/09/18/firebug/firebug-8.jpg" alt="8 个实用的Firebug扩展 | iwanna.cn 我想网" width="450" height="200" /></a></p>
<p>专门用于检测你的css脚本的可用性，标红的即没起作用的css样式。</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/09/18/5347/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/09/18/5347/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/09/18/5347/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/09/18/5347/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/09/18/5347/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/09/18/5347/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>提高Firefox的innerHTML()的性能</title>
		<link>http://www.iwanna.cn/archives/2010/09/12/5222/</link>
		<comments>http://www.iwanna.cn/archives/2010/09/12/5222/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 14:36:42 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Source-code]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5222</guid>
		<description><![CDATA[function replaceHtml(el, html) { var oldEl = typeof el === "string" ? document.getElementById(el) : el; /*@cc_on // 原始的 innerHTML 在 IE 中的性能好一点 oldEl.innerHTML = html; return oldEl; @*/ var newEl = oldEl.cloneNode(false); newEl.innerHTML = html; oldEl.parentNode.replaceChild(newEl, oldEl); /* 一旦我们从 DOM 上移除老的元素，则返回新的元素引用。*/ return newEl; }; 可以直接用el=replaceHtml(el, newHtml)代替el.innerHTML=newHtml。 速度到底有多大提升，还得测试说话。作者提供了一个测试页面：http://stevenlevithan.com/demo /replaceHtml.html 此方法大大提高了 innerHTML 在 Firefox 和 Safari 上的性能。replaceHtml() [...]]]></description>
			<content:encoded><![CDATA[<pre>function replaceHtml(el, <a href="http://www.iwanna.cn/tags/html/" class="st_tag internal_tag" rel="tag" title="标签 HTML 下的日志">html</a>) {
var oldEl = typeof el === "string" ? document.getElementById(el) : el;
/*@cc_on // 原始的 innerHTML 在 <a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a> 中的性能好一点
oldEl.innerHTML = <a href="http://www.iwanna.cn/tags/html/" class="st_tag internal_tag" rel="tag" title="标签 HTML 下的日志">html</a>;
return oldEl;
@*/
var newEl = oldEl.cloneNode(false);
newEl.innerHTML = <a href="http://www.iwanna.cn/tags/html/" class="st_tag internal_tag" rel="tag" title="标签 HTML 下的日志">html</a>;
oldEl.parentNode.replaceChild(newEl, oldEl);
/* 一旦我们从 DOM 上移除老的元素，则返回新的元素引用。*/
return newEl;
};</pre>
<p>可以直接用<code>el=replaceHtml(el, newHtml)</code>代替<code>el.innerHTML=newHtml</code>。<br />
<span id="more-5222"></span><br />
速度到底有多大提升，还得测试说话。作者提供了一个测试页面：http://stevenlevithan.com/demo /replaceHtml.html</p>
<p>此方法大大提高了 innerHTML 在 <a href="http://www.iwanna.cn/tags/firefox/" class="st_tag internal_tag" rel="tag" title="标签 Firefox 下的日志">Firefox</a> 和 <a href="http://www.iwanna.cn/tags/safari/" class="st_tag internal_tag" rel="tag" title="标签 Safari 下的日志">Safari</a> 上的性能。replaceHtml() 在 Firefox  2.0.0.6 里 destroy 与 replace 的速度各快了 473 倍以及 50 倍。而在 <a href="http://www.iwanna.cn/tags/safari/" class="st_tag internal_tag" rel="tag" title="标签 Safari 下的日志">Safari</a> 3.0.3 <a title="beta" href="http://www.js8.in/tag/beta">beta</a> 上则是 create 100  倍，replace 50 倍。</p>
<p>对于 Opera 也依然有性能提高，只是提高幅度没有上面两种浏览器惊人而已，</p>
<p>唯在 IE 中，则原始的 <strong>innerHTML </strong>的方法更效率点。</p>
<p>扩展阅读：</p>
<p>《<a href="http://blog.stevenlevithan.com/archives/faster-than-innerhtml" target="_blank">When  innerHTML isn’t Fast Enoug</a>h》| 《<a href="http://www.dustindiaz.com/innerhtml-vs-dom-methods/" target="_blank">innerHTML and  DOM Methods</a>》| <a href="http://www.planabc.net/2008/03/04/innerhtml_and_dom_methods/" target="_blank">原文链接</a></p>
<p>﻿</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/09/12/5222/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/09/12/5222/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/09/12/5222/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/09/12/5222/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/09/12/5222/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/09/12/5222/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS透明大汇总</title>
		<link>http://www.iwanna.cn/archives/2010/08/31/5146/</link>
		<comments>http://www.iwanna.cn/archives/2010/08/31/5146/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 13:15:09 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5146</guid>
		<description><![CDATA[近年来，CSS不透明算得上是一种相当流行的技术，但在跨浏览器支持上，对于开发者来说，可以说是一件令人头疼的事情。目前还没有一个通用方法，以 确保透明度设置可以在目前使用的所有浏览器上有效。 这篇汇总主要是提供一些CSS不透明的详细介绍，代码示例和解释，以实现这项有用的CSS技术在您的项目中兼容所有浏览器。 关于CSS 透明度，有一点需要注意的是，它虽然使用了很多年，但它一直以来都不是一个标准属性。它是一种非标准技术，应该是CSS3规范的一部分。 1. 旧的Opacity设置 以下代码是Firefox和Safari旧版本所需的透明度设置: #myElement {-khtml-opacity: .5; -moz-opacity: 0.5;} -khtml-opacity设置是针对旧版本的Webkit渲染引擎，这种专用属性现在已经过时了，除非你还有需要兼容Safari 1.x.的用户。 第二行使用专用属性 -moz-opacity是 为了兼容Mozilla渲染引擎的早期版本，以及追溯到Netscape Navigator。Firefox 0.9以后就不要求使用-moz-opacity属性，Firefox 3.5（现在使用Gecko引擎）已经不在支持这个属性。 2. 在Firefox, Safari, Chrome和Opera下的CSS透明度 以下代码是除了IE外的所有当前浏览器的最简单，最最新的不透明度设置的CSS语法： #myElement {opacity: .7;} 上述语法将设置一个元素为70％不透明（或30%透明）。设置opacity:1将使元素不透明，而设置opacity:0将使得元素完全不可见。 你 只要记住“opacity”等同于“不透明”就很容易记住了，opacity值越小就越接近透明。 opacity属性可以精确地小数点后两位，所以值取“.01”和“.02”实际上是不同的，虽然可见度很难被发觉。一般情况下，精确到一位就可以 了，取值如“.3”或“.7”。 3. IE下的CSS透明度 IE下照旧有别于其他浏览器，并且目前也有三个不同版本的IE在广泛使用，透明度设置是不同的，有时需要额外的CSS来控制： #myElement {filter: alpha(opacity=40);} 上面的CSS使用专用的filter属性来设置IE6-8透明度。对于IE6和IE7需要注意：为了使得透明设置生效，元素必须是“有布局”。一个 元素可以通过使用一些CSS属性来使其被布局，有如width 和 position。关于微软专有的hasLayout属性详情，以及如何触发它，参考这 里。 另外一个设置IE8的CSS透明度的方法语法如下（注意注释中指出的版本）： #myElement{filter: progid:DXImageTransform.Microsoft.Alpha(opacity=40);/* 第一行在IE6, IE7和IE8下有效 */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=40)"; /*第二行仅在IE8下有效 */} [...]]]></description>
			<content:encoded><![CDATA[<p>近年来，CSS不透明算得上是一种相当流行的技术，但在跨浏览器支持上，对于开发者来说，可以说是一件令人头疼的事情。目前还没有一个通用方法，以 确保透明度设置可以在目前使用的所有浏览器上有效。</p>
<p>这篇汇总主要是提供一些CSS不透明的详细介绍，代码示例和解释，以实现这项有用的CSS技术在您的项目中兼容所有浏览器。</p>
<p>关于CSS  透明度，有一点需要注意的是，它虽然使用了很多年，但它一直以来都不是一个标准属性。它是一种非标准技术，应该是CSS3规范的一部分。</p>
<h3>1. 旧的Opacity设置</h3>
<p>以下代码是Firefox和Safari旧版本所需的透明度设置:</p>
<pre>#myElement {-khtml-opacity: .5; -moz-opacity: 0.5;}</pre>
<p>-khtml-opacity设置是针对旧版本的Webkit渲染引擎，这种专用属性现在已经过时了，除非你还有需要兼容Safari  1.x.的用户。</p>
<p>第二行使用专用属性 -moz-opacity是 为了兼容Mozilla渲染引擎的早期版本，以及追溯到Netscape  Navigator。<a href="http://www.iwanna.cn/tags/firefox/" class="st_tag internal_tag" rel="tag" title="标签 Firefox 下的日志">Firefox</a> 0.9以后就不要求使用-moz-opacity属性，<a href="http://www.iwanna.cn/tags/firefox/" class="st_tag internal_tag" rel="tag" title="标签 Firefox 下的日志">Firefox</a>  3.5（现在使用Gecko引擎）已经不在支持这个属性。<br />
<span id="more-5146"></span></p>
<h3>2. 在Firefox, <a href="http://www.iwanna.cn/tags/safari/" class="st_tag internal_tag" rel="tag" title="标签 Safari 下的日志">Safari</a>, Chrome和Opera下的CSS透明度</h3>
<p>以下代码是除了IE外的所有当前浏览器的最简单，最最新的不透明度设置的CSS语法：</p>
<pre>#myElement {opacity: .7;}</pre>
<p>上述语法将设置一个元素为70％不透明（或30%透明）。设置opacity:1将使元素不透明，而设置opacity:0将使得元素完全不可见。 你 只要记住“opacity”等同于“不透明”就很容易记住了，opacity值越小就越接近透明。</p>
<p>opacity属性可以精确地小数点后两位，所以值取“.01”和“.02”实际上是不同的，虽然可见度很难被发觉。一般情况下，精确到一位就可以 了，取值如“.3”或“.7”。</p>
<h3>3. IE下的CSS透明度</h3>
<p>IE下照旧有别于其他浏览器，并且目前也有三个不同版本的IE在广泛使用，透明度设置是不同的，有时需要额外的CSS来控制：</p>
<pre>#myElement {filter: alpha(opacity=40);}</pre>
<p>上面的CSS使用专用的filter属性来设置IE6-8透明度。对于IE6和IE7需要注意：为了使得透明设置生效，元素必须是“有布局”。一个 元素可以通过使用一些CSS属性来使其被布局，有如width 和 position。关于微软专有的hasLayout属性详情，以及如何触发它，<a href="http://reference.sitepoint.com/css/haslayout" target="_blank">参考这 里</a>。</p>
<p>另外一个设置IE8的CSS透明度的方法语法如下（注意注释中指出的版本）：</p>
<pre>#myElement{filter: progid:DXImageTransform.Microsoft.Alpha(opacity=40);/* 第一行在IE6, <a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a>7和IE8下有效 */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=40)"; /*第二行仅在IE8下有效 */}</pre>
<p>第一行代码针对当前所有IE版本，第二行仅针对IE8。</p>
<p>注意两行代码的不同之处：在第二行代码中，在filter属性前跟着-ms-前缀，并且属性值有加引号，这些都是语法所必须的。</p>
<p>说实在，有了如前一个例子中用alpha(opacity=40)的语法来作用于任何版本的IE下的任何有布局的元素之后，我也不确定是否还有必要 用“progid”的方法。</p>
<h3>4. 使用JavaScript设置和改变CSS透明度</h3>
<p>您可以使用下面的语法访问JavaScript中的CSS opacity 属性：</p>
<pre>document.getElementById("myElement").style.opacity = ".4";  // 针对所有现代浏览器
document.getElementById("myElement").style.filter = "alpha(opacity=40)";// 针对IE</pre>
<p>上面的代码可以使用行内循环或者其他动态函数递增修改透明度的值。当然，你必须先通过<a href="http://www.nczonline.net/blog/2009/12/29/feature-detection-is-not-browser-detection/" target="_blank">特征检测</a>来决定使用哪一行代码。</p>
<h3>5. 使用JQuery设置和改变CSS透明度</h3>
<p>直接使用jQuery设置CSS透明度更直观更容易实现，因为在所有浏览器代码都一样，并且你不必担心在IE下元素是否“haslayout”：</p>
<pre>$("#myElement").<a href="http://www.iwanna.cn/tags/css/" class="st_tag internal_tag" rel="tag" title="标签 CSS 下的日志">css</a>({opacity:.4 }); // 所有浏览器有效</pre>
<p>您也可以使用一下jQuery代码使一个元素<a href="http://api.jquery.com/animate/" target="_blank">动画透明</a>：</p>
<pre>$("#myElement").animate({opacity:.4}, 1000, function() { // 动画完成，所有浏览器下有效  });</pre>
<p>不管元素的透明度在动画开始时是多少，它都会渐变到透明度为“.4”。动画的速度通过值“1000”设定，动画时间以毫秒为单位。代码中的最后一个 属性是一个可选回调函数，将在动画完成后执行。</p>
<p>如果该元素的透明度在CSS中已经设定为“.4”，那在动画运行的时候，你将不会发觉有任何不同，所以动画开始和最终透明度要有所不同。</p>
<h3>6. 通过 RGBA的透明度</h3>
<p>另一个CSS3技术只支持部分新的浏览器（Firefox 3+, Opera 10.1+, <a href="http://www.iwanna.cn/tags/chrome/" class="st_tag internal_tag" rel="tag" title="标签 Chrome 下的日志">Chrome</a> 2+,Safari  3.1+），可通过RGBA的alpha通道的方式设定。语法如下：</p>
<pre>#rgba { background: rgba(98, 135, 167, .4);}</pre>
<p>在上面的定义中，通过RGB（前三个数字）给背景设定颜色，然后最后一个是alpha设置，以执行给定颜色的透明度。这个alpha设置跟 opacity 属性一样，可设定任何0到1的数字，精确得到两位小数点。数字值越大，就越接近完全不透明的颜色。</p>
<h3>7. 通过 HSLA的透明度</h3>
<p>类似之前的定义，CSS3还允许使用HSLA单独设置颜色和alpha值，HSLA表示Hue（色调）, Saturation（饱和度）,  Lightness（亮度）, 和Alpha。以下是HSLA透明的例子：</p>
<pre>#hsla {background: hsla(207, 38%, 47%, .4);}</pre>
<p>更多关于HSLA颜色的解释，参考<a href="http://www.w3.org/TR/2003/CR-css3-color-20030514/#hsla-color" target="_blank">这篇来自W3.org的文章</a>。如同RGBA透明度，最后的数字表示透明度设置，跟RGBA起同样的作用。注意 RGBA和HSLA透明度的一个重要的好处是这些透明度设置不会影响到子元素的，但通过opacity属性的方式则会。alpha设置的RGBA和 HSLA只影响背景颜色的透明度，仅此而已。</p>
<p>我希望我能涉及主要的跨浏览器的CSS透明度代码。如果内容有错漏，欢迎随时评论指出，我将乐意作更正或补充。谢谢~</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/08/31/5146/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/08/31/5146/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/08/31/5146/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/08/31/5146/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/08/31/5146/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/08/31/5146/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome新到六个官方主题</title>
		<link>http://www.iwanna.cn/archives/2010/08/29/5109/</link>
		<comments>http://www.iwanna.cn/archives/2010/08/29/5109/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 13:34:37 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5109</guid>
		<description><![CDATA[六个主题均由艺术家创作，但奇怪的都是没有列入Chrome Theme Gallery， 只能在扩展中心最新上传页面里见到。 顺带一提，Chrome从6.0开始就弃用了前五代默认的淡蓝色皮肤，变成平淡的中性色，想念经典蓝色的Chrome迷可以尝试Classic blue主题。 截图跟传送门在此： Modern Adaptive Vibrant Inventive Fresh Metropolitan © 我想网 Akon 所有 , 2010. &#124; 永久链接 &#124; 没有评论 &#124; 提交到 Google Reader 鲜果 抓虾 Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>六个主题均由艺术家创作，但奇怪的都是没有列入<a href="http://www.google.com/chrome/intl/en/themes/" target="_blank">Chrome Theme Gallery</a>， 只能在扩展中心<a href="https://chrome.google.com/extensions/list/newest?hl=zh" target="_blank">最新上传页面</a>里见到。</p>
<p>顺带一提，Chrome从6.0开始就弃用了前五代默认的淡蓝色皮肤，变成平淡的中性色，想念经典蓝色的Chrome迷可以尝试<a href="https://chrome.google.com/extensions/search?itemlang=&amp;hl=zh&amp;q=classic+blue" target="_blank">Classic  blue主题</a>。</p>
<p><a rel="attachment wp-att-6959" href="http://www.iwanna.cn/?attachment_id=6959" target="_blank"><img title="artist-themes" src="http://images.uheed.com/iwanna/2010/08/29/chrome-theme/artist-themes.jpg" alt="" width="580" height="371" /></a><br />
<span id="more-5109"></span><br />
截图跟传送门在此：</p>
<p><a href="https://chrome.google.com/extensions/detail/kndhkogdmjaplgmlhgdhanjbkeflokpl?hl=en-US" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/29/chrome-theme/4001.jpg" alt="Modern" /></a></p>
<p>Modern</p>
<p><a href="https://chrome.google.com/extensions/detail/bjjdenklfdoghpkkpeolonfolbmlkgkl?hl=en-US" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/29/chrome-theme/4001-1.jpg" alt="Adaptive" /></a></p>
<p>Adaptive</p>
<p><a href="https://chrome.google.com/extensions/detail/plnhkdableiploefchlljhjamagdnhmj?hl=en-US" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/29/chrome-theme/4001-2.jpg" alt="Vibrant" /></a></p>
<p>Vibrant</p>
<p><a href="https://chrome.google.com/extensions/detail/jogkafbidohnjkkhgjbcmjipdlejjedi?hl=en-US" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/29/chrome-theme/8001.jpg" alt="Inventive" /></a></p>
<p>Inventive</p>
<p><a href="https://chrome.google.com/extensions/detail/mdokkjhocoeeoomjnpnhinefebdbcfcf?hl=en-US" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/29/chrome-theme/2001.jpg" alt="fresh" /></a></p>
<p>Fresh</p>
<p><a href="https://chrome.google.com/extensions/detail/jamlnfdfgcjbnmnjegohcpjebiefblbo?hl=en-US" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/29/chrome-theme/3001.jpg" alt="Metropolitan " /></a></p>
<p>Metropolitan</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/08/29/5109/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/08/29/5109/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/08/29/5109/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/08/29/5109/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/08/29/5109/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/08/29/5109/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一些实用的Chrome扩展工具</title>
		<link>http://www.iwanna.cn/archives/2010/08/22/5032/</link>
		<comments>http://www.iwanna.cn/archives/2010/08/22/5032/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 08:22:25 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Tool]]></category>
		<category><![CDATA[站长工具]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=5032</guid>
		<description><![CDATA[Google的Chrome浏览器作为一款比较流行的浏览器,拥有更快 速,更简洁等多方优势.其自身的浏览器扩展程序也发展的越来越强大.多样的扩展工具给我们的使用带来了很多方便.这里,我找出一些非常实用的Chrome 扩展工具给大家分享,其中有方便有网站开发工具和多样的SEO扩展. Web Developer Mini 方便的网站开发工具 W3C (x)HTML Validator &#8211; 0.2 通过三个图标(有效,警告,错误)中的一个在导航栏来显示HTML文档的有效性. Find PHP Functions 这个扩展帮助发现文件中的ＰＨＰ函数. Search Drupal 快速的搜索drupal.org和Drupal API IPcopy 唯一的IP扩展,可以帮助你自动复制你的IP到你的剪贴板,只要按一下. View Selection Source 通过选择内容,查看源代码.很有用的网站开发工具. META inspector 一个检查网页里元数据的扩展. Pendule Chrome的扩展工发工具. Lorem Ipsum Generator 一个形成随机的&#8221;Lorem Ipsum&#8221;文本的扩展. IE Tab 使用微软ＩＥ显示网页的Chrome标签. Explain and Send Screenshots 为你捕捉的网页加上解释它的箭头,圆或文字. windowSizer 一个调整窗口大小的工具. Resolution Test 帮助开发者测试页面在不同分辨率的显示器上的效果. Domain Availability Checker 这个扩展可以帮助你检查可用的域名. SEO [...]]]></description>
			<content:encoded><![CDATA[<p>Google的Chrome浏览器作为一款比较流行的浏览器,拥有更快 速,更简洁等多方优势.其自身的浏览器扩展程序也发展的越来越强大.多样的扩展工具给我们的使用带来了很多方便.这里,我找出一些非常实用的Chrome 扩展工具给大家分享,其中有方便有网站开发工具和多样的SEO扩展.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/web-developer-mini/" target="_blank">Web Developer Mini</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/web-developer-mini/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/wdmini.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a><br />
方便的网站开发工具<br />
<span id="more-5032"></span></p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/w3c-xhtml-validator/" target="_blank">W3C (x)HTML Validator &#8211; 0.2</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/w3c-xhtml-validator/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/chrval.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>通过三个图标(有效,警告,错误)中的一个在导航栏来显示HTML文档的有效性.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/other/localizador-de-funcoes-php/" target="_blank">Find PHP Functions</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/other/localizador-de-funcoes-php/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/phpdocs.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>这个扩展帮助发现文件中的ＰＨＰ函数.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/utilities/search-drupal/" target="_blank">Search Drupal</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/utilities/search-drupal/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/crdrup.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>快速的搜索drupal.org和Drupal API</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/utilities/ipcopy/" target="_blank">IPcopy</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/utilities/ipcopy/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/ipcopy.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>唯一的IP扩展,可以帮助你自动复制你的IP到你的剪贴板,只要按一下.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/view-selection-source/" target="_blank">View Selection Source</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/view-selection-source/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/viewsels.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>通过选择内容,查看源代码.很有用的网站开发工具.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/meta-inspector/" target="_blank">META inspector</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/meta-inspector/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/metainsp.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>一个检查网页里元数据的扩展.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/pendule/" target="_blank">Pendule</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/pendule/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/pendule.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>Chrome的扩展工发工具.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/lorem-ipsum-generator/" target="_blank">Lorem Ipsum Generator</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/lorem-ipsum-generator/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/crlorips.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>一个形成随机的&#8221;Lorem Ipsum&#8221;文本的扩展.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/utilities/ie-tab/" target="_blank">IE  Tab</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/utilities/ie-tab/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/ietabchr.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>使用微软ＩＥ显示网页的Chrome标签.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/utilities/explain-and-send-screenshots/" target="_blank">Explain and Send Screenshots</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/utilities/explain-and-send-screenshots/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/exps.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>为你捕捉的网页加上解释它的箭头,圆或文字.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/appearance-functioning/windowsizer/" target="_blank">windowSizer</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/appearance-functioning/windowsizer/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/winsizer.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>一个调整窗口大小的工具.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/resolution-test/" target="_blank">Resolution Test</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/resolution-test/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/restestchr.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>帮助开发者测试页面在不同分辨率的显示器上的效果.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/domain-availability-checker/" target="_blank">Domain Availability Checker</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/domain-availability-checker/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/checkdom.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>这个扩展可以帮助你检查可用的域名.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/seo-website-analysis-woorank-com/" target="_blank">SEO and Website Analysis</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/seo-website-analysis-woorank-com/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/wooseo.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>通过WooRank.com来分析你的SEO和网站的Chrome扩展.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/seo-site-tools/" target="_blank">SEO Site Tools</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/seo-site-tools/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/seost.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>提供Twitter,Facebook,Digg等社交网站的反应.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/utilities/sitezmeter/" target="_blank">SitezMeter</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/utilities/sitezmeter/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/szm.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>提供网站的流量信息,级别和增长速度.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/kuber-pagerank-checker/" target="_blank">Kuber PageRank Checker</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/kuber-pagerank-checker/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/kubpr.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>这个SEO工具显示网页的pagerank,Alexa等级等.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/pagerank-status/" target="_blank">PageRank Status</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/pagerank-status/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/prs.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>显示当前网页的google的PageRank和Alexa的等级.</p>
<h3><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/site-information-tool/" target="_blank">Site Information Tool</a></h3>
<p><a rel="nofollow" href="http://www.chromeextensions.org/webmaster-seo/site-information-tool/" target="_blank"><img src="http://images.uheed.com/iwanna/2010/08/22/chrome-extension/seoinft.png" alt="一些实用的Chrome扩展工具 | iwanna.cn 我想网" /></a></p>
<p>显示当前页面的信息(PageRank,Alexa,IP信息,服务器响应,whois和其他的SEO参数)</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/08/22/5032/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/08/22/5032/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/08/22/5032/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/08/22/5032/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/08/22/5032/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/08/22/5032/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IT经理世界：浏览器变阵</title>
		<link>http://www.iwanna.cn/archives/2010/08/10/4886/</link>
		<comments>http://www.iwanna.cn/archives/2010/08/10/4886/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 04:32:22 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=4886</guid>
		<description><![CDATA[当谷歌将其未来三大重要战略之一定位为互联网电视，当苹果的iPhone、iPad轰然推翻IT、通信与互联网间的樊篱，以内容及应用为核心的三网融合时代已然到来。至此，不同终端、不同平台将通过统一的一张网络来连接。于是，一个重要的问题产生——如何无缝呈现内容？用户如何获得无缝的体验？一贯慢热的浏览器显然责无旁贷。 传统的桌面端，IE的统治地位仍然无人能及；而在移动端，则呈现出百花齐放的繁荣景象，除了苹果、谷歌、诺基亚等终端厂商，专业浏览器厂商也层出不穷，比如Opera、UCWEB、GO，甚至腾讯也开发了自己的手机浏览器。那么在互联网电视、IPTV平台上呢？在全新的融合时代，浏览器厂商能否成为可覆盖不同终端和应用平台的“全能选手”，将成为其继续拓展商业价值的重要门槛。 全浏览器趋势 集成了越来越多应用功能的浏览器，正在当仁不让地成为互联网入口。由此，全浏览器概念逐渐浮出水面，拉拢聚合终端及应用厂商，提供以浏览器为核心的统一解决方案。谷歌与苹果都在朝这个思路发展，只不过谷歌的理念是开源，苹果的理念是封闭的自循环系统。 从PC到手机再到电视，谷歌始终在扮演一个跨界“潮人”的角色，成为纯技术推动的三网融合代表厂商。谷歌希望将操作系统与浏览器结合起来，为不同终端和应用开发者简化流程。在此思路下，不管是在PC端还是手机端，谷歌目前都可以为相关产业环节提供免费、开源的解决方案。不仅如此，谷歌还正在打造一个全新的技术项目，计划通过互联网来运行所有程序，而用户无需下载，许多程序界面会在浏览器中被重新制造。此外谷歌还有诸多计划涉及改进浏览器的处理速度和绘图能力。 以上动作反映了一个主流趋势：浏览器正越来越像操作系统。浏览器负载下的程序多半需要网络连接，即需要保证所有的设备永远在线，这为谷歌未来像苹果一样参与网络运营商流量分成提供了基础。另一方面，在推出时备受争议的浏览器chrome，如今已经悄然取代苹果safari成为全球第三大浏览器，其6月的全球市场份额达7.24%，且为增长最快的一位。目前，谷歌如果自行打通浏览器与操作系统环节，为产业拥趸提供跨平台的“免费午餐”，无疑将会前途无量。 尽管被谷歌赶下全球浏览器第三名，苹果的Safari依旧不可小觑。凭借其封闭平台，以及正在风靡全球的桌面电脑、iPhone、iPad等终端，苹果的影响力足以撬动内容厂商、应用厂商甚至电信运营商，通过在浏览器上的小动作，打破互联网原有商业价值链。例如最近刚刚推出的Safari5，其内置的RSS阅读器凭借强大的阅读功能正在抢发行商饭碗，通过它用户可以不再被页面当中的广告所困扰，浏览器还可以智能地依据字体大小对内容进行分页。 相比较而言，全球浏览器排名第一的IE似乎并无决策上的转变，依旧沿袭着PC上的思路，因此市场份额逐渐被新锐浏览器侵蚀，特别是在手机端上表现平平。而以开源起家的另一家浏览器厂商Firefox，是由Mozilla基金会(谋智网络)与开源团体共同开发的网页浏览器，在PC端表现不俗，但在最近一两年才推出了手机浏览器。 在这样的大背景下，自诞生开始就以全浏览器厂商自称的Opera显得目标性很强。“只要有屏幕、可以上网的地方，就有Opera。”Opera中国区总经理宋麟曾这样阐述。通过内置在手机、Wii游戏机、机顶盒等嵌入式设备中，Opera会获得授权费用，且还有增值服务中的分成收入。据介绍，目前已经有数十万台中国的电视机机顶盒中，预装了Opera浏览器。 而接下来，方兴未艾的电子书市场会是其下一个要占领的屏幕吗？如何将浏览器铺设到如此繁多的终端上去？这样做有何必要？Opera首席战略执行官RolfAssev告诉记者，已有16年技术研发历史的Opera拥有一套自有的浏览器核心技术，不管是在何种终端上，浏览器内核都是一致的，只需根据不同设备来设计屏幕、分辨率等。另外，也可以利用技术授权的方式，直接将开发工具包提供给用户，让他们根据自己的需求来设计界面。 在商业拓展方面，Opera也算走出了一条自己的路。RolfAssev表示，目前Opera月活跃用户数量约1.3亿。其中一半来自OperaMini用户，约一半来自PC，还有一小部分来自于其他移动设备。在RolfAssev看来，中国移动互联网是非常重要的市场，越来越多的用户通过手机接入互联网。“如果能成为第一次通过手机上网新用户的选择，对我们来说意味着着一个机会。” 中国局 毫无疑问，手机是一个即将爆发而又空间巨大的市场，对浏览器领域而言，手机上网将成为融合时代的一个机会引爆点。 然而，在俄罗斯等东方市场所向披靡的浏览器厂商Opera却在中国遭遇了巨大挑战。凭借强劲的市场推广力度以及对用户习惯的谙熟，中国本土手机浏览器企业UCWEB在市场份额上遥遥领先。同样将手机端作为重要发力点的两家浏览器厂商，其各自定位却很不一样。UCWEB把自己定位于一个信息的提供商和服务提供商，一直发力在内容服务上，甚至可以理解为一个类似门户的概念，侧重内容运营；而对于Opera而言，从1995年到现在，一直将注意力集中在浏览器本身的用户体验上。“我们希望用户自由选择，而不是被我们硬塞进去合作伙伴的内容。”RolfAssev说。 此外，包括腾讯、3G门户等以内容见长的互联网企业也开始做手机浏览器。这些国产浏览器虽然并无太多自主核心技术，但在资源和内容集成上，思路如出一辙，颇有百度集成“hao123”的感觉，通过引导用户手机上网需求来获得广告营收。也正因为如此，这类浏览器公司暂时还看不出拓展多平台的理想，抢占IE鞭长莫及的手机端已经够让他们辛苦了。 值得关注的是百度。据可靠消息称，百度正在启动浏览器计划，号称投资金额巨大，3年将投入50亿元。这不由得让人想起它的老对手谷歌在进入浏览器市场时引发的震动，而凭借在中文搜索市场的老大地位，百度的介入或许也将引发一场变革。谷歌将服务器搬离大陆市场后，百度将成为手机搜索最为主流的合作伙伴，由此可以想见，百度此时要做的浏览器，不会仅仅是基于PC端的，而是跨平台整体解决方案。唯有此，百度才能够真正成为一家具有想象力的公司，完成“框计算”蓝图，与国际搜索巨头谷歌在未来有着相似分量的竞争砝码。 至于腾讯与搜狐，两家同样在浏览器领域虎视眈眈的互联网企业也各有优势。凭借强大的客户端能力，腾讯在中国移动互联网上俨然已是第一品牌，由此带动下的浏览器想象空间无法估量；而搜狗则有着独特的与输入法相关的浏览器开发方式，由于其“云输入法”造就的强大跨平台能力，也使其有望成为未来的多平台浏览器厂商。 当然，革命尚未成功，中国的浏览器市场变局才刚刚开始。 © 我想网 Akon 所有 , 2010. &#124; 永久链接 &#124; 没有评论 &#124; 提交到 Google Reader 鲜果 抓虾 Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>当谷歌将其未来三大重要战略之一定位为互联网电视，当苹果的iPhone、iPad轰然推翻IT、通信与互联网间的樊篱，以内容及应用为核心的三网融合时代已然到来。至此，不同终端、不同平台将通过统一的一张网络来连接。于是，一个重要的问题产生——如何无缝呈现内容？用户如何获得无缝的体验？一贯慢热的浏览器显然责无旁贷。</p>
<p>传统的桌面端，IE的统治地位仍然无人能及；而在移动端，则呈现出百花齐放的繁荣景象，除了苹果、谷歌、诺基亚等终端厂商，专业浏览器厂商也层出不穷，比如Opera、UCWEB、GO，甚至腾讯也开发了自己的手机浏览器。那么在互联网电视、IPTV平台上呢？在全新的融合时代，浏览器厂商能否成为可覆盖不同终端和应用平台的“全能选手”，将成为其继续拓展商业价值的重要门槛。<br />
<span id="more-4886"></span><br />
<strong>全浏览器趋势</strong></p>
<p>集成了越来越多应用功能的浏览器，正在当仁不让地成为互联网入口。由此，全浏览器概念逐渐浮出水面，拉拢聚合终端及应用厂商，提供以浏览器为核心的统一解决方案。谷歌与苹果都在朝这个思路发展，只不过谷歌的理念是开源，苹果的理念是封闭的自循环系统。</p>
<p>从PC到手机再到电视，谷歌始终在扮演一个跨界“潮人”的角色，成为纯技术推动的三网融合代表厂商。谷歌希望将操作系统与浏览器结合起来，为不同终端和应用开发者简化流程。在此思路下，不管是在PC端还是手机端，谷歌目前都可以为相关产业环节提供免费、开源的解决方案。不仅如此，谷歌还正在打造一个全新的技术项目，计划通过互联网来运行所有程序，而用户无需下载，许多程序界面会在浏览器中被重新制造。此外谷歌还有诸多计划涉及改进浏览器的处理速度和绘图能力。</p>
<p>以上动作反映了一个主流趋势：浏览器正越来越像操作系统。浏览器负载下的程序多半需要网络连接，即需要保证所有的设备永远在线，这为谷歌未来像苹果一样参与网络运营商流量分成提供了基础。另一方面，在推出时备受争议的浏览器chrome，如今已经悄然取代苹果safari成为全球第三大浏览器，其6月的全球市场份额达7.24%，且为增长最快的一位。目前，谷歌如果自行打通浏览器与操作系统环节，为产业拥趸提供跨平台的“免费午餐”，无疑将会前途无量。</p>
<p>尽管被谷歌赶下全球浏览器第三名，苹果的Safari依旧不可小觑。凭借其封闭平台，以及正在风靡全球的桌面电脑、iPhone、iPad等终端，苹果的影响力足以撬动内容厂商、应用厂商甚至电信运营商，通过在浏览器上的小动作，打破互联网原有商业价值链。例如最近刚刚推出的Safari5，其内置的RSS阅读器凭借强大的阅读功能正在抢发行商饭碗，通过它用户可以不再被页面当中的广告所困扰，浏览器还可以智能地依据字体大小对内容进行分页。</p>
<p>相比较而言，全球浏览器排名第一的IE似乎并无决策上的转变，依旧沿袭着PC上的思路，因此市场份额逐渐被新锐浏览器侵蚀，特别是在手机端上表现平平。而以开源起家的另一家浏览器厂商Firefox，是由Mozilla基金会(谋智网络)与开源团体共同开发的网页浏览器，在PC端表现不俗，但在最近一两年才推出了手机浏览器。</p>
<p>在这样的大背景下，自诞生开始就以全浏览器厂商自称的Opera显得目标性很强。“只要有屏幕、可以上网的地方，就有Opera。”Opera中国区总经理宋麟曾这样阐述。通过内置在手机、Wii游戏机、机顶盒等嵌入式设备中，Opera会获得授权费用，且还有增值服务中的分成收入。据介绍，目前已经有数十万台中国的电视机机顶盒中，预装了Opera浏览器。</p>
<p>而接下来，方兴未艾的电子书市场会是其下一个要占领的屏幕吗？如何将浏览器铺设到如此繁多的终端上去？这样做有何必要？Opera首席战略执行官RolfAssev告诉记者，已有16年技术研发历史的Opera拥有一套自有的浏览器核心技术，不管是在何种终端上，浏览器内核都是一致的，只需根据不同设备来设计屏幕、分辨率等。另外，也可以利用技术授权的方式，直接将开发工具包提供给用户，让他们根据自己的需求来设计界面。</p>
<p>在商业拓展方面，Opera也算走出了一条自己的路。RolfAssev表示，目前Opera月活跃用户数量约1.3亿。其中一半来自OperaMini用户，约一半来自PC，还有一小部分来自于其他移动设备。在RolfAssev看来，中国移动互联网是非常重要的市场，越来越多的用户通过手机接入互联网。“如果能成为第一次通过手机上网新用户的选择，对我们来说意味着着一个机会。”</p>
<p><strong>中国局</strong></p>
<p>毫无疑问，手机是一个即将爆发而又空间巨大的市场，对浏览器领域而言，手机上网将成为融合时代的一个机会引爆点。</p>
<p>然而，在俄罗斯等东方市场所向披靡的浏览器厂商Opera却在中国遭遇了巨大挑战。凭借强劲的市场推广力度以及对用户习惯的谙熟，中国本土手机浏览器企业UCWEB在市场份额上遥遥领先。同样将手机端作为重要发力点的两家浏览器厂商，其各自定位却很不一样。UCWEB把自己定位于一个信息的提供商和服务提供商，一直发力在内容服务上，甚至可以理解为一个类似门户的概念，侧重内容运营；而对于Opera而言，从1995年到现在，一直将注意力集中在浏览器本身的用户体验上。“我们希望用户自由选择，而不是被我们硬塞进去合作伙伴的内容。”RolfAssev说。</p>
<p>此外，包括腾讯、3G门户等以内容见长的互联网企业也开始做手机浏览器。这些国产浏览器虽然并无太多自主核心技术，但在资源和内容集成上，思路如出一辙，颇有百度集成“hao123”的感觉，通过引导用户手机上网需求来获得广告营收。也正因为如此，这类浏览器公司暂时还看不出拓展多平台的理想，抢占IE鞭长莫及的手机端已经够让他们辛苦了。</p>
<p>值得关注的是百度。据可靠消息称，百度正在启动浏览器计划，号称投资金额巨大，3年将投入50亿元。这不由得让人想起它的老对手谷歌在进入浏览器市场时引发的震动，而凭借在中文搜索市场的老大地位，百度的介入或许也将引发一场变革。谷歌将服务器搬离大陆市场后，百度将成为手机搜索最为主流的合作伙伴，由此可以想见，百度此时要做的浏览器，不会仅仅是基于PC端的，而是跨平台整体解决方案。唯有此，百度才能够真正成为一家具有想象力的公司，完成“框计算”蓝图，与国际搜索巨头谷歌在未来有着相似分量的竞争砝码。</p>
<p>至于腾讯与搜狐，两家同样在浏览器领域虎视眈眈的互联网企业也各有优势。凭借强大的客户端能力，腾讯在中国移动互联网上俨然已是第一品牌，由此带动下的浏览器想象空间无法估量；而搜狗则有着独特的与输入法相关的浏览器开发方式，由于其“云输入法”造就的强大跨平台能力，也使其有望成为未来的多平台浏览器厂商。</p>
<p>当然，革命尚未成功，中国的浏览器市场变局才刚刚开始。</p>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/08/10/4886/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/08/10/4886/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/08/10/4886/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/08/10/4886/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/08/10/4886/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/08/10/4886/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>各浏览器的默认CSS</title>
		<link>http://www.iwanna.cn/archives/2010/07/29/4791/</link>
		<comments>http://www.iwanna.cn/archives/2010/07/29/4791/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 14:12:27 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=4791</guid>
		<description><![CDATA[在丸子主编的帮助下终于找到了各浏览器的默认CSS。只要是由于今天解决了一个特殊的问题，依靠的就是看各浏览器的默认CSS，然后重置它，所以很 多时候浏览器的默认css还是很有用的。 各浏览器的默认CSS可以在这里http://www.iecss.com/找 到，贪心一下，把这些样式都保存了一份： IE6(下载) IE7(下载) IE8(下载) IE9(下载) Firefox 3.6.3(下载) Webkit (r57042) (下载) Opera 10.51(下载) 当然我们还可以找到更老的一些浏览器默认样式： Firebird 0.7 Firefox 0.8 Firefox 0.9 Firefox 2.0.0.6 Firefox 2.0.0.12 Firefox 3.0b3 Firefox 3.0.1 Firefox 3.0.8 Flock 0.9.0.2 Flock 1.2.4 Flock 1.2.7 Konqueror 3.2.0 Mozilla 1.0.1 Mozilla 1.5 Navigator 6.1 Navigator 7.1 Navigator 8.1 Navigator 9.0b3 Safari 3.0.4 Safari [...]]]></description>
			<content:encoded><![CDATA[<p>在丸子主编的帮助下终于找到了各浏览器的默认CSS。只要是由于今天解决了一个特殊的问题，依靠的就是看各浏览器的默认CSS，然后重置它，所以很 多时候浏览器的默认css还是很有用的。</p>
<p>各浏览器的默认CSS可以在这里<a href="http://www.iecss.com/" target="_blank">http://www.iecss.com/</a>找 到，贪心一下，把这些样式都保存了一份：<br />
<span id="more-4791"></span></p>
<ol>
<li><a title="Download the IE6 UA Style Sheet" href="http://www.iwanna.cn/tools/css/init-set-of-browsers/ie-6.css">IE6(下载)</a></li>
<li><a title="Download the IE7 UA Style Sheet" href="http://www.iwanna.cn/tools/css/init-set-of-browsers/ie-7.css">IE7(下载)</a></li>
<li><a title="Download the IE8 UA Style Sheet" href="http://www.iwanna.cn/tools/css/init-set-of-browsers/ie-8.css">IE8(下载)</a></li>
<li><a title="Download the IE9 UA Style Sheet" href="http://www.iwanna.cn/tools/css/init-set-of-browsers/ie-9.css">IE9(下载)</a></li>
<li><a title="Download the Firefox 3.6.3 UA Style Sheet" href="http://www.iwanna.cn/tools/css/init-set-of-browsers/firefox-3.6.3.css">Firefox  3.6.3(下载)</a></li>
<li><a title="Webkit (r57042) UA Style Sheet" href="http://www.iwanna.cn/tools/css/init-set-of-browsers/webkit-r61376.css">Webkit  (r57042) (下载)</a></li>
<li><a title="Opera 10.51 UA Style Sheet" href="http://www.iwanna.cn/tools/css/init-set-of-browsers/opera-10.51.css">Opera  10.51(下载)</a></li>
</ol>
<p>当然我们还可以找到更老的一些浏览器默认样式：</p>
<ul>
<li><a href="http://hell.meiert.org/core/css/firebird-0.7.css">Firebird  0.7</a></li>
<li><a href="http://hell.meiert.org/core/css/firefox-0.8.css">Firefox  0.8</a></li>
<li><a href="http://hell.meiert.org/core/css/firefox-0.9.css">Firefox  0.9</a></li>
<li><a href="http://hell.meiert.org/core/css/firefox-2.0.0.6.css">Firefox  2.0.0.6</a></li>
<li><a href="http://hell.meiert.org/core/css/firefox-2.0.0.12.css">Firefox  2.0.0.12</a></li>
<li><a href="http://hell.meiert.org/core/css/firefox-3.0b3.css">Firefox  3.0b3</a></li>
<li><a href="http://hell.meiert.org/core/css/firefox-3.0.1.css">Firefox  3.0.1</a></li>
<li><a href="http://hell.meiert.org/core/css/firefox-3.0.8.css">Firefox  3.0.8</a></li>
<li><a href="http://hell.meiert.org/core/css/flock-0.9.0.2.css">Flock  0.9.0.2</a></li>
<li><a href="http://hell.meiert.org/core/css/flock-1.2.4.css">Flock  1.2.4</a></li>
<li><a href="http://hell.meiert.org/core/css/flock-1.2.7.css">Flock  1.2.7</a></li>
<li><a href="http://hell.meiert.org/core/css/konqueror-3.2.0.css">Konqueror  3.2.0</a></li>
<li><a href="http://hell.meiert.org/core/css/mozilla-1.0.1.css">Mozilla  1.0.1</a></li>
<li><a href="http://hell.meiert.org/core/css/mozilla-1.5.css">Mozilla  1.5</a></li>
<li><a href="http://hell.meiert.org/core/css/navigator-6.1.css">Navigator  6.1</a></li>
<li><a href="http://hell.meiert.org/core/css/navigator-7.1.css">Navigator  7.1</a></li>
<li><a href="http://hell.meiert.org/core/css/navigator-8.1.css">Navigator  8.1</a></li>
<li><a href="http://hell.meiert.org/core/css/navigator-9.0b3.css">Navigator  9.0b3</a></li>
<li><a href="http://hell.meiert.org/core/css/safari-3.0.4.css">Safari  3.0.4</a></li>
<li><a href="http://hell.meiert.org/core/css/safari-x.css">Safari <var>x</var></a></li>
<li><a href="http://hell.meiert.org/core/css/safari-3.1.2.css">Safari  3.1.2</a></li>
<li><a href="http://hell.meiert.org/core/css/seamonkey-1.1.2.css">SeaMonkey  1.1.2</a></li>
</ul>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/07/29/4791/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/07/29/4791/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/07/29/4791/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/07/29/4791/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/07/29/4791/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/07/29/4791/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>打败 IE 的葵花宝典：CSS Bug Table</title>
		<link>http://www.iwanna.cn/archives/2010/07/29/4780/</link>
		<comments>http://www.iwanna.cn/archives/2010/07/29/4780/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 04:47:50 +0000</pubDate>
		<dc:creator>seasun</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.iwanna.cn/?p=4780</guid>
		<description><![CDATA[作为一名前端，我们通常要做的就是让页面在各系统A-Grade浏览器，甚至网站浏览份额0.1%以上的浏览器上良好显示。当然，还有性能问题。不 过，今天要说的是样式的兼容问题。在IE/Mozilla/Webkit/Opera四分天下的今天，IE6-9/Mozilla（Gecko）系列 /Chrome/Safari/Opera etc. 这些浏览器的兼容，无不让前端们头痛。而在这之中，最让人头痛的当数IE，特别是IE6。搞定了IE6，基本也就能称霸半个江山了。搞定了IE，也相当于 占领了7、80%的领地。你想做一个统治页面兼容的主么？反正我是想的。 今天，趁着想完美公司的内部样式框架，把HasLayout.net的IE CSS Bug过了一遍。整理中收获了不少东西，一些官方的不足，也根据自己的知识升级了一下。当然，也顺利地升级了框架的一些内容，感觉甚爽。随后，便将一些值 得去看的Bug整理成一个列表，基于Alipay前端伟大的分享精神，分享出来以供团队工友们和大家参考。 同时，由于整理仓促，有些理解和表达不当和其他纰漏在所难免，还请大家帮忙更正。谢谢。 问题 浏览器 DEMO 解决方法 Hacking Rules: property:all-ie\9; property:gte-ie8\0;*property:lte-ie7; +property:ie7; _property:ie6; 1 input[button &#124; submit] 不能用 margin:0 auto; 居中 IE8 bug &#124; fixed 为input添加width 2 body{overflow:hidden;}没有去掉滚动条 IE6/7 bug &#124; fixed 设置html{overflow:hidden;} 3 hasLayout的标签拥有高度 IE6/7 bug &#124; fixed *height:0; _overflow:hidden; 4 form&#62;[hasLayout]元素有margin-left时，子元素中的[input &#124; textarea] 出现2×margin-left IE6/7 [...]]]></description>
			<content:encoded><![CDATA[<p>作为一名前端，我们通常要做的就是让页面在各系统A-Grade浏览器，甚至网站浏览份额0.1%以上的浏览器上良好显示。当然，还有性能问题。不 过，今天要说的是样式的兼容问题。在IE/Mozilla/<a href="http://www.iwanna.cn/tags/webkit/" class="st_tag internal_tag" rel="tag" title="标签 Webkit 下的日志">Webkit</a>/Opera四分天下的今天，<a href="http://www.iwanna.cn/tags/ie/" class="st_tag internal_tag" rel="tag" title="标签 IE 下的日志">IE</a>6-9/Mozilla（Gecko）系列 /<a href="http://www.iwanna.cn/tags/chrome/" class="st_tag internal_tag" rel="tag" title="标签 Chrome 下的日志">Chrome</a>/<a href="http://www.iwanna.cn/tags/safari/" class="st_tag internal_tag" rel="tag" title="标签 Safari 下的日志">Safari</a>/Opera etc.  这些浏览器的兼容，无不让前端们头痛。而在这之中，最让人头痛的当数IE，特别是IE6。搞定了IE6，基本也就能称霸半个江山了。搞定了IE，也相当于 占领了7、80%的领地。你想做一个统治页面兼容的主么？反正我是想的。</p>
<p><a href="http://images.uheed.com/iwanna/2010/07/29/ie_bug_table.jpg" target="_blank"><img title="ie_bug_table" src="http://images.uheed.com/iwanna/2010/07/29/ie_bug_table.jpg" alt="打败 IE 的葵花宝典：CSS Bug Table | iwanna.cn 我想网" width="500" height="163" /></a><br />
<span id="more-4780"></span><br />
今天，趁着想完美公司的内部样式框架，把<a rel="nofollow" href="http://haslayout.net/" target="_blank">HasLayout.net</a>的IE  <a href="http://www.iwanna.cn/tags/css/" class="st_tag internal_tag" rel="tag" title="标签 CSS 下的日志">CSS</a>  Bug过了一遍。整理中收获了不少东西，一些官方的不足，也根据自己的知识升级了一下。当然，也顺利地升级了框架的一些内容，感觉甚爽。随后，便将一些值 得去看的Bug整理成一个列表，基于Alipay前端伟大的分享精神，分享出来以供团队工友们和大家参考。</p>
<p>同时，由于整理仓促，有些理解和表达不当和其他纰漏在所难免，还请大家帮忙更正。谢谢。</p>
<table width="520">
<thead>
<tr>
<th width="30"></th>
<th width="120">问题</th>
<th width="60">浏览器</th>
<th width="90">DEMO</th>
<th width="120">解决方法</th>
</tr>
<tr>
<td colspan="5"><strong>Hacking Rules: </strong><br />
property:all-ie\9; property:gte-ie8\0;*property:lte-ie7; +property:ie7; _property:ie6;</td>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>input[button | submit] 不能用 margin:0 auto; 居中</td>
<td>IE8</td>
<td><a href="http://haslayout.net/demos/No-Auto-Margin-Center-on-Buttons-Inconsistency-Demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/No-Auto-Margin-Center-on-Buttons-Inconsistency-Fixed-Demo-CS.html" target="_blank">fixed</a></td>
<td>为input添加width</td>
</tr>
<tr>
<td>2</td>
<td>body{overflow:hidden;}没有去掉滚动条</td>
<td>IE6/7</td>
<td><a href="http://haslayout.net/demos/Document-Scrollbars-Overflow-Inconsistency-Demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/Document-Scrollbars-Overflow-Inconsistency-Fixed-Demo.html" target="_blank">fixed</a></td>
<td>设置html{overflow:hidden;}</td>
</tr>
<tr>
<td>3</td>
<td>hasLayout的标签拥有高度</td>
<td>IE6/7</td>
<td><a href="http://haslayout.net/demos/Empty-Element-Height-Bug-Demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/Empty-Element-Height-Bug-Fixed-Demo.html" target="_blank">fixed</a></td>
<td>*height:0;<br />
_overflow:hidden;</td>
</tr>
<tr>
<td>4</td>
<td>form&gt;[hasLayout]元素有margin-left时，子元素中的[input | textarea] 出现2×margin-left</td>
<td>IE6/7</td>
<td><a href="http://haslayout.net/demos/Form-Control-Double-Margin-Bug-Demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/Form-Control-Double-Margin-Bug-Fixed-Demo.html" target="_blank">fixed</a></td>
<td>form &gt; [hasLayout 元素]{margin-left:宽度;}<br />
form div{*margin-left:宽度÷2;}</td>
</tr>
<tr>
<td>5</td>
<td>当border-width有1条&lt;边3条时被设置成dotted时，1px的边dotted显示成dashed</td>
<td>IE7</td>
<td><a href="http://haslayout.net/demos/IE7-1px-Dotted-Border-Appears-As-Dashed-Bug-Demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/IE7-1px-Dotted-Border-Appears-As-Dashed-Bug-Fixed-Demo.html" target="_blank">fixed</a></td>
<td>不在同一个元素上使用不同宽度的 dotted</td>
</tr>
<tr>
<td>6</td>
<td>当子元素有position:relative的时候，父元素设置overflow:[hidden|auto]相当于给子元素设置了position:visible;</td>
<td>IE6/7</td>
<td><a href="http://haslayout.net/demos/relative-overflow-failure-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/relative-overflow-failure-bug-demo-fixed.html" target="_blank">fixed</a></td>
<td>给父元素设置position:relative;</td>
</tr>
<tr>
<td>7</td>
<td>:hover伪类不能改变有position:absolute的子级元素的left/top值</td>
<td>IE7</td>
<td><a href="http://haslayout.net/demos/ie7-broken-hover-absolute-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/ie7-broken-hover-absolute-bug-demo-fixed.html" target="_blank">fixed</a></td>
<td>把top/left的值设置成除0%外的所有百分值；或添加一个margin-[所有方向]除0外的所有值，包括0%</td>
</tr>
<tr>
<td>8</td>
<td>:focus + selector {} 选择器失效</td>
<td>IE8</td>
<td><a href="http://haslayout.net/demos/ignored-focus-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/ignored-focus-bug-demo-fixed.html" target="_blank">fixed</a></td>
<td>在失效选择器后面添加一个空选择器, :focus{}</td>
</tr>
<tr>
<td>9</td>
<td>列表中混乱的浮动：在list中浮动图片时，图片出现溢出正常位置；或没有list-style</td>
<td>IE8</td>
<td><a href="http://haslayout.net/demos/image-float-bullet-chaos-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/image-float-bullet-chaos-demo-fixed.html" target="_blank">fixed</a></td>
<td>用背景图片替换list-style</td>
</tr>
<tr>
<td>10</td>
<td>th 不会自动继承上级元素的 text-align</td>
<td>IE8</td>
<td><a href="http://haslayout.net/demos/non-inherited-th-text-align-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/non-inherited-th-text-align-bug-demo-fixed.html" target="_blank">fixed</a></td>
<td>给th添加text-align:inherit; (base.css中已包含)</td>
</tr>
<tr>
<td>11</td>
<td>样式(包括link/style/@import(link)) 最多允许个为是：32</td>
<td>IE6-8</td>
<td>─ 常识</td>
<td>99.99%的情况下，不会遇到</td>
</tr>
<tr>
<td>12</td>
<td>:hover 时若background-color为#fff, 失效</td>
<td>IE7</td>
<td><a href="http://haslayout.net/demos/hover-white-background-ignore-bug.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/hover-white-background-ignore-bug-fixed-demo.html" target="_blank">fixed</a></td>
<td>把background-color改成background。或者，非#fff || #ffffff</td>
</tr>
<tr>
<td>13</td>
<td>忽略’&gt;’后有注释的选择器：selector&gt; /**/ selector{}</td>
<td>IE6</td>
<td><a href="http://haslayout.net/demos/ie7-child-selector-comment-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/ie7-child-selector-comment-bug-demo.html" target="_blank">fixed</a></td>
<td>[<a href="http://haslayout.net/css/IE7-Child-Selector-Comment-Bug" target="_blank">官方误判</a>] 这个bug是IE6 BUG</td>
</tr>
<tr>
<td>14</td>
<td>* <a href="http://www.iwanna.cn/tags/html/" class="st_tag internal_tag" rel="tag" title="标签 HTML 下的日志">html</a></td>
<td>IE6</td>
<td>─ HACK</td>
<td>只对IE6有效</td>
</tr>
<tr>
<td>15</td>
<td>PNG图片中的颜色和背景颜色的值相同，但显示不同</td>
<td>IE6-7</td>
<td><a href="http://haslayout.net/demos/png-color-mismatch-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/png-color-mismatch-demo-fixed.html" target="_blank">fixed</a></td>
<td>利用 <a href="http://pmt.sourceforge.net/pngcrush/" target="_blank">pngcrush</a> 去除图片中的 Gamma profiles</td>
</tr>
<tr>
<td>16</td>
<td>margin:0 auto; 不能让block元素水平居中</td>
<td>IE6-8</td>
<td><a href="http://haslayout.net/demos/no-auto-margin-center-pseudo-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/no-auto-margin-center-pseudo-bug-demo-fixed.html" target="_blank">fixed</a></td>
<td>给block元素添加一个width</td>
</tr>
<tr>
<td>17</td>
<td>使用伪类 :first-line | :first-letter, 属性的值中出现!important 会使属性失效</td>
<td>IE8</td>
<td><a href="http://haslayout.net/demos/ie8-first-line-important-bug.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/ie8-first-line-important-bug-fixed.html" target="_blank">fixed</a></td>
<td>!important is evil, don’t use it anymore</td>
</tr>
<tr>
<td>18</td>
<td>:first-letter 失效</td>
<td>IE6</td>
<td><a href="http://haslayout.net/demos/ie6-first-letter-ignore-bug.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/ie6-first-letter-ignore-bug-fixed.html" target="_blank">fixed</a></td>
<td>把 :first-letter 移到离{}最近的地方，如 h1, p:first-letter{}，而非 p:first-letter h1{}</td>
</tr>
<tr>
<td>19</td>
<td>Position:absolute元素中，a display:block, 在非:hover时只有文本可点击</td>
<td>IE6/7</td>
<td><a href="http://haslayout.net/demos/partial-click-v2-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/partial-click-v2-demo-fixed.html" target="_blank">fixed</a></td>
<td>给a添加background, 如果背景透明，使用background:url(‘任何页面中已经缓存的文件链接’)，不推荐background：url(#)[<a href="http://haslayout.net/css/Partial-Click-Bug-v2" target="_blank">官方的解决方法</a>]，因为会增加一下HTTP请求</td>
</tr>
<tr>
<td>20</td>
<td>float列表元素不水平对齐：li不设置float，a设置display:block;float:[方向]，li不水平对齐</td>
<td>IE6/7</td>
<td><a href="http://haslayout.net/demos/staircase-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/staircase-bug-demo-fixed.html" target="_blank">fixed</a></td>
<td>给li设置display:inline 或 float:[方向]</td>
</tr>
<tr>
<td>21</td>
<td>dt, dd, li 背景失效</td>
<td>IE6</td>
<td><a href="http://haslayout.net/demos/disappearing-list-background-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/disappearing-list-background-bug-demo-fixed.html" target="_blank">fixed</a></td>
<td>dt, dd, li{position:relative;} (base.css中已包含)</td>
</tr>
<tr>
<td>22</td>
<td>&lt;noscript /&gt;元素的样式在启用javascript的情况下显示了样式</td>
<td>IE6-8</td>
<td><a href="http://haslayout.net/demos/noscript-ghost-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/noscript-ghost-bug-demo-fixed.html" target="_blank">fixed</a></td>
<td>利用js给&lt;noscript /&gt;添加display:none;</td>
</tr>
<tr>
<td>23</td>
<td>使用filter处理的透明背景图片的透明部分不可点</td>
<td>IE6-8</td>
<td><a href="http://haslayout.net/demos/no-transparency-click-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/no-transparency-click-bug-demo-fixed.html" target="_blank">fixed</a></td>
<td>把background:none变成background:url(‘链接’)，链接到本身和图片之外的任何文件</td>
</tr>
<tr>
<td>24</td>
<td>li内元素偏离 baseline 向下拉</td>
<td>IE8</td>
<td><a href="http://haslayout.net/demos/list-drop-shift-bug-demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/list-drop-shift-bug-demo-fixed.html" target="_blank">fixed</a></td>
<td>给li设置display:inline 或 float:[方向]</td>
</tr>
<tr>
<td>25</td>
<td>列表中li的list-style不显示</td>
<td>IE6/7</td>
<td><a href="http://haslayout.net/demos/no_li_ol_bullets_demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/no_li_ol_bullets_demo_fixed.html" target="_blank">fixed</a></td>
<td>给li添加margin-left，留空间来显示（不要加在ul上）</td>
</tr>
<tr>
<td>26</td>
<td>图片不能垂直居中</td>
<td>IE6/7</td>
<td><a href="http://haslayout.net/css/No-line-height-Vertical-Center-on-Images-Bug" target="_blank">bug/fixed</a></td>
<td>添加一个空标签，并赋给”Layout”, 比如display:inline-block;</td>
</tr>
<tr>
<td>27</td>
<td>不能自定义指针样式</td>
<td>IE6-8</td>
<td><a href="http://haslayout.net/demos/cursor/a/demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/cursor/a/demo_fixed.html" target="_blank">fixed</a></td>
<td>给指针文件设置绝对路径</td>
</tr>
<tr>
<td>28</td>
<td>背景溢出，拖动滚动条后显示正常</td>
<td>IE6</td>
<td><a href="http://haslayout.net/demos/backgroundleak_demo.html" target="_blank">bug</a> | <a href="http://haslayout.net/demos/backgroundleak_demo_ls_fixed.html" target="_blank">fixed</a></td>
<td>给父元素添加overflow:hidden防止溢出，并赋予hasLayout,如果添加_zoom:1;</td>
</tr>
<tr>
<td>29</td>
<td>高度超过height定义的高</td>
<td>IE6</td>
<td><a href="http://haslayout.net/css/Expanding-Height-Bug" target="_blank">bug/fixed</a></td>
<td>添加_overflow:hidden;(推荐)或者_font-size:0;</td>
</tr>
<tr>
<td>30</td>
<td>宽度超过width定义的宽</td>
<td>IE6</td>
<td><a href="http://haslayout.net/css/Expanding-Width-Bug" target="_blank">bug/fixed</a></td>
<td>添加_overflow:hidden; 或使用alice v3 中的 .sl-word-break 类（table用.sl-table-break）</td>
</tr>
<tr>
<td>31</td>
<td>双倍边距</td>
<td>IE6</td>
<td>─ 常识</td>
<td>添加display:inline到float元素中</td>
</tr>
<tr>
<td>32</td>
<td>margin负值隐藏：hasLayout的父元素内的非hasLayout元素，使用负边距时，超出父元素部分不可见</td>
<td>IE6/7</td>
<td><a href="http://haslayout.net/css/Negative-Margin-Bug" target="_blank">bug/fixed</a></td>
<td>去掉父元素的hasLayout；或者赋hasLayout给子元素,并添加position:relative;</td>
</tr>
<tr>
<td>33</td>
<td>给两个浮动元素的某中一个的文字设定为斜体，另一个元素下拉在有斜体文字元素的下面</td>
<td>IE6</td>
<td><a href="http://haslayout.net/css/Italics-Float-Bug" target="_blank">bug/fixed</a></td>
<td>给有斜体文字的元素添加overflow:hidden;</td>
</tr>
<tr>
<td>35</td>
<td>3px 间隔：在float元素后的元素，会有3px间隔</td>
<td>IE6</td>
<td><a href="http://haslayout.net/css/3px-Gap-Bug-aka-Text-Jog-Bug" target="_blank">bug/fixed</a></td>
<td>因为是确切的3px，所以，用“暴力破解”吧，比如_margin-left:-3px;</td>
</tr>
<tr>
<td>35</td>
<td>text-align 影响块级元素</td>
<td>IE6/7</td>
<td><a href="http://haslayout.net/css/Text-Align-Bug" target="_blank">bug/fixed</a></td>
<td>整理你的float；或者分开设置text-align</td>
</tr>
</tbody>
</table>
<hr />
<p>© <a href="http://www.iwanna.cn">我想网</a> Akon 所有 , 2010. |
<a href="http://www.iwanna.cn/archives/2010/07/29/4780/">永久链接</a> |
<a href="http://www.iwanna.cn/archives/2010/07/29/4780/#comments">没有评论</a> |
提交到
<a rel="nofollow" target="_blank" href="http://www.google.com/reader/view/feed/http://www.iwanna.cn/archives/2010/07/29/4780/">Google Reader</a>
<a rel="nofollow" target="_blank" href="http://www.xianguo.com/subscribe.php?url=http://www.iwanna.cn/archives/2010/07/29/4780/">鲜果</a>
<a rel="nofollow" target="_blank" href="http://www.zhuaxia.com/add_channel.php?url=http://www.iwanna.cn/archives/2010/07/29/4780/">抓虾</a>
<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-2057344547305288";
/* 336x280,iwanna feed,created 10/3/10 */
google_ad_slot = "9738886183";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr />
</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iwanna.cn/archives/2010/07/29/4780/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

