<?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>汇集博客</title>
	<atom:link href="http://www.zhblog.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.zhblog.net</link>
	<description>专注网站建设，博客优化，转载别人，写出自己</description>
	<lastBuildDate>Tue, 31 Aug 2010 00:51:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WordPress常用函数</title>
		<link>http://www.zhblog.net/archives/767.html</link>
		<comments>http://www.zhblog.net/archives/767.html#comments</comments>
		<pubDate>Tue, 31 Aug 2010 00:51:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程其他]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zhblog.net/archives/767.html</guid>
		<description><![CDATA[Header部分常用到的PHP函数 &#60;? php bloginfo(‘name’); ?&#62; 博客名称(Title) &#60;? php bloginfo(‘stylesheet_url’); ?&#62; CSS文件路径 &#60;? php bloginfo(‘pingback_url’); ?&#62; PingBack Url &#60;? php bloginfo(‘template_url’); ?&#62; 模板文件路径 &#60;? php bloginfo(‘version’); ?&#62; WordPress版本 &#60;? php bloginfo(‘atom_url’); ?&#62; Atom Url &#60;? php bloginfo(‘rss2_url’); ?&#62; RSS 2.o Url &#60;? php bloginfo(‘url’); ?&#62; 博客 Url &#60;? php bloginfo(‘html_type’); ?&#62; 博客网页Html类型 &#60;? php bloginfo(‘charset’); ?&#62; [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds3--><p>Header部分常用到的PHP函数   <br />&lt;? php bloginfo(‘name’); ?&gt; 博客名称(Title)    <br />&lt;? php bloginfo(‘stylesheet_url’); ?&gt; <a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">CSS</a>文件路径    <br />&lt;? php bloginfo(‘pingback_url’); ?&gt; PingBack Url    <br />&lt;? php bloginfo(‘template_url’); ?&gt; 模板文件路径    <br />&lt;? php bloginfo(‘version’); ?&gt; <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a>版本    <br />&lt;? php bloginfo(‘atom_url’); ?&gt; Atom Url    <br />&lt;? php bloginfo(‘rss2_url’); ?&gt; RSS 2.o Url    <br />&lt;? php bloginfo(‘url’); ?&gt; 博客 Url    <br />&lt;? php bloginfo(‘html_type’); ?&gt; 博客网页<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">Html</a>类型    <br />&lt;? php bloginfo(‘charset’); ?&gt; 博客网页编码    <br />&lt;? php bloginfo(‘description’); ?&gt; 博客描述    <br />&lt;? php wp_title(); ?&gt; 特定内容页(Post/Page)的标题</p>
<p> <span id="more-767"></span>
</p>
<p>模板常用的PHP函数及命令</p>
<p>&lt;? php get_header(); ?&gt; 调用Header模板   <br />&lt;? php get_sidebar(); ?&gt; 调用Sidebar模板    <br />&lt;? php get_footer(); ?&gt; 调用Footer模板    <br />&lt;? php the_content(); ?&gt; 显示内容(Post/Page)    <br />&lt;? php if(have_posts()) ?&gt; 检查是否存在Post/Page    <br />&lt;? php while(have_posts()) the_post(); ?&gt; 如果存在Post/Page则予以显示    <br />&lt;? php endwhile; ?&gt; While 结束    <br />&lt;? php endif; ?&gt; If 结束    <br />&lt;? php the_time(‘字符串’) ?&gt; 显示时间，时间格式由“字符串”参数决定，具体参考PHP手册    <br />&lt;? php comments_popup_link(); ?&gt; 正文中的留言链接。    <br />如果使用 comments_popup_script()，则留言会在新窗口中打开，反之，则在当前窗口打开    <br />&lt;? php the_title(); ?&gt; 内容页(Post/Page)标题    <br />&lt;? php the_permalink() ?&gt; 内容页(Post/Page) Url    <br />&lt;? php the_category(‘, ‘) ?&gt; 特定内容页(Post/Page)所属Category    <br />&lt;? php the_author(); ?&gt; 作者    <br />&lt;? php the_ID(); ?&gt; 特定内容页(Post/Page) ID    <br />&lt;? php edit_post_link(); ?&gt; 如果用户已登录并具有权限，显示编辑链接    <br />&lt;? php get_links_list(); ?&gt; 显示Blogroll中的链接    <br />&lt;? php comments_template(); ?&gt; 调用留言/回复模板    <br />&lt;? php wp_list_pages(); ?&gt; 显示Page列表    <br />&lt;? php wp_list_categories(); ?&gt; 显示Categories列表    <br />&lt;? php next_post_link(‘ %link ‘); ?&gt; 下一篇文章链接    <br />&lt;? php previous_post_link(‘%link’); ?&gt; 上一篇文章链接    <br />&lt;? php get_calendar(); ?&gt; 日历    <br />&lt;? php wp_get_archives() ?&gt; 显示内容存档    <br />&lt;? php posts_nav_link(); ?&gt; 导航，显示上一篇/下一篇文章链接    <br />&lt;? php include(TEMPLATEPATH . ‘/文件名’); ?&gt; 嵌入其他文件，可为定制的模板或其他类型文件</p>
<p>与模板相关的其他函数</p>
<p>&lt;? php _e(‘Message’); ?&gt; 输出相应信息   <br />&lt;? php wp_register(); ?&gt; 显示注册链接    <br />&lt;? php wp_loginout(); ?&gt; 显示登录/注销链接    <br />&lt; !– next page –&gt; 将当前内容分页    <br />&lt; !– more –&gt; 将当前内容截断，以不在主页/目录页显示全部内容    <br />&lt;? php timer_stop(1); ?&gt; 网页加载时间(秒)    <br />&lt;? php echo get_num_queries(); ?&gt; 网页加载查询量</p>

<!-- Quick Adsense WordPress Plugin: http://techmilieu.com/quick-adsense -->
<div style="float:none;margin:10px 0 10px 0;text-align:center;">
<script type="text/javascript"><!--
google_ad_client = "pub-1645380280150492";
/* 468x60, 创建于 10-3-11 */
google_ad_slot = "3313824611";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.zhblog.net/archives/767.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript程序编码规范</title>
		<link>http://www.zhblog.net/archives/766.html</link>
		<comments>http://www.zhblog.net/archives/766.html#comments</comments>
		<pubDate>Thu, 26 Aug 2010 03:32:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程其他]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[编码规范]]></category>

		<guid isPermaLink="false">http://www.zhblog.net/archives/766.html</guid>
		<description><![CDATA[原文：http://javascript.crockford.com/code.html 作者：Douglas Crockford 这是一套适用于JavaScript程序的编码规范。它基于Sun的Java程序编码规范。但进行了大幅度的修改, 因为JavaScript不是Java。 软件的长期价值直接源于其编码质量。在它的整个生命周期里,一个程序可能会被许多人阅读或修改。如果一个程序可以清晰的展现出它的结构和特征,那就能减少在以后对其进行修改时出错的可能性。 编程规范可以帮助程序员们增加程序的健壮性。 所有的JavaScript代码都是暴露给公众的。所以我们更应该保证其质量。 保持整洁很重要。 JavaScript文件 JavaScript程序应独立保存在后缀名为.js的文件中。 JavaScript代码不应该被包含在HTML文件中,除非这是段特定只属于此部分的代码。在HTML中的JavaScript代码会明显增加文件大小,而且也不能对其进行缓存和压缩。 &#60;script src=filename.js&#62;应尽量放到body的后面。这样可以减少因为载入script而造成其他页面内容载入也被延迟的问题。也没有必要使用language或者type属性。MIME类型是由服务器而非scripttag来决定的。 缩进 缩进的单位为四个空格。避免使用Tab键来缩进(即使现在已经是21世纪了),也始终没有个统一的Tab长短标准。虽然使用空格会增加文件的大小,但在局域网中几乎可以忽略,且在最小化过程中也可被消除掉。 每行长度 避免每行超过80个字符。当一条语句一行写不下时,请考虑折行。在运算符号,最好是逗号后换行。在运算符后换行可以减少因为复制粘贴产生的错误被分号掩盖的几率。下一行应该缩进8个空格。 注释 不要吝啬注释。给以后需要理解你的代码的人们(或许就是你自己)留下信息是非常有用的。注释应该和它们所注释的代码一样是书写良好且清晰明了。偶尔的小幽默就更不错了。记得要避免冗长或者情绪化。 及时地更新注释也很重要。错误的注释会让程序更加难以阅读和理解。 让注释有意义。重点在解释那些不容易立即明白的逻辑上。不要把读者的时间浪费在阅读类似于: i = 0; //让i等于0 使用单行注释。块注释用于注释正式文档和无用代码。 变量声明 所有的变量必须在使用前进行声明。JavaScript并不强制必须这么做,但是这么做可以让程序易于阅读,且也容易发现那些没声明的变量(它们会被编译成全局变量)。 将var语句放在函数的首部。 最好把每个变量的声明语句单独放到一行,并加上注释说明。所有变量按照字母排序。 var currentEntry; // 当前选择项 var level; // 缩进程度 var size; // 表格大小 JavaScript没有块范围,所以在块里面定义变量很容易引起C/C++/Java程序员们的误解。在函数的首部定义所有的变量。 尽量减少全局变量的使用。不要让局部变量覆盖全局变量。 函数声明 所有的函数在使用前进行声明。 内函数的声明跟在var语句的后面。这样可以帮助判断哪些变量是在函数范围内的。 函数名与((左括号)之间不应该有空格。)(右括号)与 开始程序体的{(左大括号)之间应插入一个空格。函数程序体应缩进四个空格。}(右大括号)与声明函数的那一行代码头部对齐。 function outer(c, d) { var [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds3--><ul>
<li>原文：<a href="http://javascript.crockford.com/code.html">http://javascript.crockford.com/code.html</a></li>
<li>作者：Douglas Crockford</li>
</ul>
<p>这是一套适用于<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>程序的编码规范。它基于<a href="http://www.sun.com/">Sun</a>的<a href="http://java.sun.com/docs/codeconv/">Java程序编码规范</a>。但进行了大幅度的修改, 因为<a href="http://javascript.crockford.com/javascript.html">JavaScript不是Java</a>。</p>
<p>软件的长期价值直接源于其编码质量。在它的整个生命周期里,一个程序可能会被许多人阅读或修改。如果一个程序可以清晰的展现出它的结构和特征,那就能减少在以后对其进行修改时出错的可能性。</p>
<p>编程规范可以帮助程序员们增加程序的健壮性。</p>
<p>所有的<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>代码都是暴露给公众的。所以我们更应该保证其质量。</p>
<p>保持整洁很重要。</p>
<h5><a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>文件</h5>
<p><a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>程序应独立保存在后缀名为.js的文件中。</p>
<p><a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>代码不应该被包含在<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a>文件中,除非这是段特定只属于此部分的代码。在<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a>中的<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>代码会明显增加文件大小,而且也不能对其进行缓存和压缩。</p>
<p><code>&lt;script src=</code><var>filename</var><code>.js&gt;</code>应尽量放到body的后面。这样可以减少因为载入script而造成其他页面内容载入也被延迟的问题。也没有必要使用language或者type属性。MIME类型是由服务器而非scripttag来决定的。</p>
<p> <span id="more-766"></span>
</p>
<h5>缩进</h5>
<p>缩进的单位为四个空格。避免使用Tab键来缩进(即使现在已经是21世纪了),也始终没有个统一的Tab长短标准。虽然使用空格会增加文件的大小,但在局域网中几乎可以忽略,且在最小化过程中也可被消除掉。</p>
<h5>每行长度</h5>
<p>避免每行超过80个字符。当一条语句一行写不下时,请考虑折行。在运算符号,最好是逗号后换行。在运算符后换行可以减少因为复制粘贴产生的错误被分号掩盖的几率。下一行应该缩进8个空格。</p>
<h5>注释</h5>
<p>不要吝啬注释。给以后需要理解你的代码的人们(或许就是你自己)留下信息是非常有用的。注释应该和它们所注释的代码一样是书写良好且清晰明了。偶尔的小幽默就更不错了。记得要避免冗长或者情绪化。</p>
<p>及时地更新注释也很重要。错误的注释会让程序更加难以阅读和理解。</p>
<p>让注释有意义。重点在解释那些不容易立即明白的逻辑上。不要把读者的时间浪费在阅读类似于:</p>
<pre><code> i = 0; //让i等于0</code></pre>
<p>使用单行注释。块注释用于注释正式文档和无用代码。</p>
<h5>变量声明</h5>
<p>所有的变量必须在使用前进行声明。<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>并不强制必须这么做,但是这么做可以让程序易于阅读,且也容易发现那些没声明的变量(它们会被编译成<a href="http://yuiblog.com/blog/2006/06/01/global-domination/">全局变量</a>)。</p>
<p>将var语句放在函数的首部。</p>
<p>最好把每个变量的声明语句单独放到一行,并加上注释说明。所有变量按照字母排序。</p>
<pre><code>var currentEntry; // 当前选择项
var level;        // 缩进程度
var size;         // 表格大小</code></pre>
<p><a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>没有块范围,所以在块里面定义变量很容易引起C/C++/<a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a>程序员们的误解。在函数的首部定义所有的变量。</p>
<p>尽量减少全局变量的使用。不要让局部变量覆盖全局变量。</p>
<h5>函数声明</h5>
<p>所有的函数在使用前进行声明。 内函数的声明跟在var语句的后面。这样可以帮助判断哪些变量是在函数范围内的。</p>
<p>函数名与((左括号)之间不应该有空格。)(右括号)与 开始程序体的{(左大括号)之间应插入一个空格。函数程序体应缩进四个空格。}(右大括号)与声明函数的那一行代码头部对齐。</p>
<pre><code>    function outer(c, d) {
        var e = c * d;

        function inner(a, b) {
            return (e * a) + b;
        }

        return inner(0, 1);
    }</code></pre>
<p>下面这种书写方式可以在<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>中正常使用,因为在<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>中,函数和对象的声明可以放到任何表达式允许的地方。且它让内联函数和混合结构具有最好的可读性。</p>
<pre>    function getElementsByClassName(className) {
        var results = [];
        walkTheDOM(document.body, function (node) {
            var a;                  // 类名数组
            var c = node.className; // 节点的类名
            var i;                  // 循环计数器

// If the node has a class name, then split it into a list of simple names.
// If any of them match the requested name, then append the node to the set of results.

            if (c) {
                a = c.split(' ');
                for (i = 0; i &lt; a.length; i += 1) {
                    if (a[i] === className) {
                        results.push(node);
                        break;
                    }
                }
            }
        });
        return results;
    }</pre>
<p>如果函数是匿名函数,则在function和((左括号)之间应有一个空格。如果省略了空格,否则会让人感觉函数名叫作 function。</p>
<pre>    div.onclick = function (e) {
        return false;
    };

    that = {
        method: function () {
            return this.datum;
        },
        datum: 0
    };</pre>
<p>尽量不使用全局函数。</p>
<p>When a function is to be invoked immediately, the entire invocation expression should be wrapped in parens so that it is clear that the value being produced is the result of the function and not the function itself.</p>
<pre><code>var collection = (function () {
    var keys = [], values = [];

    return {
        get: function (key) {
            var at = keys.indexOf(key);
            if (at &gt;= 0) {
                return value[at];
            }
        },
        set: function (key, value) {
            var at = keys.indexOf(key);
            if (at &lt; 0) {
                at = keys.length;
            }
            keys[at] = key;
            value[at] = value;
        },
        remove: function (key) {
            var at = keys.indexOf(key);
            if (at &gt;= 0) {
                keys.splice(at, 1);
                value.splice(at, 1);
            }
        }
    };
}());</code></pre>
<h5>命名</h5>
<p>变量名应由26个大小写字母(A..Z,a..z),10个数字(0..9),和_(下划线)组成。避免使用国际化字符(如中文),因为它们不是在任何地方都可以被方便的阅读和理解。不要在命名中使用$(美元符号)或者(反斜杠)。</p>
<p>不要把_(下划线)作为变量名的第一个字符。它有时用来表示私有变量,但实际上<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>并没提供私有变量的功能。如果私有变量很重要, 那么使用<a href="http://javascript.crockford.com/private.html">私有成员</a>的形式。应避免使用这种容易让人误解的命名习惯。</p>
<p>大多数的变量名和方法命应以小写字母开头。</p>
<p>必须与<a href="http://yuiblog.com/blog/2006/11/13/javascript-we-hardly-new-ya/">new</a>共同使用的构造函数名应以大写字母开头。当new被省略时<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>不会有任何编译错误或运行错误抛出。忘记加new时会让不好的事情发生(比如被当成一般的函数),所以大写构造函数名是我们来尽量避免这种情况发生的唯一办法。</p>
<p>全局变量应该全部大写。(<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>没有宏或者常量,所以不会因此造成误会)</p>
<h5>语句</h5>
<h6>简单语句</h6>
<p>每一行最多只包含一条语句。把;(分号)放到每条简单语句的结尾处。注意一个函数赋值或对象赋值语句也是赋值语句,应该以分号结尾。</p>
<p><a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>可以把任何表达式当作一条语句。这很容易隐藏一些错误,特别是误加分号的错误。只有在赋值和调用时,表达式才应被当作一条单独的语句。</p>
<h6>复合语句</h6>
<p>复合语句是被包含在{ }(大括号)的语句序列。</p>
<ul>
<li>被括起的语句必须多缩进四个空格。</li>
<li>{(左大括号)应在复合语句其实行的结尾处。</li>
<li>}(右大括号)应与{(左大括号)的那一行的开头对齐</li>
<li>大括号应该在所有复合语句中使用,即使只有一条语句,当它们是控制结构的一部分时, 比如一个if或者for语句。这样做可以避免以后添加语句时造成的错误。</li>
</ul>
<h6>标示</h6>
<p>语句标示是可选的,只有以下语句必须被标示:while, do,for,switch。</p>
<h6>return 语句</h6>
<p>一条有返回值的return语句不要使用( )(括号)来括住返回值。如果返回表达式,则表达式应与return 关键字在同一行,以避免误加分号错误。</p>
<h6>if 语句</h6>
<p>if语句应如以下格式:</p>
<pre><code>
    if (condition){
        statements;
    }

    if (condition) {
        statements;
    } else {
        statements;
    }

    if (condition) {
        statements;
    } else if (condition) {
        statements;
    } else {
        statements;
    }
</code></pre>
<h6>for 语句</h6>
<p>for语句应如以下格式:</p>
<pre><code>
    for (initialization;condition; update) {
        statements;
    }

    for (variable in object)if (filter) {
        statements;
    }
</code></pre>
<p>第一种形式的循环用于已经知道相关参数的数组循环。</p>
<p>第二种形式应用于对象中。object原型中的成员将会被包含在迭代器中。通过预先定义hasOwnProperty方法来区分真正的object成员是个不错方法:</p>
<pre><code>
    for (variablein object) if (object.hasOwnProperty(variable)){
        statements;
    }</code></pre>
<h6>while 语句</h6>
<p>while语句应如以下格式:</p>
<pre><code>
    while (condition){
        statements;
    }
</code></pre>
<h6>do 语句</h6>
<p>do语句应如以下格式:</p>
<pre><code>
    do {
        statements;
    } while (condition);
</code></pre>
<p>不像别的复合语句,do语句总是以;(分号)结尾。</p>
<h6>switch 语句</h6>
<p>switch语句应如以下格式:</p>
<pre><code>
    switch (expression){
    case expression:
        statements;
    default:
        statements;
    }
</code></pre>
<p>每个 case与switch对齐。这可避免过分缩进。</p>
<p>每一组statements(除了default应以 break,return,或者throw结尾。不要让它顺次往下执行。</p>
<h6>try 语句</h6>
<p>try语句应如以下格式:</p>
<pre><code>
    try {
        statements;
    } catch (variable){
        statements;
    }

    try {
        statements;
    } catch (variable){
        statements;
   } finally {
        statements;
    }
</code></pre>
<h6>continue 语句</h6>
<p>避免使用continue语句。它很容易使得程序的逻辑过程晦涩难懂。</p>
<h6>with 语句</h6>
<p><a href="http://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/">不要使用</a>with语句。</p>
<h6>空白</p>
<p>用空行来将逻辑相关的代码块分割开可以提高程序的可读性。</p>
<p>空格应在以下情况时使用:</p>
<ul>
<li>• 跟在((左括号)后面的关键字应被一个空格隔开。
<pre><code> while (true) {</code></pre>
</li>
<li>• 函数参数与((左括号)之间不应该有空格。这能帮助区分关键字和函数调用。</li>
<li>• 所有的二元操作符,除了.(点) 和((左括号)和 [(左方括号)应用空格将其与操作数隔开。</li>
<li>• 一元操作符与其操作数之间不应有空格,除非操作符是个单词,比如typeof。</li>
<li>• 每个在控制部分,比如for 语句中的; (分号)后须跟一个空格。</li>
<li>• 每个,(逗号)后应跟一个空格。</li>
</ul>
</h6>
<h5>另外的建议</h5>
<h6>{} 和[]</h6>
<p>使用{}代替new Object()。使用[]代替new Array()。</p>
<p>当成员名是一组有序的数字时使用数组来保存数据。当成员名是无规律的字符串或其他时使用对象来保存数据。</p>
<h6>,(逗号)操作符</h6>
<p>避免使用逗号操作符,除非在特定的for 语句的控制部分。(这不包括那些被用在对象定义,数组定义,var语句,和参数列表中的逗号分隔符。)</p>
<h6>作用域</h6>
<p>在<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>中块没有域。只有函数有域。不要使用块,除非在复合语句中。</p>
<h6>赋值表达式</h6>
<p>避免在if和while语句的条件部分进行赋值。</p>
<pre><code>if (a = b) {</code></pre>
<p>是一条正确语句?或者</p>
<pre><code>if (a == b) {</code></pre>
<p>才是对的?避免这种不容易判断对错的结构。</p>
<h6>===和!==操作符。</h6>
<p>使用===和!==操作符会相对好点。==和!=操作符会进行类型强制转换。 特别是, 不要将==用于与错值比较( false,null,undefined,“”,0,NaN)。</p>
<h6>令人迷惑的加号和减号</h6>
<p>小心在+后紧跟+或++。这种形式很容易仍人迷惑。应插入括号以便于理解。</p>
<pre><code>total = subtotal + +myInput.value;</code></pre>
<p>最好能写成</p>
<pre><code>total = subtotal + (+myInput.value);</code></pre>
<p>这样+ +不会被误认为是++。</p>
<h6>eval 是恶魔</h6>
<p>eval是<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>中最容易被滥用的方法。避免使用它。</p>
<p>eval有别名。不要使用Function构造器。不要给setTimeout或者setInterval传递字符串参数。</p>
<blockquote>
<p>总有一些特别的原因导致一些非常好的文章的原文地址暂时或永久不能访问，这里就当是一个快照吧，一切权力和状态都以原文为准，这里仅仅作为不时之需。</p>
</blockquote>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.zhblog.net/archives/766.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript初学者的10个小技巧</title>
		<link>http://www.zhblog.net/archives/765.html</link>
		<comments>http://www.zhblog.net/archives/765.html#comments</comments>
		<pubDate>Wed, 25 Aug 2010 09:31:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程其他]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.zhblog.net/archives/765.html</guid>
		<description><![CDATA[JavaScript不仅是最具活力的脚本语言，还是是最有用的编程语言之一。因为绝大多数的浏览器都和它兼容，你可以在这些浏览器中使用它。JavaScript被接受的相当快，因为它是如此的简单，而且使用范围相当广泛。许多程序员过去常常认为JavaScript是一门“玩具语言”，但是，AJAX进入市场后表现出了完全相反的一面，它让JavaScript展现出了完全不同的能力和功能。 由于这个发明的出现，程序员现在已经可以创建带有桌面应用程序效果的Web应用程序了，这是很有益处的，因为数据可以更快地改变。这是一些迷你技巧，它们可以帮助初学者更好地使用JavaScript。JavaScript的使用范围相当广泛，而且还有这么多的风格，所以它可以有很多的技巧。另外，虽然它很多的编程方法，但是我只挑选了10个技巧，我认为这些技巧对初学者理解JavaScript来说是很好的的起点。 1，在一个数组的最后添加一个元素 这个技巧可以让你使用Length属性在一个数组的最后添加一个元素，因为Length属性比数组的最后一个元素的下标多1。这个方法和“push”方法是相同的。例如： &#160; var myArray = [];&#160; myArray[myArray.length] = 'New Element';&#160; &#160; 2，调整一个数组的长度 Length属性不是只读的，所以你可以设置Length属性的值。而且，你可以使用它增大或缩小数组的长度。例如： &#160; var myArray = [1,2,3];&#160; myArray.length // 3&#160; myArray.length = 2; //Delete the last element&#160; myArray.length = 20 // add 18 elements to the array; the elements have the undefined value. &#160; 3，使用“!!”把任意数据类型转换成Boolean 这个技术可以让你使用“!!”把任意数据类型（比如string, number或integer）转换成Boolean。例如： var myString = '23255';&#160; [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds3--><p><a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>不仅是最具活力的脚本语言，还是是最有用的编程语言之一。因为绝大多数的浏览器都和它兼容，你可以在这些浏览器中使用它。<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>被接受的相当快，因为它是如此的简单，而且使用范围相当广泛。许多程序员过去常常认为<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>是一门“玩具语言”，但是，AJAX进入市场后表现出了完全相反的一面，它让<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>展现出了完全不同的能力和功能。</p>
<p>由于这个发明的出现，程序员现在已经可以创建带有桌面应用程序效果的Web应用程序了，这是很有益处的，因为数据可以更快地改变。这是一些迷你技巧，它们可以帮助初学者更好地使用<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>。<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>的使用范围相当广泛，而且还有这么多的风格，所以它可以有很多的技巧。另外，虽然它很多的编程方法，但是我只挑选了10个技巧，我认为这些技巧对初学者理解<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>来说是很好的的起点。</p>
<p><strong>1，在一个数组的最后添加一个元素</strong></p>
<p>这个技巧可以让你使用Length属性在一个数组的最后添加一个元素，因为Length属性比数组的最后一个元素的下标多1。这个方法和“push”方法是相同的。例如：</p>
<pre>
<ol>
<li>&#160;
<li>var myArray = [];&#160;
<li>myArray[myArray.length] = 'New Element';&#160;
<li>&#160;</li>
</ol>
</pre>
<p><strong>2，调整一个数组的长度</strong></p>
<p>Length属性不是只读的，所以你可以设置Length属性的值。而且，你可以使用它增大或缩小数组的长度。例如：</p>
<pre>
<ol>
<li>&#160;
<li>var myArray = [1,2,3];&#160;
<li>myArray.length // 3&#160;
<li>myArray.length = 2; //Delete the last element&#160;
<li>myArray.length = 20 // add 18 elements to the array; the elements have the undefined value. 

</li>
</ol>
</pre>
<p><span id="more-765"></span></p>
<pre>

&#160;
</pre>
<p><strong>3，使用“!!”把任意数据类型转换成Boolean</strong></p>
<p>这个技术可以让你使用“!!”把任意数据类型（比如string, number或integer）转换成Boolean。例如：</p>
<pre>
<ol>
<li>var myString = '23255';&#160;
<li>typeof myString; //String&#160;
<li>&#160;&#160;
<li>myString = !!myString;&#160;
<li>typeof myString&#160; //Boolean </li>
</ol>
</pre>
<p><strong>4，把Number转换成String</strong></p>
<p>这个技巧可以让你在number的结尾添加一个空的string来把number转换成string,例如：</p>
<pre>
<ol>
<li>var mynumber = 234;&#160;
<li>typeof mynumber; //Number&#160;
<li>&#160;&#160;
<li>mynumber += '';&#160;
<li>typeof mynumber; //String </li>
</ol>
</pre>
<p><strong>5，了解一个函数需要多少个变量</strong></p>
<p>这是一个伟大的技巧，可以让你准确地知道一个函数需要多少个变量。例如：</p>
<pre>
<ol>
<li>function add_nums(num1, num2){&#160;
<li>&#160;&#160;&#160; return num1 + num2;&#160;
<li>}&#160;
<li>add_nums.length // 2 is the amount of parameters expected by the function add_nums </li>
</ol>
</pre>
<p><strong>6，使用“arguments”对象来了解一个函数接收到了多少个参数</strong></p>
<p>这个技术可以让你使用“arguments”对象来了解一个函数接收到了多少个参数。例如：</p>
<pre>
<ol>
<li>function add_nums(){&#160;
<li>&#160;&#160;&#160; return arguments.length;&#160;
<li>}&#160;
<li>&#160;&#160;
<li>add_nums(23,11,32,56,89,89,89,44,6); //this return the number 9 </li>
</ol>
</pre>
<p>当你需要检查参数个数的有效性的时候，或者当你需要创建一个不确定参数个数的函数的时候，这个技巧是很有用的。</p>
<pre>
<ol>
<li>function sum_three_nums( ){&#160;
<li> if(arguments.length!=3) throw new Error('received ' + arguments.length + ' parameters and should work with 3');&#160;
<li>&#160;&#160;
<li>}&#160;
<li>&#160;&#160;
<li>sum_three_nums(23,43); //Return the error message&#160;
<li>&#160;&#160;
<li>function sum_num(){&#160;
<li>&#160;&#160;&#160; var total = 0;&#160;
<li>&#160;&#160;&#160; for(var i=0;i&lt;arguments .length;i++){&#160;
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160; total+=arguments[i];&#160;
<li>&#160;&#160;&#160; }&#160;
<li>&#160;&#160;&#160; return total;&#160;
<li>}&#160;
<li>&#160;&#160;
<li>sum_num(2,34,45,56,56); </li>
</ol>
</pre>
<p><strong>7，把对象当成参数，来组织和改善函数</strong></p>
<p>在现代Web开发中，对象最普遍的一个用途是把它们当成函数的参数。要记住函数参数的这个规则总是很困难的；但是，使用一个对象是十分有好处的，因为我们不必再担心参数的规则了。而且，它更有组织性，可以让用户更好的理解我们要做什么。这个方法可以让你把对象当成参数，来组织和改善函数。例如：</p>
<pre>
<ol>
<li>function insertData(name,lastName,phone,address){&#160;
<li>&#160;&#160;&#160; code here;&#160;
<li>} </li>
</ol>
</pre>
<p>重构以后的代码是这样的：</p>
<pre>
<ol>
<li>function insertData(parameters){&#160;
<li>&#160;&#160;&#160; var name = parameters.name;&#160;
<li>&#160;&#160;&#160; var lastName = parameters.lastName;&#160;
<li>&#160;&#160;&#160; var phone = parameters.phone;&#160;
<li>&#160;&#160;&#160; var address = parameters.address;&#160;
<li>} </li>
</ol>
</pre>
<p>当你要使用默认值的时候，它也是十分有用的。例如：</p>
<pre>
<ol>
<li>function insertData(parameters){&#160;
<li>&#160;&#160;&#160; var name = parameters.name;&#160;
<li>&#160;&#160;&#160; var lastName = parameters.lastName;&#160;
<li>&#160;&#160;&#160; var phone = parameters.phone;&#160;
<li>&#160;&#160;&#160; var address = parameters.address;&#160;
<li>&#160;&#160;&#160; var status = parameters.status || 'single' //If status is not defined as a property //in the object the variable status take single as value&#160;
<li>} </li>
</ol>
</pre>
<p>现在，要使用这个函数十分的简单；我们可以用两种方式来发送数据：</p>
<pre>
<ol>
<li>//Example 1&#160;
<li>insertData({name:’Mike’, lastName:’Rogers’, phone:’555-555-5555’,address:’the address’, status:’married’});&#160;
<li>&#160;&#160;
<li>&#160;&#160;
<li>//Example 2&#160;
<li>var myData = {&#160;&#160;&#160;&#160;&#160;&#160; name:’Mike’,&#160;&#160;
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lastName:’Rogers’,&#160;&#160;
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; phone:’555-555-5555’,&#160;
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; address:’the address’,&#160;&#160;
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; status:’married’&#160;
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; };&#160;
<li>&#160;&#160;
<li>insertData(myData); </li>
</ol>
</pre>
<p><strong>8，函数就是数据</strong></p>
<p>函数就是像strings或numbers那样的数据，我们可以把它们当成函数参数来传递它们，这可以创建十分令人惊讶而又“威风凛凛”的Web应用程序。这个方法是非常有用的，几乎所有的主流框架都使用了这个方法。例如：</p>
<pre>
<ol>
<li>function byId(element, event, f){&#160;
<li>&#160;&#160;&#160; Document.getElementById(element).['on'+event] = f; //f is the function that we pass as parameter&#160;
<li>}&#160;
<li>&#160;&#160;
<li>byId('myBtn','click',function(){alert('Hello World')});&#160;
<li>&#160;&#160;
<li>Another example of functions as data:&#160;
<li>&#160;&#160;
<li>//Example 1&#160;
<li>function msg(m){&#160;
<li>&#160;&#160;&#160; Alert(m);&#160;
<li>}&#160;
<li>&#160;&#160;
<li>//Example 2&#160;
<li>var msg = function(m){ alert(m);}&#160; </li>
</ol>
</pre>
<p>这些函数几乎是完全相同的。唯一的区别是使用它们的方式。例如：第一个函数，在你声明它以前，你就可以使用它了；但是第二个函数只有声明以后才能使用：</p>
<pre>
<ol>
<li>//Example 1&#160;
<li>msg('Hello world'); //This will work&#160;
<li>&#160;&#160;
<li>function msg(m){&#160;
<li>&#160;&#160;&#160; alert(m);&#160;
<li>}&#160;
<li>&#160;&#160;
<li>//Example 2&#160;
<li>msg('Hello world'); //Does not work because <a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a> cannot find the function msg because is used before is been declared.&#160;
<li>&#160;&#160;
<li>var msg = function(m){ alert(m)} </li>
</ol>
</pre>
<p><strong>9，扩展本地对象</strong></p>
<p>虽然一些<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>的领袖不推荐这个技术，但是它已经被一些框架使用了。它可以让你针对<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a> API来创建一些辅助性的方法。</p>
<pre>
<ol>
<li>//We create the method prototype for our arrays&#160;
<li>//It only sums numeric elements&#160;
<li>&#160;&#160;
<li>Array.prototype.sum = function(){&#160;
<li>&#160;&#160;&#160; var len = this.length;&#160;
<li>&#160;&#160;&#160; total = 0;&#160;
<li>&#160;&#160;&#160; for(var i=0;i&lt;len ;i++){&#160;
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(typeof this[i]!= 'number') continue;&#160;
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; total += this[i];&#160;
<li>&#160;&#160;&#160; }&#160;
<li>&#160;&#160;&#160; return total;&#160;
<li>}&#160;
<li>&#160;&#160;
<li>var myArray = [1,2,3,'hola'];&#160;
<li>myArray.sum();&#160;
<li>&#160;&#160;
<li>&#160;&#160;
<li>&#160;&#160;
<li>&#160;&#160;
<li>Array.prototype.max = function(){&#160;
<li>&#160;&#160;&#160; return Math.max.apply('',this);&#160;
<li>}&#160;
<li>&#160; </li>
</ol>
</pre>
<p><strong>10，Boolean</strong></p>
<p>注意它们之间的区别，因为这会节省你调试脚本的时间。</p>
<pre>
<ol>
<li>'' == '0'&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // false&#160;
<li>0 == ''&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // true&#160;
<li>0 == '0'&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // true&#160;
<li>false == 'false'&#160;&#160; // false&#160;
<li>false == '0'&#160;&#160;&#160;&#160;&#160;&#160; // true&#160;
<li>false == undefined // false&#160;
<li>false == null&#160;&#160;&#160;&#160;&#160; // false&#160;
<li>null == undefined&#160; // true&#160;
<li>true == 1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // true&#160;
<li>'' == null&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // false&#160;
<li>false == ''&#160;&#160;&#160;&#160;&#160;&#160;&#160; // true </li>
</ol>
</pre>
<p>如果你在其他地方看过这些脚本，那么这些技巧可以帮助你融会贯通。这些技巧甚至还不及<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>所有功能的冰山一角，但是这是一个开始！请不要客气，留下你的评论，问题，额外的技巧或疑虑吧，但是请记住，这是一篇针对初学者的文章！！我希望能收到一些开发者同行的来信！Enjoy!</p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.zhblog.net/archives/765.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>开发人员必知的20+HTML5技巧</title>
		<link>http://www.zhblog.net/archives/764.html</link>
		<comments>http://www.zhblog.net/archives/764.html#comments</comments>
		<pubDate>Wed, 25 Aug 2010 09:23:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程其他]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[开发人员]]></category>

		<guid isPermaLink="false">http://www.zhblog.net/archives/764.html</guid>
		<description><![CDATA[互联网科技发展的速度真可谓惊人的快，一个稍不留神，你就可能无法跟上它的步伐。HTML5的变化和更新也压倒不少人，这篇文章将向大家介绍一些最基本也非常必要的HTML技巧。 1. 新的文档类型（Doctype） &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; 你还在使用上面这个既麻烦又难记的XHTML文档类型吗？ 如果还是这样的话，现在该切换到新的HTML5文档类型了。 &#60;!DOCTYPE html&#62; 只要这么简单的15个字符就可以了。（注意：你的doctype的申明需要出现在你html文件的第一行。） 2. 图形（Figure）元素 考虑用下面的代码来标记图片？ &#60;mg src=&#34;path/to/image&#34; alt=&#34;About image&#34; /&#62; &#60;p&#62;Image of Mars. &#60;/p&#62; 很不幸，它不能用简单、富有语义关联的方式与图形的标题关联，因为它仅仅是用段落标记以及图片元素包裹着，而HTML5通过引进&#60;figure&#62;元素，改进了这一点。当结合 &#60;figcaption&#62; 元素使用时，我们就可以将图形标题与图形配对起来。代码如下： &#60;figure&#62; &#60;img src=&#34;path/to/image&#34; alt=&#34;About image&#34; /&#62; &#60;figcaption&#62; &#60;p&#62;This is an image of something interesting. &#60;/p&#62; &#60;/figcaption&#62; &#60;/figure&#62; 3. 重新定义&#60;small&#62; 原来你可以利用&#60;small&#62;元素来创建与logo密切相关的副标题。不过，现在HTML5修改了这个用法，&#60;small&#62;元素被重新定义了，或者更恰当地说，它现在用来代表小字或其他边注（如，网站底部的版权声明）。 4. 不再需要脚本、链接类型 很可能你仍然像下面的代码一样给你的链接和脚本标签添加类型的属性。 &#60;link [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds3--><p>互联网科技发展的速度真可谓惊人的快，一个稍不留神，你就可能无法跟上它的步伐。HTML5的变化和更新也压倒不少人，这篇文章将向大家介绍一些最基本也非常必要的<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a>技巧。</p>
<p><strong>1. 新的文档类型（Doctype）</strong></p>
<p>&lt;!DOCTYPE <a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a> PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;</p>
<p>&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</p>
<p>你还在使用上面这个既麻烦又难记的XHTML文档类型吗？ 如果还是这样的话，现在该切换到新的HTML5文档类型了。</p>
<p>&lt;!DOCTYPE <a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>&gt;</p>
<p>只要这么简单的15个字符就可以了。（注意：你的doctype的申明需要出现在你<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>文件的第一行。）</p>
<p><strong>2. 图形（Figure）元素</strong></p>
<p>考虑用下面的代码来标记图片？</p>
<p>&lt;mg src=&quot;path/to/image&quot; alt=&quot;About image&quot; /&gt;</p>
<p>&lt;p&gt;Image of Mars. &lt;/p&gt;</p>
<p>很不幸，它不能用简单、富有语义关联的方式与图形的标题关联，因为它仅仅是用段落标记以及图片元素包裹着，而HTML5通过引进&lt;figure&gt;元素，改进了这一点。当结合 &lt;figcaption&gt; 元素使用时，我们就可以将图形标题与图形配对起来。代码如下：</p>
<p>&lt;figure&gt;</p>
<p>&lt;img src=&quot;path/to/image&quot; alt=&quot;About image&quot; /&gt;</p>
<p>&lt;figcaption&gt;</p>
<p>&lt;p&gt;This is an image of something interesting. &lt;/p&gt;</p>
<p>&lt;/figcaption&gt;</p>
<p>&lt;/figure&gt;</p>
<p> <span id="more-764"></span>
</p>
<p><strong>3. 重新定义&lt;small&gt;</strong></p>
<p>原来你可以利用&lt;small&gt;元素来创建与logo密切相关的副标题。不过，现在HTML5修改了这个用法，&lt;small&gt;元素被重新定义了，或者更恰当地说，它现在用来代表小字或其他边注（如，网站底部的版权声明）。</p>
<p><strong>4. 不再需要脚本、链接类型</strong></p>
<p>很可能你仍然像下面的代码一样给你的链接和脚本标签添加类型的属性。</p>
<p>&lt;link rel=&quot;stylesheet&quot; href=&quot;path/to/stylesheet.<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">css</a>&quot; type=&quot;text/<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">css</a>&quot; /&gt;</p>
<p>&lt;script type=&quot;text/<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>&quot; src=&quot;path/to/script.js&quot;&gt;&lt;/script&gt;</p>
<p>在HTML5中，这已经不再需要了。 意味着说这两个标签分别代表着样式和脚本。因此，我们可以将它们的类型属性都删除掉。代码如下：</p>
<p>&lt;link rel=&quot;stylesheet&quot; href=&quot;path/to/stylesheet.<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">css</a>&quot; /&gt;</p>
<p>&lt;script src=&quot;path/to/script.js&quot;&gt;&lt;/script&gt;</p>
<p><strong>5. 使用还是不使用引号</strong></p>
<p>记住，HTML5与XHTML不同，如果你不喜欢的话你不必用引号将属性包裹起来。不过，要是你觉得用引号会让你觉得更加舒服的话，当然也不会有任何问题。</p>
<p>&lt;p class=myClass id=someId&gt; Start the reactor.</p>
<p>在这点上，你可以自己决定。如果你想要一个结构非常清楚的文档的话，坚持使用引号也挺好的。</p>
<p><strong>6. 使你的内容可编辑</strong></p>
<p><img title="开发人员必知的20+HTML5技巧1" alt="开发人员必知的20+HTML5技巧1" src="http://webdev.csdn.net/wp-content/uploads/2010/08/开发人员必知的20+HTML5技巧1.bmp" /></p>
<p>HTML5其中一个非常强大的功能就是&quot;contenteditable&quot;，顾名思义它将允许用户编辑元素（包括他的子元素）内包含的任何文本内容。它的用途非常广，如，简单的任务清单或是基于wiki的站点也非常实用，此外，它还有一个优势就是利用了本地的存储。</p>
<p>&lt;!DOCTYPE <a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>&gt;</p>
<p>&lt;<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a> lang=&quot;en&quot;&gt;</p>
<p>&lt;head&gt;</p>
<p>&lt;meta charset=&quot;utf-8&quot;&gt;</p>
<p>&lt;title&gt;untitled&lt;/title&gt;</p>
<p>&lt;/head&gt;</p>
<p>&lt;body&gt;</p>
<p>&lt;h2&gt; To-Do List &lt;/h2&gt;</p>
<p>&lt;ul contenteditable=&quot;true&quot;&gt;</p>
<p>&lt;li&gt; Break mechanical cab driver. &lt;/li&gt;</p>
<p>&lt;li&gt; Drive to abandoned factory</p>
<p>&lt;li&gt; Watch video of self &lt;/li&gt;</p>
<p>&lt;/ul&gt;</p>
<p>&lt;/body&gt;</p>
<p>&lt;/<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>&gt;</p>
<p>或者，按照第五条技巧所说的，你也可以将第九行的代码写成这样（不用引号）：</p>
<p>&lt;ul contenteditable=true&gt;</p>
<p><strong>7. 电子邮件输入</strong></p>
<p>如果我们应用&quot;电子邮件&quot;类型来指定输入的形式，我们可以命令浏览器只允许符合有效电子邮件地址结构的字符串输入。虽然说内置的表单验证很快就会到来，但是我们也不能完全依靠这个。比较旧的浏览器不理解这种&quot;电子邮件&quot;类型，它们只会简单地返回到普通的文本框。</p>
<p>&lt;!DOCTYPE <a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>&gt;</p>
<p>&lt;<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a> lang=&quot;en&quot;&gt;</p>
<p>&lt;head&gt;</p>
<p>&lt;meta charset=&quot;utf-8&quot;&gt;</p>
<p>&lt;title&gt;untitled&lt;/title&gt;</p>
<p>&lt;/head&gt;</p>
<p>&lt;body&gt;</p>
<p>&lt;form action=&quot;&quot; method=&quot;get&quot;&gt;</p>
<p>&lt;label for=&quot;email&quot;&gt;Email:&lt;/label&gt;</p>
<p>&lt;input id=&quot;email&quot; name=&quot;email&quot; type=&quot;email&quot; /&gt;</p>
<p>&lt;button type=&quot;submit&quot;&gt; Submit Form &lt;/button&gt;</p>
<p>&lt;/form&gt;</p>
<p>&lt;/body&gt;</p>
<p>&lt;/<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>&gt;</p>
<p>在说到浏览器所支持和不支持的元素以及属性时，你必需知道当前所有浏览器都不是那么可靠。例如，Opera只有在你指定name属性时才支持电子邮件验证。不过，它不支持占位符属性（下面即将要讲到的）。最后，虽然你可以使用这种形式的验证，不过不要过分依赖它。</p>
<p><strong>8. 占位符</strong></p>
<p>此前，我们需要使用<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>来创建文本框的占位符。你可以初步设定值属性来看是否合适，但是只要用户删除了该文本，输入的内容就会再次变成空的。占位符属性有效地弥补了这一点。</p>
<p>&lt;input name=&quot;email&quot; type=&quot;email&quot; placeholder=&quot;doug@givethesepeopleair.com&quot; /&gt;</p>
<p><img title="开发人员必知的20+HTML5技巧2" alt="开发人员必知的20+HTML5技巧2" src="http://webdev.csdn.net/wp-content/uploads/2010/08/开发人员必知的20+HTML5技巧2.bmp" /></p>
<p><strong>9. 本地存储</strong></p>
<p>多亏了HTML5的 local storage ，我们可以让高级浏览器&quot;记住&quot;我们输入的内容，就算后来浏览器关闭或者重新刷新也不受影响。尽管不是所有的浏览器都支持，但是最关键的 Internet Explorer 8， Safari 4， Firefox 3.5.都支持。</p>
<p><strong>10. 语义性的Header和Footer</strong></p>
<p>&lt;div id=&quot;header&quot;&gt;</p>
<p>&#8230;</p>
<p>&lt;/div&gt;</p>
<p>&lt;div id=&quot;footer&quot;&gt;</p>
<p>&#8230;</p>
<p>&lt;/div&gt;</p>
<p>上面的代码一去不复返。Divs从根本上来说并没有任何语义结构，即使应用上了ID还是如此。</p>
<p>而在HTML5中，我们可以使用&lt;header&gt;和&lt;footer&gt;元素，上面的代码就可以替换为：</p>
<p>&lt;header&gt;</p>
<p>&#8230;</p>
<p>&lt;/header&gt;</p>
<p>&lt;footer&gt;</p>
<p>&#8230;</p>
<p>&lt;/footer&gt;</p>
<p>不过注意不要将这两个元素与网站的头部和脚部混淆起来。它们只是代表它们的容器。</p>
<p><strong>11. IE和HTML5</strong></p>
<p>IE理解新的HTML5元素需要费一定的神，为了确保新的HTML5元素能够以块级元素正确显示，有必要将它们用下面的代码定义风格：</p>
<p>header, footer, article, section, nav, menu, hgroup {</p>
<p>display: block;</p>
<p>}</p>
<p>就算如此，IE还是不知道这些元素究竟是什么，因而会无视这些格式，还需要用到下面的代码来解决这个问题：</p>
<p>document.createElement(&quot;article&quot;);</p>
<p>document.createElement(&quot;footer&quot;);</p>
<p>document.createElement(&quot;header&quot;);</p>
<p>document.createElement(&quot;hgroup&quot;);</p>
<p>document.createElement(&quot;nav&quot;);</p>
<p>document.createElement(&quot;menu&quot;);</p>
<p><strong>12. 群组标题（hgroup）</strong></p>
<p>假设一个网站有名称、副标题分别用&lt;h1&gt;、&lt;h2&gt;标签来标记，在HTML4中还没有一种能够将两者之间的关系用很好的语义关系来描述的方法，此外，当使用h2在页面中显示其它标题时，在层级方面问题就更多。而使用群组标题hgroup元素，我们可以将这些标题聚集在一起，而不影响文档的整个纲要。</p>
<p>&lt;header&gt;</p>
<p>&lt;hgroup&gt;</p>
<p>&lt;h1&gt; Recall Fan Page &lt;/h1&gt;</p>
<p>&lt;h2&gt; Only for people who want the memory of a lifetime. &lt;/h2&gt;</p>
<p>&lt;/hgroup&gt;</p>
<p>&lt;/header&gt;</p>
<p><strong>13.必要（Required）属性</strong></p>
<p>表单允许新的必要属性，规定是否某个特定的输入是必要的。你可以依据自己写代码的偏好，用下面两种不同方式来声明这个属性：</p>
<p>&lt;input type=&quot;text&quot; name=&quot;someInput&quot; required&gt;</p>
<p>或者，更严谨：</p>
<p>&lt;input type=&quot;text&quot; name=&quot;someInput&quot; required=&quot;required&quot;&gt;</p>
<p>上面两行代码都行得通。用了这行代码之后，并且浏览器支持required属性的话， 输入空白的表单就不会被提交。下面是一个简单的例子，同时我们也添加了占位符属性：</p>
<p>&lt;form method=&quot;post&quot; action=&quot;&quot;&gt;</p>
<p>&lt;label for=&quot;someInput&quot;&gt; Your Name: &lt;/label&gt;</p>
<p>&lt;input type=&quot;text&quot; id=&quot;someInput&quot; name=&quot;someInput&quot; placeholder=&quot;Douglas Quaid&quot; required&gt;</p>
<p>&lt;button type=&quot;submit&quot;&gt;Go&lt;/button&gt;</p>
<p>&lt;/form&gt;</p>
<p><img title="开发人员必知的20+HTML5技巧3" alt="开发人员必知的20+HTML5技巧3" src="http://webdev.csdn.net/wp-content/uploads/2010/08/开发人员必知的20+HTML5技巧3.bmp" /></p>
<p>如果输入是空的，表单将无法提交，突出显示文本框。</p>
<p><strong>14. 自动对焦（Autofocus）属性</strong></p>
<p>同样地，有了HTML5就不再需要用<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>方案来解决自动对焦的问题。如果某个输入应该被&quot;选择&quot;或被聚焦，我们现在可以使用<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a>的自动对焦autofocus属性。</p>
<p>&lt;input type=&quot;text&quot; name=&quot;someInput&quot; placeholder=&quot;Douglas Quaid&quot; required autofocus&gt;</p>
<p><strong>15. 音频支持</strong></p>
<p>我们再也不需要依靠第三方插件来提供音频了。HTML5提供了音频元素&lt;audio&gt;。目前，只有最新的浏览器支持HTML5音频。 此时，最好还是提供一些向后兼容性。</p>
<p>&lt;audio autoplay=&quot;autoplay&quot; controls=&quot;controls&quot;&gt;</p>
<p>&lt;source src=&quot;file.ogg&quot; /&gt;</p>
<p>&lt;source src=&quot;file.mp3&quot; /&gt;</p>
<p>&lt;a href=&quot;file.mp3&quot;&gt;Download this file.&lt;/a&gt;</p>
<p>&lt;/audio&gt;</p>
<p>说道音频格式，Mozilla和Webkit都还没有完全支持。Firefox希望看到一个 .ogg文件，Webkit浏览器只支持最常见的.mp3扩展名。这意味着说，至少目前为止，你应该创建两个版本的音频。当Safari加载页面时，它认不出.ogg格式的文件，将会跳过并移到mp3版本上。请注意，IE并不支持它，Opera 10 或更低的版本只支持 .wav文件。</p>
<p><strong>16. 视频支持</strong></p>
<p>与音频元素 &lt;audio&gt;非常像，在新的浏览器上也支持HTML5视频。事实上，就在最近YouTube宣布了一项新的 HTML5视频嵌入。可惜的是，由于HTML5说明文件并没有为视频指出某个特定的编码器，所以都主要取决于浏览器来决定了。尽管Safari和IE9可以支持H.264 格式的视频，Firefox 和Opera却仍然坚持Theora 和Vorbis格式。因此，显示HTML5视频的时候，你必须提供两种格式。</p>
<p><strong>17. 视频预先加载</strong></p>
<p>你首先需要决定是否需要浏览器来预先加载视频。是否有需要？假设，一个访客进入某个专门用来显示视频的页面，那么就非常有必要预先加载这个页面节省一点等待的时间。你可以通过设置 preload=&quot;preload&quot;来预先加载视频，或者之间添加preload也可以。</p>
<p>&lt;video preload&gt;</p>
<p><strong>18. 显示控件</strong></p>
<p>你可能已经注意到，用上面的代码的话，视频将只会显示成一个图片，而没有任何可控制的元件。为了获取这些播放控件，我们必需在视频元素里指定这些控件属性。</p>
<p>&lt;video preload controls&gt;</p>
<p><img title="开发人员必知的20+HTML5技巧4" alt="开发人员必知的20+HTML5技巧4" src="http://articles.csdn.net/uploads/allimg/100817/112P01441-0.jpg" width="586" height="277" /></p>
<p><strong>19. 正则表达式</strong></p>
<p>对亏了新模式的属性，我们可以直接在代码中插入一个正则表达式。</p>
<p>&lt;form action=&quot;&quot; method=&quot;post&quot;&gt;</p>
<p>&lt;label for=&quot;username&quot;&gt;Create a Username: &lt;/label&gt;</p>
<p>&lt;input type=&quot;text&quot;</p>
<p>name=&quot;username&quot;</p>
<p>id=&quot;username&quot;</p>
<p>placeholder=&quot;4 &lt;&gt; 10&quot;</p>
<p>pattern=&quot;[A-Za-z]{4,10}&quot;</p>
<p>autofocus</p>
<p>required&gt;</p>
<p>&lt;button type=&quot;submit&quot;&gt;Go &lt;/button&gt;</p>
<p>&lt;/form&gt;</p>
<p>如果你比较熟悉正则表达式的话就会注意到这个新模式： ［A-Za-z］{4，10}只接受大小写字母。这个字符串最少必需有四个字符，最多是十个字符。</p>
<p><strong>20. 检测浏览器对属性的支持</strong></p>
<p>前面提到过并非所有的浏览器都支持这些属性，那是否有什么方法能够判断浏览器是否能够识别它们呢？这个问题问得非常好，这里给大家介绍两种方式，第一个选择是使用Modernizr来检测，或者你也可以创建并剖析这些元素来看看浏览器都有什么能力。例如，在前面的例子里，如果我们要确定浏览器是否能够执行pattern属性，就可以在页面上添加<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>：</p>
<p>alert( &#8216;pattern&#8217; in document.createElement(&#8216;input&#8217;) ) // boolean;</p>
<p>实际上，这是确定浏览器兼容性的一种非常常用的方法。jQuery库利用了这个技巧。上面的代码里，我们创建了一个新的输入元素，并确认pattern属性是否能够被识别。如果能够识别的话，浏览器就支持这个功能，否则就不支持。</p>
<p>&lt;script&gt;</p>
<p>if (!&#8217;pattern&#8217; in document.createElement(&#8216;input&#8217;) ) {</p>
<p>// do client/server side validation</p>
<p>}</p>
<p>&lt;/script&gt;</p>
<p>记住，这将需要依靠 <a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>来实现！</p>
<p><strong>21. Mark元素</strong></p>
<p>&lt;mark&gt;元素的主要功能就是在页面中高亮显示那些需要在视觉上向用户突出其重要性的文字。包裹在此标签里的字符串必须与用户当前的行为相关。例如，如果我在一些博客中搜索&quot;Open your Mind&quot; ，我可以使用在&lt;mark&gt;标签里使用<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a> 来包裹每一次动作。</p>
<p>&lt;h3&gt; Search Results &lt;/h3&gt;</p>
<p>&lt;p&gt; They were interrupted, just after Quato said, &lt;mark&gt;&quot;Open your Mind&quot;&lt;/mark&gt;. &lt;/p&gt;</p>
<p><strong>22. 何时使用&lt;div&gt;</strong></p>
<p>是否还需要使用&lt;div&gt;标签呢？当然需要。例如，如果你想在一个元素里将一段代码包裹住，特别是为了内容的定位，&lt;div&gt; 将会是非常理想的选择。不过，如果不是上述情况而是要包裹博客文章、或者页脚的链接列表，建议你分别使用 &lt;article&gt;和&lt;nav&gt;元素。</p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.zhblog.net/archives/764.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于Java性能监控您不知道的5件事</title>
		<link>http://www.zhblog.net/archives/763.html</link>
		<comments>http://www.zhblog.net/archives/763.html#comments</comments>
		<pubDate>Wed, 25 Aug 2010 09:19:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程其他]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[性能]]></category>

		<guid isPermaLink="false">http://www.zhblog.net/archives/763.html</guid>
		<description><![CDATA[责怪糟糕的代码（或不良代码对象）并不能帮助您发现瓶颈，提高 Java™ 应用程序速度，猜测也不能帮您解决。Ted Neward 引导您关注 Java 性能监控工具，从5 个技巧开始，使用Java 5 的内置分析器JConsole 收集和分析性能数据。 当应用程序性能受到损害时，大多数开发人员都惊慌失措，这在情理之中。跟踪 Java 应用程序瓶颈来源一直以来都是很麻烦的，因为 Java 虚拟机有黑盒效应，而且 Java 平台分析工具一贯就有缺陷。 然而，随着 Java 5 中 JConsole 的引入，一切都发生了改变。JConsole 是一个内置 Java 性能分析器，可以从命令行或在 GUI shell 中运行。它不是完美的，但是当尖头老板来问你关于性能的问题时，用它来应对还是绰绰有余的——这比查询 Papa Google 要好得多。 在本期 5 件事 系列中，我将向您展示 5 个方法，使您可以轻松地使用 JConsole（或者，它更高端的 “近亲” VisualVM ）来监控 Java 应用程序性能和跟踪 Java 中的代码。 1. JDK 附带分析器 许多开发人员没有意识到从 Java 5 开始 JDK [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds3--><p>责怪糟糕的代码（或不良代码对象）并不能帮助您发现瓶颈，提高 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a>™ 应用程序速度，猜测也不能帮您解决。Ted Neward 引导您关注 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 性能监控工具，从5 个技巧开始，使用<a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 5 的内置分析器JConsole 收集和分析性能数据。</p>
<p>当应用程序性能受到损害时，大多数开发人员都惊慌失措，这在情理之中。跟踪 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 应用程序瓶颈来源一直以来都是很麻烦的，因为 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 虚拟机有黑盒效应，而且 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 平台分析工具一贯就有缺陷。</p>
<p>然而，随着 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 5 中 JConsole 的引入，一切都发生了改变。JConsole 是一个内置 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 性能分析器，可以从命令行或在 GUI shell 中运行。它不是完美的，但是当尖头老板来问你关于性能的问题时，用它来应对还是绰绰有余的——这比查询 Papa Google 要好得多。</p>
<p>在本期 5 件事 系列中，我将向您展示 5 个方法，使您可以轻松地使用 JConsole（或者，它更高端的 “近亲” VisualVM ）来监控 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 应用程序性能和跟踪 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 中的代码。</p>
<p><strong>1. JDK 附带分析器</strong></p>
<p>许多开发人员没有意识到从 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 5 开始 JDK 中包含了一个分析器。JConsole（或者 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 平台最新版本，VisualVM）是一个内置分析器，它同 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 编译器一样容易启动。如果是从命令行启动，使 JDK 在 PATH 上，运行 jconsole 即可。如果从 GUI shell 启动，找到 JDK 安装路径，打开 bin 文件夹，双击 jconsole。</p>
<p>当分析工具弹出时（取决于正在运行的 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 版本以及正在运行的 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 程序数量），可能会出现一个对话框，要求输入一个进程的 URL 来连接，也可能列出许多不同的本地 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 进程（有时包含 JConsole 进程本身）来连接。</p>
<p><strong>使用 JConsole 进行工作</strong></p>
<p>在 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 5 中，<a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 进程并不是被设置为默认分析的，而是通过一个命令行参数 — -Dcom.sun.management.jmxremote — 在启动时告诉 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 5 VM 打开连接，以便分析器可以找到它们；当进程被 JConsole 捡起时，您只能双击它开始分析。</p>
<p>分析器有自己的开销，因此最好的办法就是花点时间来弄清是什么开销。发现 JConsole 开销最简单的办法是，首先独自运行一个应用程序，然后在分析器下运行，并测量差异。（应用程序不能太大或者太小；我最喜欢使用 JDK 附带的 SwingSet2 样本。）因此，我使用 -verbose:gc 尝试运行 SwingSet2 来查看垃圾收集清理，然后运行同一个应用程序并将 JConsole 分析器连接到它。当 JConsole 连接好了之后，一个稳定的 GC 清理流出现，否则不会出现。这就是分析器的性能开销。</p>
<p><strong>2. 远程连接进程</strong></p>
<p>因为 Web 应用程序分析工具假设通过一个套接字进行连通性分析，您只需要进行少许配置来设置 JConsole（或者是基于 JVMTI 的分析器，就这点而言），监控/分析远程运行的应用程序。</p>
<p>如果 Tomcat 运行在一个名为 “webserve” 的机器上，且 JVM 已经启动了 JMX 并监听端口 9004，从 JConsole（或者任何 JMX 客户端）连接它需要一个 JMX URL “service:jmx:rmi:///jndi/rmi://webserver:9004/jmxrmi”。</p>
<p>基本上，要分析一个运行在远程数据中心的应用程序服务器，您所需要的仅仅是一个 JMX URL。更多关于使用 JMX 和 JConsole 远程监控和管理的信息，参见 参考资料。）</p>
<p><strong>3. 跟踪统计</strong></p>
<blockquote><p>JConsole 有许多对收集统计数据有用的选项卡，包括：</p>
<p>Memory：在 JVM 垃圾收集器中针对各个堆跟踪活动。</p>
<p>Threads：在目标 JVM 中检查当前线程活动。</p>
<p>Classes：观察 VM 已加载类的总数。</p>
</blockquote>
<p>这些选项卡（和相关的图表）都是由每个 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 5 及更高版本 VM 在 JMX 服务器上注册的 JMX 对象提供的，是内置到 JVM 的。一个给定 JVM 中可用 bean 的完整清单在 MBeans 选项卡上列出，包括一些元数据和一个有限的用户界面来查看数据或执行操作。（然而，注册通知是在 JConsole 用户界面之外。）</p>
<p><strong>使用统计数据</strong></p>
<p>假设一个 Tomcat 进程死于 OutOfMemoryError。如果您想要弄清楚发生了什么，打开 JConsole，单击 Classes 选项卡，过一段时间查看一次类计数。如果数量稳定上升，您可以假设应用程序服务器或者您的代码某个地方有一个 ClassLoader 漏洞，不久之后将耗尽 PermGen 空间。如果需要更进一步的确认问题，请看 Memory 选项卡。</p>
<p><strong>4. 为离线分析创建一个堆转储</strong></p>
<p>生产环境中一切都在快速地进行着，您可能没有时间花费在您的应用程序分析器上，相反地，您可以为 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 环境中的每个事件照一个快照保存下来过后再看。在 JConsole 中您也可以这样做，在 VisualVM 中甚至会做得更好。</p>
<p>先找到 MBeans 选项卡，在其中打开 com.sun.management 节点，接着是 HotSpotDiagnostic 节点。现在，选择 Operations，注意右边面板中的 “dumpHeap” 按钮。如果您在第一个（“字符串”）输入框中向 dumpHeap 传递一个文件名来转储，它将为整个 JVM 堆照一个快照，并将其转储到那个文件。</p>
<p>稍后，您可以使用各种不同的商业分析器来分析文件，或者使用 VisualVM 分析快照。（记住，VisualVM 是在 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 6 中可用的，且是单独下载的。）</p>
<p><strong>5. JConsole 并不是高深莫测的</strong></p>
<p>作为一个分析器实用工具，JConsole 是极好的，但是还有更好的工具。一些分析插件附带分析器或者灵巧的用户界面，默认情况下比 JConsole 跟踪更多的数据。</p>
<p>JConsole 真正吸引人的是整个程序是用 “普通旧式 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> ” 编写的，这意味着任何 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 开发人员都可以编写这样一个实用工具。事实上，JDK 其中甚至包括如何通过创建一个插件来定制 JConsole 的示例（参见 参考资料）。建立在 NetBeans 顶部的 VisualVM 进一步延伸了插件概念。</p>
<p>如果 JConsole（或者 VisualVM，或者其他任何工具）不符合您的需求，或者不能跟踪您想要跟踪的，或者不能按照您的方式跟踪，您可以编写属于自己的工具。如果您觉得 <a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 代码很麻烦，Groovy 或 JRuby 或很多其他 JVM 语言都可以帮助您更快完成。</p>
<p>您真正需要的是一个快速而粗糙（quick-and-dirty）的由 JVM 连接的命令行工具，可以以您想要的方式确切地跟踪您感兴趣的数据。</p>
<p><strong>结束语</strong></p>
<p><a href="http://www.zhblog.net/archives/tag/java" class="st_tag internal_tag" rel="tag" title="Posts tagged with java">Java</a> 性能监控不止于 JConsole 或 VisualVM — 在 JDK 中隐藏着一整套工具，只是大多数开发人员并不知道。 本系列 中的下一篇文章将深入探究一些实验性的命令行工具，可以帮助您挖掘更多的您所需要的性能数据。因为这些工具通常只关注特殊数据，比一个完整的分析器更小更轻巧，所以它们的性能开销要小一些。</p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.zhblog.net/archives/763.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>开源史上最成功的8个开源产品</title>
		<link>http://www.zhblog.net/archives/762.html</link>
		<comments>http://www.zhblog.net/archives/762.html#comments</comments>
		<pubDate>Wed, 25 Aug 2010 09:18:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程其他]]></category>
		<category><![CDATA[开源]]></category>

		<guid isPermaLink="false">http://www.zhblog.net/archives/762.html</guid>
		<description><![CDATA[导读：就开源本身而言，它就是个成功案例。它不仅受个人喜欢，而且众多知名企业也青睐于它。 虽然开源计划和开源产品数不胜数，但哪一个才是最成功的呢？这里所说的“成功”的定义是：应用广泛+众所周知。而在众多成功的开源产品中，只有少数领头羊，而其他产品基本只能望其项背。 Linux 上榜理由：Linux + GNU = GNU/Linux 。从Linus Torvalds在1991年宣布他在Minix基础上创建一新OS内核到现在已经接近20年了。在这段时间内，大部分网络服务器都是Linux系统。 BSD 上榜理由：长久以来，FreeBSD, NetBSD和OpenBSD是服务器众操作系统之中广为人知的3个OS。上世纪90年代，三者均是脱胎于伯克利的Unix系统，故把三者组团上榜。另外，Apple的Mac OS脱胎于FreeBSD。 MySQL 上榜理由：MySQL是全球使用范围最广的数据库系统。2009年，全球的MySQL安装数量已达1千1百万。它是LAMP架构（Linux, Apache, MySQL, PHP）中的M。众多知名网站和产品均使用MySQL，比如：维/基百科、Facebook、Google和Wordpress。（Google和Facebook均改造了MySQL，以满足自身需求。） Apache 上榜理由：Apache HTTP服务器从它诞生的1996年开始，它是全球使用最为广泛的Web服务器，其市场占有率远远超过第二名的IIS。2009年，全球超过1亿个网站使用Apache。 据Netcraft2010年8月11日的数据统计表明，全球目前已有119,664,128个网站使用Apache；目前Apache市场占有率为54.90%，IIS为25.87%。 图1：Web 服务器市场占有率 Firefox 上榜理由：目前为止，它是Mozilla的最成功产品。2004年11月9日，FireFox1.0问世。目前Firefox虽无法撼动IE的霸/主地位，但它是众多技术人员的首选浏览器。Firefox浏览器进化史：2002年9月23日Phoenix -&#62; 2003年5月17日改为FireBird -&#62; 2004年2月9日改为FireFox。 根据Net Market Share 2010年7月份最新统计，Firefox市场占有率为22.91%，IE为60.74% 。 图2：浏览器市场占有率 WordPress 上榜理由：从2004年Wordpress作为b2博客软件一分支面世后，它开始主宰博客平台市场。据Pingdom 2009年的调查表明，全球Top 100博客中27%使用Wordpress。如果加上Wordpress.com和Automattic的Wordpress服务博客，该数据上升至32%。 2010年8月份，Wordpress 3.0下载量已超过1250万。 BIND 上榜理由：BIND（Berkeley Internet Name Domain Server）是现今互联网上最常使用的DNS服务器软件，使用BIND作为服务器软件的DNS服务器约占所有DNS服务器的90%。BIND的第一个版本要追溯到20世纪80年代，它由伯克利大学的4位研究生共同开发，它和4.3 BSD一起发布。可以这样说，它就是全球的标准DNS服务器。 不接触Linux的朋友应该很少听过BIND。因为全球大多数服务器的OS均为Linux/Unix，而这些Linux/Unix均绑捆BIND，所以BIND的份额才非常高。 Ubuntu 上榜理由：2010年4月28日，Ubuntu首个版块发布。迄今为止，它是Linux流传最广的分支，尤其是其出色的桌面系统。鉴于Ubuntu近些年来的巨大成功，榜上有名，应受之无愧。 后记——无处不在的开源产品 看到这里，你是不是发现，这8个产品中有6个在开源历史上的九个重大事件中出现过呢？其实，这也从另一个角度说明，这些开源产品对IT业界产生了重要影响。比如：Facebook背后就有非常之多的开源产品在支撑。 [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds3--><p>导读：就开源本身而言，它就是个成功案例。它不仅受个人喜欢，而且众多知名企业也青睐于它。</p>
<p>虽然开源计划和开源产品数不胜数，但哪一个才是最成功的呢？这里所说的“成功”的定义是：应用广泛+众所周知。而在众多成功的开源产品中，只有少数领头羊，而其他产品基本只能望其项背。</p>
<p><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/100825/73_100825092045_1.jpg" width="317" height="143" /></p>
<p><strong>Linux</strong></p>
<p>上榜理由：Linux + GNU = GNU/Linux 。从Linus Torvalds在1991年宣布他在Minix基础上创建一新OS内核到现在已经接近20年了。在这段时间内，大部分网络服务器都是Linux系统。</p>
<p><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/100825/73_100825092125_1.gif" width="171" height="64" /></p>
<p><strong>BSD</strong></p>
<p>上榜理由：长久以来，FreeBSD, NetBSD和OpenBSD是服务器众操作系统之中广为人知的3个OS。上世纪90年代，三者均是脱胎于伯克利的Unix系统，故把三者组团上榜。另外，Apple的Mac OS脱胎于FreeBSD。</p>
<p> <span id="more-762"></span>
</p>
<p><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/100825/73_100825092207_1.jpg" width="200" height="104" /></p>
<p><strong>MySQL</strong></p>
<p>上榜理由：MySQL是全球使用范围最广的数据库系统。2009年，全球的MySQL安装数量已达1千1百万。它是LAMP架构（Linux, Apache, MySQL, PHP）中的M。众多知名网站和产品均使用MySQL，比如：维/基百科、Facebook、Google和<a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">Wordpress</a>。（Google和Facebook均改造了MySQL，以满足自身需求。）</p>
<p><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/100825/73_100825092246_1.jpg" width="200" height="150" /></p>
<p><strong>Apache</strong></p>
<p>上榜理由：Apache HTTP服务器从它诞生的1996年开始，它是全球使用最为广泛的Web服务器，其市场占有率远远超过第二名的IIS。2009年，全球超过1亿个网站使用Apache。</p>
<p>据Netcraft2010年8月11日的数据统计表明，全球目前已有119,664,128个网站使用Apache；目前Apache市场占有率为54.90%，IIS为25.87%。</p>
<p><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/100825/73_100825092417_1.JPG" width="559" height="523" /></p>
<p>图1：Web 服务器市场占有率</p>
<p><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/100825/73_100825092504_1.jpg" width="254" height="240" /></p>
<p><strong>Firefox</strong></p>
<p>上榜理由：目前为止，它是Mozilla的最成功产品。2004年11月9日，FireFox1.0问世。目前Firefox虽无法撼动IE的霸/主地位，但它是众多技术人员的首选浏览器。Firefox浏览器进化史：2002年9月23日Phoenix -&gt; 2003年5月17日改为FireBird -&gt; 2004年2月9日改为FireFox。</p>
<p>根据Net Market Share 2010年7月份最新统计，Firefox市场占有率为22.91%，IE为60.74% 。</p>
<p><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/100825/73_100825092550_1.JPG" width="571" height="333" /></p>
<p>图2：浏览器市场占有率</p>
<p><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/100825/73_100825092630_1.png" width="261" height="164" /></p>
<p><strong><a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a></strong></p>
<p>上榜理由：从2004年<a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">Wordpress</a>作为b2博客软件一分支面世后，它开始主宰博客平台市场。据Pingdom 2009年的调查表明，全球Top 100博客中27%使用<a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">Wordpress</a>。如果加上<a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">Wordpress</a>.com和Automattic的<a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">Wordpress</a>服务博客，该数据上升至32%。</p>
<p>2010年8月份，<a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">Wordpress</a> 3.0下载量已超过1250万。</p>
<p><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/100825/73_100825092732_1.jpg" width="184" height="93" /></p>
<p><strong>BIND</strong></p>
<p>上榜理由：BIND（Berkeley Internet Name Domain Server）是现今互联网上最常使用的DNS服务器软件，使用BIND作为服务器软件的DNS服务器约占所有DNS服务器的90%。BIND的第一个版本要追溯到20世纪80年代，它由伯克利大学的4位研究生共同开发，它和4.3 BSD一起发布。可以这样说，它就是全球的标准DNS服务器。</p>
<p>不接触Linux的朋友应该很少听过BIND。因为全球大多数服务器的OS均为Linux/Unix，而这些Linux/Unix均绑捆BIND，所以BIND的份额才非常高。</p>
<p><img border="0" alt="" src="http://articles.csdn.net/uploads/allimg/100825/73_100825092815_1.gif" width="217" height="250" /></p>
<p><strong>Ubuntu</strong></p>
<p>上榜理由：2010年4月28日，Ubuntu首个版块发布。迄今为止，它是Linux流传最广的分支，尤其是其出色的桌面系统。鉴于Ubuntu近些年来的巨大成功，榜上有名，应受之无愧。</p>
<p><strong>后记——无处不在的开源产品</strong></p>
<p>看到这里，你是不是发现，这8个产品中有6个在开源历史上的九个重大事件中出现过呢？其实，这也从另一个角度说明，这些开源产品对IT业界产生了重要影响。比如：Facebook背后就有非常之多的开源产品在支撑。</p>
<p>我们平时上网可能不会太注意，其实这些开源产品真的是无处不在。你访问的网站，大部分是使用Apache的Web服务器；你访问的网站，大部分操作系统是Linux或BSD；你访问的网站，大部分都是使用MySQL；你提交DNS查询请求由BIND服务器分析处理；你访问的博客很可能就是<a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">Wordpress</a>的；说不定你现在就是用Firefox在阅读这篇文章。</p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.zhblog.net/archives/762.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>前端开发大众手册</title>
		<link>http://www.zhblog.net/archives/761.html</link>
		<comments>http://www.zhblog.net/archives/761.html#comments</comments>
		<pubDate>Tue, 24 Aug 2010 14:27:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程其他]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Web前端]]></category>

		<guid isPermaLink="false">http://www.zhblog.net/archives/761.html</guid>
		<description><![CDATA[在线工具集 书籍类： Book Shelf 2.0 beta —— 荐，分类很清晰，下载很方便 Book Go! 原版图书免费下载链接收集站 51CNNET.NET JavaScript类： Beautify JavaScript —— JavaScript格式化工具，效果很理想 AJAX Libraries API Regex Tester Compressor Packer —— 以前一直用这个压JS，自从有了TBCompressor，就放弃他了 CSS类： CSS选择器性能测试 CSSTidy —— CSS格式化工具 CSS Compressor —— CSS压缩 其他： GUID 生成器 —— 做某些东西(Firefox插件)时需要唯一资源标志符时用 W3Counter WebWait – Benchmark Your Website &#160; 常用Firefox插件 支付宝安全控件 和 旺旺协议 —— 网购专用，Firefox+浦发网银，无敌了 Firebug —— [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds3--><h5>在线工具集</h5>
<ul>
<li>书籍类：
<ul>
<li><a href="http://book.mvnsearch.org/">Book Shelf 2.0 beta</a> —— 荐，分类很清晰，下载很方便 </li>
<li><a href="http://www.bookgo.org/">Book Go!</a></li>
<li><a href="http://www.cnshare.org/">原版图书免费下载链接收集站</a></li>
<li><a href="http://www.51cnnet.net/">51CNNET.NET</a></li>
</ul>
</li>
<li><a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>类：
<ul>
<li><a href="http://elfz.laacz.lv/beautify/">Beautify JavaScript</a> —— <a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>格式化工具，效果很理想 </li>
<li><a href="http://code.google.com/apis/ajaxlibs/">AJAX Libraries API</a></li>
<li><a href="http://regexpal.com/">Regex Tester</a></li>
<li><a href="http://dean.edwards.name/packer/">Compressor Packer</a> —— 以前一直用这个压JS，自从有了TBCompressor，就放弃他了</li>
</ul>
</li>
<li><a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">CSS</a>类：
<ul>
<li><a href="http://mootools.net/slickspeed/">CSS选择器性能测试</a></li>
<li><a href="http://www.osxcn.com/csstidy/">CSSTidy</a> —— <a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">CSS</a>格式化工具 </li>
<li><a href="http://www.cssdrive.com/index.php/main/csscompressor/">CSS Compressor</a> —— <a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">CSS</a>压缩</li>
</ul>
</li>
<li>其他：
<ul>
<li><a href="http://www.guidgen.com/">GUID 生成器</a> —— 做某些东西(Firefox插件)时需要唯一资源标志符时用 </li>
<li><a href="http://www.w3counter.com/globalstats.php">W3Counter</a></li>
<li><a href="http://webwait.com/">WebWait – Benchmark Your Website</a></li>
</ul>
</li>
</ul>
<p> <span id="more-761"></span>
<p>&#160;</p>
<h5><a name="002"></a>常用Firefox插件</h5>
<ul>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/6707">支付宝安全控件</a> 和 <a href="https://addons.mozilla.org/zh-CN/firefox/addon/8625">旺旺协议</a> —— 网购专用，Firefox+浦发网银，无敌了 </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/1843">Firebug</a> —— 这个不用介绍了吧，附空帏的<a href="http://www.quchao.com/entry/fix-encoding-bug-with-open-with-editor-in-firebug/">外部编辑器乱码修正版</a>
<ul>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/6683">Firecooike</a> —— 支持Cookie的查看和编辑 </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/7613">Jiffy</a> —— 调试性能的，用起来比较麻烦，没试过 </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/5369">YSlow</a> —— Why Slow? YUI出品 </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/7943">Pixel Perfect</a> —— 把设计稿直接拖到Firefox里进行对比 </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/7575">Rainbow for Firebug</a> —— JS高亮，性能不是很理想</li>
</ul>
</li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/9373">Fiddler 开关</a> —— 简化在Firefox里切换Fiddler的操作，感谢Taobao UED的空帏同学 </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/60">Web Developer</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1673">DevBoi</a> —— 把<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">Html</a>, Dom, <a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">JavaScript</a>等手册放在侧栏里，可以自定义增加，快捷键Ctrl+F9。可以在<a href="http://www.martincohen.info/products/devboi/packages/">这里</a>找到更多的Package。 </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/953">RefControl</a> —— 针对每个站点发送想要的HTTP Referer </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/748">GreaseMonkey</a> —— 看某个网站不爽，写个小脚本来优化下还是不错的 </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/6647">HttpFox</a> —— 查看当前Http链接状态，类似IE下的HttpWatch </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/59">User Agent Switcher</a> —— 切换User-Agent，同时开发iphone和web版本的时候很方便 </li>
<li><a href="https://addons.mozilla.org/zh-CN/firefox/addon/2464">FoxyProxy</a> —— 穿墙工具，配合<a href="http://www.8558.org/">专业代理公布器</a>使用很和谐</li>
</ul>
<h5><a name="003"></a>IE下的调试工具</h5>
<ul>
<li><a href="http://www.fiddler2.com/">Fiddle2</a> —— 非常强悍的一款http流查看工具，默认支持IE，其他浏览器可以设置将{Document}\Scripts\BrowserPAC.js设为代理进行使用。Firefox下可用上述”Fiddler 开关”进行快速切换。支持<a href="http://www.fiddler2.com/Fiddler2/extensions.asp">插件</a>。 </li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E59C3964-672D-4511-BB3E-2D5E1DB91038&amp;displaylang=en">IE Developer Toolbar</a> —— 查看元素、禁用缓存、禁用<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">CSS</a>\JS、Outline元素、查看生成的源码等功能，IE8自带了一个加强版的。 </li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?familyid=2f465be0-94fd-4569-b3c4-dffdf19ccd99&amp;displaylang=en">Microsoft Script Debugger</a> + <a href="http://www.my-debugbar.com/wiki/CompanionJS/HomePage">Companion.JS</a> —— 调试JS用，虽然报错还是有误差，但是我已经满足了。安装顺序是：Microsoft Script Debugger，Companion.JS，在”IE选项-高级”里<strong>取消</strong>禁用脚本调试。 </li>
<li>多版本IE共存两种方案：
<ul>
<li>IE7/8 + <a href="http://www.my-debugbar.com/wiki/IETester/HomePage">IE Tester</a> —— 大众型配置，可以基本满足日常需要。 </li>
<li>IE6 + <a href="http://finalbuilds.edskes.net/iecollection.htm">Internet Explorer Collection</a> —— 在IE 6用户占绝对优势以及IE 6神奇bug满天飞的时代，我还是推荐这种方案，因为只有神奇的原装IE 6，才能抵挡运营神奇的问题。另外如果还有其他机器可供支配的话，建议再装个IE 8 + IE Tester，因为IE 8下的Developer Toolbar还是有很大改进的，调试起来会方便一些。</li>
</ul>
</li>
<li>以下三个软件相对不重要些：
<ul>
<li><a href="http://www.box.net/shared/i9ipe3nxh2">HttpWatch</a> —— http流查看 </li>
<li><a href="http://www.box.net/shared/qtdje57m5d">Instant Source</a> —— 可查看JS生成的源码 </li>
<li><a href="http://www.box.net/shared/d361kjx8r8">NetLimiterPro</a> —— 网速限制</li>
</ul>
</li>
</ul>
<h5><a name="004"></a>参考手册</h5>
<ul>
<li><a href="http://www.box.net/shared/botkpkrscf">XHTML、CSS &amp; DOM W3C 手册</a> —— <a href="http://lifesinger.org/">玉伯</a>整理的版本，包含了W3C手册以及其他有用的资料。 </li>
<li>苏昱的<a href="http://assets.chencheng.org/resources/manual/css.chm">CSS中文手册</a>和<a href="http://assets.chencheng.org/resources/manual/dom.chm">Dom中文手册</a></li>
<li><a href="http://assets.chencheng.org/resources/manual/js.chm">JScript语言参考</a></li>
<li><a href="http://assets.chencheng.org/resources/manual/xml.chm">XML指南</a></li>
<li><a href="http://assets.chencheng.org/resources/manual/xmlhttp.chm">XMLHTTP参考手册</a></li>
<li><a href="http://assets.chencheng.org/resources/manual/jquery-126-api.chm">jQuery 1.2.6 API</a>和<a href="http://assets.chencheng.org/resources/manual/jQuery-and-jQuery-UI-Reference-1.2.chm">jQuery and jQuery UI Reference 1.2</a></li>
<li><a href="http://assets.chencheng.org/resources/manual/apache_manual_2.2/index.html">Apache 2.2 中文版参考手册在线版</a></li>
<li><a href="http://www.box.net/shared/dujtrpyf65">MySQL 5.1 参考手册</a> (<a href="http://assets.chencheng.org/resources/manual/mysql-manual-5.1-zh/index.html">在线版</a>) </li>
<li><a href="http://www.box.net/shared/aaif34xiz7">PHP手册</a></li>
<li><a href="http://developer.yahoo.com/yui/docs/assets/cheatsheets.zip">YUI Cheatsheet</a></li>
<li><a href="http://www.petefreitag.com/item/455.cfm">Cheat Sheet Roundup – Over 30 Cheatsheets for developers</a></li>
<li><a href="http://www.box.net/shared/30n9e5z3pf">23个Cheatsheet打包下载</a></li>
</ul>
<h5><a name="005"></a>批处理工具</h5>
<ul>
<li><a href="http://lifesinger.org/blog/wp-content/uploads/2008/10/TBCompressor_v2.4.zip">TBCompressor</a> —— 淘宝UED的JS/<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">CSS</a>压缩工具，详见<a href="http://lifesinger.org/blog/?p=464">玉伯的介绍</a></li>
<li><a href="http://assets.chencheng.org/resources/bat/pngOptimizer.zip">pngOptimizer</a> —— png优化工具 </li>
<li><a href="http://assets.chencheng.org/resources/bat/jpegTran.zip">jpegTran</a> —— jpeg去冗余meta工具</li>
</ul>
<h5><a name="006"></a>IDE及其他工具</h5>
<ul>
<li><a href="http://www.box.net/shared/utgl7vyl0u">Editplus v301 汉化版</a></li>
<li><a href="http://bbs.iusesvn.com/forum-7-1.html">Tortoise SVN</a></li>
<li><a href="http://www.box.net/shared/lnlr2yjbgj">移动版本的 Apache + PHP</a> —— 灰常灰常好用，灰常灰常移动，见<a href="http://www.gracecode.com/Archive/Display/2235">明城的说明</a></li>
<li>…</li>
</ul>
<h5><a name="007"></a>Bookmarklet(右键另存)</h5>
<ul>
<li><a href="http://www.google.com/">Firebug Lite</a> —— <a href="http://getfirebug.com/lite.html">官方介绍</a></li>
<li><a href="http://www.google.com/">Xray</a> —— <a href="http://www.westciv.com/xray/index.html">官方介绍</a></li>
<li><a href="http://www.google.com/">MRI</a> —— <a href="http://www.westciv.com/mri/">官方介绍</a></li>
<li><a href="http://www.google.com/">‘+ window.document.documentElement.outerHTML+ ””&gt;查看生成的源码</a>，<a href="http://www.google.com/">‘+ window.document.documentElement.outerHTML+ ”);})()”&gt;打开新窗口查看生成的源码 </a>—— for IE</li>
</ul>
<h5><a name="008"></a>开发者社区及权威网站</h5>
<ul>
<li><a href="http://developer.mozilla.org/En">Mozilla Developer Center (MDC)</a></li>
<li><a href="http://developer.yahoo.com/">YAHOO! Developer Network (YDN)</a></li>
<li><a href="http://dev.opera.com/">Dev.Opera</a></li>
<li><a href="http://developer.apple.com/">Apple Developer Connection</a></li>
<li><a href="http://msdn.microsoft.com/zh-cn/default.aspx">MSDN</a></li>
<li><a href="http://www.ibm.com/developerworks/cn/web/">IBM Developers中国</a> (<a href="http://www.ibm.com/developerworks/cn/web/wa-front/">Web 前端开发技术专题</a>) </li>
<li><a href="http://webkit.org/">WebKit</a></li>
<li><a href="http://dev.aol.com/">AOL Developer Network</a></li>
<li><a href="http://www.slideshare.net/">SlideShare – Share PPT</a> —— 在线PPT分享，资源丰富 </li>
<li><a href="http://code.google.com/doctype/">Google Doctype</a> —— Web开发人员的百科全书 </li>
<li><a href="http://www.w3.org/">W3C</a> (<a href="http://www.w3c.org.hk/">香港</a>，<a href="http://www.chinaw3c.org/">中国)</a></li>
<li><a href="http://www.positioniseverything.net/">Position Is Everything</a></li>
<li><a href="http://www.htmldog.com/">HTML Dog</a></li>
<li><a href="http://zh.wikipedia.org/wiki/%E9%A6%96%E9%A1%B5">维基百科</a></li>
</ul>
<h5><a name="009"></a>推荐订阅的博客和网站(排名不分先后)</h5>
<ul>
<li>国外
<ul>
<li>内容聚合：<a href="http://www.alistapart.com/">A List Apart</a>，<a href="http://ajaxian.com/">Ajaxian</a>，<a href="http://www.smashingmagazine.com/">Smashing Magazine</a>，<a href="http://www.456bereastreet.com/">456 berea street</a>，<a href="http://scriptandstyle.com/">Script &amp; Style</a>，<a href="http://www.cssglobe.com/">CSS Globe</a>，<a href="http://css-tricks.com/">CSS-Tricks</a>，<a href="http://www.sitepoint.com/">SitePoint</a></li>
<li>团队Blog：<a href="http://developer.yahoo.com/yui/">Yahoo! User Interface Library (YUI)</a>，<a href="http://blogs.msdn.com/ie/default.aspx">IEBlog</a></li>
<li>个人Blog：<a href="http://ejohn.org/">John Resig</a>，<a href="http://www.quirksmode.org/">PPK: QuirksMode</a>，<a href="http://www.crockford.com/">Douglas Crockford</a>，<a href="http://dean.edwards.name/">Dean Edwards</a>，<a href="http://nate.koechley.com/blog/">Nate Koechley</a>，<a href="http://www.julienlecomte.net/blog/">Julien Lecomte</a>，<a href="http://meyerweb.com/">Eric A. Meyer</a>，<a href="http://www.andybudd.com/">Andy Budd</a>，<a href="http://blog.stevenlevithan.com/">Steven Levithan</a>，<a href="http://blog.hedgerwow.com/">HedgerWow</a></li>
</ul>
</li>
<li>国内
<ul>
<li>内容聚合：<a href="http://www.blueidea.com/">Blueidea</a>，<a href="http://bbs.51js.com/">无忧脚本</a>，<a href="http://www.w3cn.org/">网页设计师(W3CN)</a>，<a href="http://www.ijavascript.cn/">JavaScript教程网</a></li>
<li>团队Blog：<a href="http://ued.taobao.com/">淘宝</a>，<a href="http://ued.koubei.com/">口碑</a>，<a href="http://www.aliued.com/">阿里巴巴国际站</a>，<a href="http://www.aliued.cn/">阿里巴巴中文站</a>，<a href="http://www.f-dev.com/">阿里巴巴中文站前端开发团队(方凳)</a>，<a href="http://ued.alimama.com/">阿里妈妈</a>，<a href="http://ued.alipay.com/">支付宝</a>，<a href="http://www.alisoftued.com/">阿里软件</a>，<a href="http://blog.19lou.com/?uid-10143366">19楼</a>，<a href="http://www.9skyucd.com/">九天音乐</a>，<a href="http://www.kdued.com/">金蝶与友商网</a></li>
<li>个人Blog，这里列出的是原创并更新相对频繁的博客，如有遗漏，请告之(sorrycc#gmail.com)：<a href="http://www.planabc.net/">怿飞</a>，<a href="http://www.gracecode.com/">手气不错</a>，<a href="http://realazy.org/">Realazy</a>，<a href="http://old9.blogsome.com/">old9</a>(需穿墙术)，<a href="http://quchao.com/">沙滩凉鞋(空帏)</a>，<a href="http://lifesinger.org/">射雕(玉伯)</a>，<a href="http://woooh.com/">Aether</a>，<a href="http://andymao.com/andy/">振之</a>，<a href="http://www.aoao.org.cn/">嗷嗷</a>，<a href="http://www.junchenwu.com/">JunChen</a>，<a href="http://yuntian.cnblogs.com/">爆牙齿</a>，<a href="http://dancewithnet.com/">秦歌</a>，<a href="http://blog.360.yahoo.com/blog-sOW1QOA9crUyOdXFxOeK4xc-?cq=1">克军</a>，<a href="http://5key.net/blog/">5key</a>，<a href="http://www.chencheng.org/blog/2008/10/25/f2e-manual/www.linxz.cn">小志</a>，<a href="http://www.htmlcssjs.com/blog/">Rage(正淳)</a>，<a href="http://www.macji.com/">麦鸡</a>，<a href="http://yy.mylovings.net/">云烈</a>，<a href="http://robertmao.com/">老冒</a>，<a href="http://www.tblog.com.cn/">番茄红了</a>，<a href="http://www.joyqi.com/">Joyqi</a>，<a href="http://www.v-sky.com/blog/">卢力</a>，<a href="http://www.cssforest.org/blog/">CSS森林(Ghost)</a>，<a href="http://www.twinsenliang.net/">Twinsen</a>，<a href="http://blog.gulu77.com/">Gulu77</a>，<a href="http://rlog.cn/">Rlog</a>，<a href="http://dlog.org/">Dlog</a>，<a href="http://www.zishu.cn/">子鼠</a>，<a href="http://www.space007.com/">西风坊</a> …</li>
</ul>
</li>
</ul>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.zhblog.net/archives/761.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>100 Free High Quality WordPress Themes: 2010 Edition</title>
		<link>http://www.zhblog.net/archives/760.html</link>
		<comments>http://www.zhblog.net/archives/760.html#comments</comments>
		<pubDate>Sun, 22 Aug 2010 03:36:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程其他]]></category>
		<category><![CDATA[网站建设]]></category>

		<guid isPermaLink="false">http://www.zhblog.net/archives/760.html</guid>
		<description><![CDATA[It’s hard to believe that a year has passed since our last WordPress theme collection, but there you have it — the time has come again. Once a year we feature the most useful and interesting WordPress-themes that we are collecting over months and present them in a nice quick overview. The collections from 2007,2008 [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds3--><p>It’s hard to believe that a year has passed since our last <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> theme collection, but there you have it — the time has come again. Once a year we feature the most useful and interesting <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a>-themes that we are collecting over months and present them in a nice quick overview. The collections from <a href="http://www.smashingmagazine.com/2007/02/09/83-beautiful-wordpress-themes-you-probably-havent-seen/">2007</a>,<a href="http://www.smashingmagazine.com/2008/01/08/100-excellent-free-high-quality-wordpress-themes/">2008</a> and <a href="http://www.smashingmagazine.com/2009/05/18/100-amazing-free-wordpress-themes-for-2009/">last year</a> are still useful, but some of the themes are outdated or updated now.</p>
<p>Looking back over these previous theme articles, you can clearly see how and why <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> has rapidly matured into the CMS powerhouse it is today. With all of the features that have been added and improvements made with every new <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> version and with its ever-increasing popularity among the design and development community, the quality of free themes is evident. Developers are continually pushing <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a>’ boundaries, giving us today’s outstanding free theme collection.</p>
<p>Today, we present a fresh collection of useful <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> themes. Please notice that some themes are a bit older, but they are included because we haven’t featured them last time. This round-up picks up where we left off last year: most <strong>themes below were released between June 2009 and August 2010</strong>. We’ve also split this collection into the following categories: gallery and portfolio themes, themes for bloggers, e-Commerce <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> themes, clean themes, magazine-style themes, minimal themes, mobile themes; pre-launch themes; and finally “Themes That Take <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Beyond.”</p>
<p>[Offtopic: by the way, did you know that we are publishing a Smashing eBook Series? The brand new eBook #3 is <a href="https://shop.smashingmagazine.com/smashingbook-dispatcher.php?d=smashing-ebook-mastering-photoshop">Mastering Photoshop For Web Design</a>, written by our Photoshop-expert Thomas Giannattasio.]</p>
<h5>Gallery And Portfolio Themes</h5>
<p><a href="http://empirethemes.com/cumulus-a-portfolio-theme/">Cumulus (Free version)</a> (<a href="http://empirethemes.com/preview/cumulus/">demo</a>)    <br />Cumulus is a very clean and calm portfolio theme. It contains a large block for featured projects and images and a nifty blog posts navigation in the sidebar.</p>
<p><a href="http://empirethemes.com/cumulus-a-portfolio-theme/"><img alt="Wordpress-130 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-130.jpg" width="500" height="416" /></a></p>
<p> <span id="more-760"></span>
</p>
<p><a href="http://wpshower.com/free-wordpress-themes/imbalance-free-wordpress-theme/">Imbalance</a> (<a href="http://wpshower.com/imbalance/">demo</a>)    <br />Free <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">wordpress</a> theme in modern-minimalist style. Imbalance is a very user friendly, jQuery powered theme which looks really well under any browser and OS. Perfectly fits for your blog, online magazine or portfolio websites. It is optimized for high-loads, contains <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> 3.0 menu support, Twitter widget, jQuery-based gallery and WP Post Thumbnails support.</p>
<p><a href="http://wpshower.com/free-wordpress-themes/imbalance-free-wordpress-theme/"><img alt="Imbalance2 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/imbalance2.jpg" width="500" height="502" /></a></p>
<p><a href="http://shakenandstirredweb.com/331/introducing-our-first-free-wordpress-theme-shaken-grid">Shaken and Stirred Theme</a> (<a href="http://shakenandstirredweb.com/themes/">demo</a>)    <br />This theme is perfect for you if you’re in need of a gallery/portfolio website or if you just want a website with a unique grid layout that not many websites have taken full advantage of yet. “Shaken Grid” uses the jQuery Masonry plugin which “arranges elements vertically then horizontally according to a grid.” The result is a gap-less layout even if you have varying post heights.</p>
<p><a href="http://shakenandstirredweb.com/331/introducing-our-first-free-wordpress-theme-shaken-grid"><img alt="Wordpress-104 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-104.jpg" width="500" height="320" /></a></p>
<p><a href="http://fthrwght.com/autofocus/">AutoFocus+</a> (<a href="http://www.fthrwght.com/autofocus/plusdemo/">demo</a>)    <br />The theme is designed on an 800px, 8 column grid layout that truly allows your images to shine. The theme boasts a sharp typographic approach with a 22px baseline grid, and a Garamond/Helvetica (Times/Arial for you PC users) font stack that’s much easier to read.</p>
<p><a href="http://fthrwght.com/autofocus/"><img alt="Wordpress-121 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-121.jpg" width="500" height="320" /></a></p>
<p><a href="http://wordspop.com/">Fotofolio Landscape</a> (<a href="http://demo.wordspop.com/fotofolio-landscape/">demo</a>)    <br />A nice dark <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> theme with sidebar navigation and jQuery-powered lightbox for images. A good choice for photographers who want to feature their works in an online portfolio.</p>
<p><a href="http://wordspop.com/"><img alt="Sm WordPress Theme C in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_c.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.frogsthemes.com/wordpress-portfolio-themes/foliogrid/">FolioGrid</a> (<a href="http://www.frogsthemes.com/demo/foliogrid/">demo</a>)    <br />This theme contains a fluid grid-based layout, jQuery-based transitions and automatically resizing thumbnails. Also, you can choose between various page tamplates, and the theme has a widget-enabled area, too.</p>
<p><a href="http://www.frogsthemes.com/wordpress-portfolio-themes/foliogrid/"><img alt="Sm WordPress Theme 59 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_59.jpg" width="500" height="290" /></a></p>
<p><a href="http://graphpaperpress.com/2010/05/13/mansion/">Mansion</a> (<a href="http://demo.graphpaperpress.com/mansion/">demo</a>)    <br />Mansion is a free photoblogger’s theme for <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a>. It features a flexible-width thumbnail grid for both images and photo journal entries. Mansion is perfect for those who want to primarily showcase their photographs and occasionally write blog posts.</p>
<p><a href="http://graphpaperpress.com/2010/05/13/mansion/"><img alt="Sm WordPress Theme 60 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_60.jpg" width="500" height="290" /></a></p>
<p>PhotoView (<em>the link is currently unavailable due to server problems of the theme’s author</em>) (demo)    <br />PhotoView was designed for displaying photos and videos in a simple and clean manner. The theme has an integrated lightbox. Also, a PSD file is included for easy customization.</p>
<p><a href="http://www.dvq.co.nz/theme/photoview-v-1-1/"><img alt="Sm WordPress Theme 61 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_61.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.smashingmagazine.com/2010/02/07/simplefolio-a-free-clean-portfolio-wordpress-theme/">SimpleFolio</a> (<a href="http://demo.slimmity.com/simplefolio/">demo</a>)    <br />SimpleFolio is a portfolio theme that includes a blog and a very extensive option page that allows you to exclude all your portfolio items from the blog page. It also includes a front page slider. It has 2 different widget areas and threaded comments, and also supports paged comments and has 2 different page templates for advanced usage. The control of images is done from the post page.</p>
<p><a href="http://www.smashingmagazine.com/2010/02/07/simplefolio-a-free-clean-portfolio-wordpress-theme/"><img alt="Wordpress-133 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-133.jpg" width="500" height="516" /></a></p>
<p><a href="http://www.smashingmagazine.com/2009/08/22/free-podcasting-video-and-photography-wordpress-theme/">Smashing Multimedia</a> (<a href="http://smashingmultimedia.sarah-neuber.de/">demo</a>)    <br />This theme was designed especially for podcasters, photographers and users who can now easily embed videos and images, rate them and showcase them in their own <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a>-based blog. It has a parent theme and an easily customizable child theme. This <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Theme comes with layered PSD source files, a visual help guide and is fully localized ready for you to translate it into your target language.</p>
<p><a href="http://www.smashingmagazine.com/2009/08/22/free-podcasting-video-and-photography-wordpress-theme/"><img alt="Sm WordPress Theme 64 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_64.jpg" width="500" height="290" /></a></p>
<p><a href="http://graphpaperpress.com/2009/06/10/fullscreen-wordpress-theme/">Fullscreen Photo and Multimedia</a> (<a href="http://graphpaperpress.com/demo/?themedemo=fullscreen">demo</a>)    <br />Fullscreen is a free one-column photography and multimedia theme for <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> that can be used for portfolios, photoblogs, videoblogs, and virtually anything else where you want your content to be front and center. It provides visual artists a unique way of presenting their latest work online using a minimalist side-scrolling homepage.</p>
<p><a href="http://graphpaperpress.com/2009/06/10/fullscreen-wordpress-theme/"><img alt="Sm WordPress Theme 66 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_66.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.dizenoco.com/brave-zeenat-free-wordpress-theme/">Brave Zeenat</a> (<a href="http://www.dizenoco.com/demo/">demo</a>)    <br />A clean Portfolio Theme ideal for photographers, artists and designers to showcase their portfolios.</p>
<p><a href="http://www.dizenoco.com/brave-zeenat-free-wordpress-theme/"><img alt="Sm WordPress Theme 67 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_67.jpg" width="500" height="290" /></a></p>
<p><a href="http://themebaker.com/monokrome/">Monokrome</a> (<a href="http://demo.themebaker.com/monokrome/">demo</a>)    <br />This grid-based theme is widget ready and has a Twitter stream and Flickr integration. The column width adapts to the width of the images and the width of the browser viewport.</p>
<p><a href="http://themebaker.com/monokrome/"><img alt="Sm WordPress Theme 57 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_57.jpg" width="500" height="290" /></a></p>
<p><a href="http://wpesp.com/portfolio/">Portfolio WPESP Theme</a> (<a href="http://wpesp.com/">live demo</a>)    <br />Portfolio – WPESP Theme is a “minimalist” Theme based on the idea of portfolio created by DAILYWP. The Theme is a starting point in the creation of portfolios, using <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> as CMS.</p>
<p><a href="http://wpesp.com/portfolio/"><img alt="Wordpress-106 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-106.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.obox-design.com/themes_page.cfm/theme/selecta">Selecta</a> (<a href="http://www.obox-design.com/demo-theme.cfm?theme=selecta">demo</a>, <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> 3.0+ compatible)    <br />Selecta’s rounded edges and bold, modern color palettes make for a fresh theme that’s best suited to blogs where video will be the main focus. The wider-than-usual frames around thumbnails and videos bring to mind the retro-cool of Polaroid photographs and old home movies.</p>
<p><a href="http://www.obox-design.com/themes_page.cfm/theme/selecta"><img alt="Sm WordPress Theme 62 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_62.jpg" width="500" height="290" /></a></p>
<p><a href="http://graphpaperpress.com/2009/06/18/work-a-holic/">Work-a-holic</a> (<a href="http://graphpaperpress.com/demo/?themedemo=workaholic">demo</a>)    <br />Work-a-holic is a free two and three column <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> theme that focuses mainly on showcasing portfolios for artists, web designers, photographers and illustrators.</p>
<p><a href="http://graphpaperpress.com/2009/06/18/work-a-holic/"><img alt="Wordpress-135 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-135.jpg" width="500" height="447" /></a></p>
<p><a href="http://www.flexible7.com/bluebubble-wordpress-theme/">BlueBubble WordPress Theme</a> (<a href="http://mu.flexible7.com/bluebubble/">demo</a>)    <br />The theme is clean and simple, contains a theme options page, uses post image thumbnail plugin, has 2 widget ready sidebars and uses jQuery/PHP-based contact form with easy customization. Requires <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> 2.9+.</p>
<p><a href="http://www.flexible7.com/bluebubble-wordpress-theme/"><img alt="Wordpress-112 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-112.jpg" width="500" height="320" /></a></p>
<h5><a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Themes For Bloggers</h5>
<p><a href="http://designdisease.com/blog/lapofluxury-theme-released/">Lap of Luxury</a> (<a href="http://www.lapofluxury.com/">demo</a>)    <br />This theme uses gold in the logo, and white and black are used as the main colors. The 2-col theme contains a sidebar on the right that allows for a large square ad up top, and splitting into 2 columns below that. Comes fully widgetized. A special feature of this theme is the logo changer.</p>
<p><a href="http://designdisease.com/blog/lapofluxury-theme-released/"><img alt="Sm WordPress Theme 13 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_13.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.web2feel.com/katana/">Katana</a> (<a href="http://www.jinsonathemes.com/demo/?themedemo=katana">demo</a>)    <br />This theme has a simple layout based on anime or game niche. Theme will be suitable for blogs of such niches. Theme has features like featured post section, post thumbnails, banner ads, adsense, twitter widgets etc. Theme uses custom fonts for various titles. It has an intuitive theme option page which lets you configure the theme.</p>
<p><a href="http://www.web2feel.com/katana/"><img alt="Wordpress-125 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-125.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.ndesign-studio.com/wp-themes/koi-theme">Koi Theme</a> (<a href="http://www.ndesign-studio.com/demo/wordpress/index.php?wptheme=Koi">demo</a>)    <br />Koi is a simplified version of N.Design Studio’s theme (2009 redesign). Key features: multi-level dropdown menus, social media buttons, threaded &amp; paged comments, and sidebar widget plus three footer widgets. This theme includes an option page to manage dropdown menus, favicon, footer tracking code, and social media buttons. Requires <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> 2.9+.</p>
<p><a href="http://www.ndesign-studio.com/wp-themes/koi-theme"><img alt="Wordpress-127 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-127.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.woothemes.com/2009/11/bueno/">Bueno</a>    <br />Bueno is a clean, minimalistic design which sophistication in both its typography and structure. It uses a grid-based design, has integrated banner ad management, widgetized sidebar and 7 different color schemes. Also, the theme is packaged wth a .po file for easy theme integration.</p>
<p><a href="http://www.woothemes.com/2009/11/bueno/"><img alt="Wordpress-109 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-109.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.ndesign-studio.com/blog/just-released-the-notepad-theme">Notepad Theme</a> (<a href="http://www.ndesign-studio.com/demo/wordpress/index.php?wptheme=Notepad">demo</a>)    <br />The theme is inspired by the iPhone’s Notes.app. This new theme is widget compatible with threaded comments, social media buttons, and multi-level dropdown menus. It has been tested on <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> 2.9 with Firefox, Chrome, Safari, and IE7+. It also includes some nice CSS3 enhancement such as rounded corners and drop shadow.</p>
<p><a href="http://www.ndesign-studio.com/blog/just-released-the-notepad-theme"><img alt="Wordpress-124 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-124.jpg" width="500" height="320" /></a></p>
<p><a href="http://themebaker.com/strukture/">Strukture</a> (<a href="http://demo.themebaker.com/strukture/">demo</a>)</p>
<p><a href="http://themebaker.com/strukture/"><img alt="Sm WordPress Theme 06 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_06.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.web2feel.com/peacekeeper/">Peacekeeper</a> (<a href="http://www.jinsonathemes.com/demo3/">demo</a>)</p>
<p><a href="http://www.web2feel.com/peacekeeper/"><img alt="Sm WordPress Theme E in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_e.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.press75.com/">The Seven Five</a> (<a href="http://www.press75.com/themes/seven-five-theme-demo/">demo</a>)    <br />A minimalist blogger/social theme including several customization and layout options.</p>
<p><a href="http://www.press75.com/"><img alt="Wordpress-114 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-114.jpg" width="500" height="320" /></a></p>
<p><a href="http://wordpress.site5.net/simplo/doc/">Simplo</a> (<a href="http://wordpress.site5.net/simplo/">demo</a>)</p>
<p><a href="http://wordpress.site5.net/simplo/doc/"><img alt="Sm WordPress Theme Bb in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/sm_wordpress_theme_bb.jpg" width="500" height="290" /></a></p>
<p><a href="http://empirethemes.com/galaxy/">Galaxy</a> (<a href="http://empirethemes.com/galaxy/">demo</a>)    <br />The Galaxy <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> theme is a two column theme that supports banner ads and the WP-PageNavi plugin. Perfect theme for personal blogs.</p>
<p><a href="http://empirethemes.com/galaxy/"><img alt="Wordpress-123 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-123.jpg" width="500" height="320" /></a></p>
<p><a href="http://fearlessflyer.com/2010/01/get-some-aparatus-free-theme-for-WordPress/">Aparatus</a> (<a href="http://aparatus.fearlessflyer.com/">demo</a>)</p>
<p><a href="http://fearlessflyer.com/2010/01/get-some-aparatus-free-theme-for-WordPress/"><img alt="Sm WordPress Theme 03 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_03.jpg" width="500" height="290" /></a></p>
<p><a href="http://thedesignsuperhero.com/2010/01/zexee-a-free-sexy-WordPress-theme/">Zexee</a> (<a href="http://themes.thedesignsuperhero.com/zexee/">demo</a>)</p>
<p><a href="http://thedesignsuperhero.com/2010/01/zexee-a-free-sexy-WordPress-theme/"><img alt="Sm WordPress Theme 09 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_09.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.simplywp.net/2010/06/20/cyangant-elegant-wordpress-theme/">Cyangant Elegant</a> (<a href="http://demo.simplywp.net/?wptheme=cyangant">demo</a>)</p>
<p><a href="http://www.simplywp.net/2010/06/20/cyangant-elegant-wordpress-theme/"><img alt="Sm WordPress Theme 10 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/themes/default-autosvn-stable/images/blank_38x38.png" width="500" height="290" /></a></p>
<p><a href="http://wpcrunchy.com/2009/06/23/obscure-free-community-based-WordPress-theme/">Obscure</a> (<a href="http://wpcrunchy.com/preview/?wptheme=obscure">demo</a>)    <br />A dark magazine <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">wordpress</a> theme suitable for any site nitche and best fit for community-based sites.</p>
<p><a href="http://wpcrunchy.com/2009/06/23/obscure-free-community-based-WordPress-theme/"><img alt="Wordpress-143 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/themes/default-autosvn-stable/images/blank_38x38.png" width="500" height="320" /></a></p>
<p><a href="http://monkeypr.ajansretro.com/">MonkeyPr</a> (<a href="http://monkeypr.ajansretro.com/demo/">demo</a>)</p>
<p><a href="http://monkeypr.ajansretro.com/"><img alt="Wordpress-144 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-144.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.smashingmagazine.com/2010/02/20/free-dark-and-clean-wordpress-theme-designpile/">Designpile</a> (<a href="http://wordpress.site5.net/designpile/">demo</a>)</p>
<p><a href="http://www.smashingmagazine.com/2010/02/20/free-dark-and-clean-wordpress-theme-designpile/"><img alt="Sm WordPress Theme 14 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_14.jpg" width="500" height="290" /></a></p>
<p><a href="http://wpcrunchy.com/2010/02/23/obscorp-a-premium-corporate-wordpress-theme/">Obscorp</a> (<a href="http://wpcrunchy.com/preview/?wptheme=obscorp">demo</a>)</p>
<p><a href="http://wpcrunchy.com/2010/02/23/obscorp-a-premium-corporate-wordpress-theme/"><img alt="Sm WordPress Theme 07 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_07.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.press75.com/">The Side Blog Theme</a> (<a href="http://www.press75.com/themes/side-blog-theme-demo/">demo</a>)    <br />A free blogging theme with all sorts of customization and content management options.</p>
<p><a href="http://www.press75.com/#features-sf"><img alt="Wordpress-115 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-115.jpg" width="500" height="320" /></a></p>
<h5>E-Commerce <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Themes</h5>
<p><a href="http://portfolio.icreativelabs.com/free-WordPress-e-commerce-theme-kelontong/">e-Commerce Theme: Kelontong</a> (<a href="http://demo.icreativelabs.com/kelontong_free/">demo</a>)    <br />The theme has a simple layout, clean, professional look, is integrated with WP e-commerce and features a slideshow for products.</p>
<p><a href="http://portfolio.icreativelabs.com/free-WordPress-e-commerce-theme-kelontong/"><img alt="Wordpress-126 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-126.jpg" width="500" height="320" /></a></p>
<p><a href="http://portfolio.icreativelabs.com/free-wordpress-e-commerce-theme-dangdoot/">Dangdoot</a> (e-commerce theme: free version) (<a href="http://demo.icreativelabs.com/dangdoot_free/">demo</a>)    <br />Dangdoot is a free e-commerce theme for <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> and requires the e-Commerce plug-in.</p>
<p><a href="http://portfolio.icreativelabs.com/free-wordpress-e-commerce-theme-dangdoot/"><img alt="Sm WordPress Theme 81 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_81.jpg" width="500" height="290" /></a></p>
<p><a href="http://portfolio.icreativelabs.com/free-wordpress-e-commerce-theme-appcloud/">AppCloud</a> (e-commerce theme: free version) (<a href="http://demo.icreativelabs.com/appcloud/">demo</a>)    <br />AppCloud is another free e-commerce theme for <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a>. (It too requires the e-Commerce plug-in).</p>
<p><a href="http://portfolio.icreativelabs.com/free-wordpress-e-commerce-theme-appcloud/"><img alt="Sm WordPress Theme 82 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_82.jpg" width="500" height="290" /></a></p>
<h5>Clean <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Themes</h5>
<p><a href="http://blissfulblog.com/">Blissful Blog</a> (<a href="http://blissfulblog.com/demo/blog/">demo</a>)</p>
<p><a href="http://blissfulblog.com/"><img alt="Sm WordPress Theme Ii in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/sm_wordpress_theme_ii.jpg" width="500" height="290" /></a></p>
<p><a href="http://informationarchitects.jp/downloads/">The Ideal Website</a>    <br />The Ideal Website is designed to fit Fibonacci’s Golden Section – otherwise known as the divine proportions. These measurements are said to be the most pleasing to the eye, and have been widely used for everything from judging beauty of a face, to the design of bank notes.</p>
<p><a href="http://informationarchitects.jp/downloads/"><img alt="Wordpress-117 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-117.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.siiimple.com/un-complicated-wordpress-theme">Un.complicated Theme</a> (<a href="http://s51370.gridserver.com/_uncomplicated/">demo</a>)    <br />The layout is minimalist, clean, and organized into three 320px columns. This theme, are built on Starkers and implements the The Golden Grid. here is a wigetized sidebar, which looks like a regular three column row. I have also integrated twitter within the theme, using <a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>. All the user has to do is find this line in the index.php page.</p>
<p><a href="http://www.siiimple.com/un-complicated-wordpress-theme"><img alt="Wordpress-110 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-110.jpg" width="500" height="320" /></a></p>
<p><a href="http://wordpress.org/extend/themes/voidy">Voidy</a> (<a href="http://wp-themes.com/voidy?TB_iframe=true&amp;width=1333&amp;height=815">demo</a>)    <br />Voidy is the perfect theme for your great blog. It is clean, clear and beautiful. It is minimalistic two-cloumn theme with the widgets all arranged in the right sidebar. Voidy was designed to make your content stand out and make everything else get out of the way.</p>
<p><a href="http://wordpress.org/extend/themes/voidy"><img alt="Wordpress-103 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-103.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.diovo.com/links/clear/">Clear</a> (<a href="http://clear.kera.la/2009/12/a-wonderful-theme-for-writers/">demo</a>)    <br />Clear is the perfect theme for great authors. It is clean, clear and beautiful. It is minimalistic one-cloumn theme with the widgets all arranged at the bottom. Clear was designed to make your content stand out and make everything else get out of the way.</p>
<p><a href="http://www.diovo.com/links/clear/"><img alt="Wordpress-111 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-111.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.nattywp.com/view-natty-theme.php?theme_id=99932&amp;theme_name=Delicate">Delicate</a> (<a href="http://test.nattywp.com/preview.php?theme=Delicate">demo</a>)</p>
<p><a href="http://www.nattywp.com/view-natty-theme.php?theme_id=99932&amp;theme_name=Delicate"><img alt="Sm WordPress Theme B in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_b.jpg" width="500" height="290" /></a></p>
<p><a href="http://wordpress.site5.net/boldy/doc/">Boldy</a> (<a href="http://wordpress.site5.net/boldy/">demo</a>)    <br />A free theme that includes support for <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> 3.0 Menu Management, has in-built slideshows, jQuery-based forms and live form validation as well as a widget for Twitter.</p>
<p><a href="http://wordpress.site5.net/boldy/doc/"><img alt="Wordpress-101 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-101.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.my-tapestry.com/smooth/">Smooth</a> (<a href="http://www.my-tapestry.com/demo/?id=5">demo</a>)</p>
<p><a href="http://www.my-tapestry.com/smooth/"><img alt="Sm WordPress Theme 32 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_32.jpg" width="500" height="290" /></a></p>
<p><a href="http://bizzthemes.com/2010/03/inuitypes/">Inuit Types</a> (starter edition) (<a href="http://bizzthemes.com/demo/inuitypes/">demo</a>)</p>
<p><a href="http://bizzthemes.com/2010/03/inuitypes/"><img alt="Sm WordPress Theme 34 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_34.jpg" width="500" height="290" /></a></p>
<p><a href="http://thethemefoundry.com/titan/">Titan Theme</a> (free edition) (<a href="http://demo.thethemefoundry.com/titan/">demo</a>)</p>
<p><a href="http://thethemefoundry.com/titan/"><img alt="Wordpress-147 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-147.jpg" width="500" height="320" /></a></p>
<p><a href="http://wptheme.youare.com/">YouAre Theme</a> (<a href="http://wptheme.youare.com/demo/">demo</a>)</p>
<p><a href="http://wptheme.youare.com/"><img alt="Sm WordPress Theme 38 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_38.jpg" width="500" height="290" /></a></p>
<p><a href="http://templates.arcsin.se/simple-organization-wordpress-theme/">Simple Organization</a> (<a href="http://templates.arcsin.se/wp-demo/2009/09/simple-organization/">demo</a>)</p>
<p><a href="http://templates.arcsin.se/simple-organization-wordpress-theme/"><img alt="Wordpress-148 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-148.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.artmov.com/blog/252/neutra-theme-for-WordPress/">Neutra</a> (<a href="http://www.artmov.com/dev/live/neutra/">demo</a>)    <br />Neutra is a simple and elegant theme for <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a>. Grid-based with focus on simplicity and typography.</p>
<p><a href="http://www.artmov.com/blog/252/neutra-theme-for-WordPress/"><img alt="Wordpress-149 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-149.jpg" width="500" height="320" /></a></p>
<p><a href="http://wordpress.org/extend/themes/the-erudite">The Erudite</a> (<a href="http://wp-themes.com/the-erudite?TB_iframe=true&amp;width=1092&amp;height=662">demo</a>)    <br />A theme for writers who want readers, not visitors, traffic, click-throughs, CPMs or what-have-you. Carefully crafted typography and generous use of whitespace lets your writing shine. Version 2 includes a dark theme option.</p>
<p><a href="http://wordpress.org/extend/themes/the-erudite"><img alt="Wordpress-105 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-105.jpg" width="500" height="320" /></a></p>
<h5>Magazine-Style Themes</h5>
<p><a href="http://benmartineau.com/projects/TheColumnist/news/the-columnist/">The Columnist</a>    <br />The Columnist <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> theme is inspired by traditional newspaper layouts and the grid structures and typography techniques they employ. It has <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> thumbnail support, widget support, CSS3 column structure, jQuery animations, custom fields for images and featured latest post area.</p>
<p><a href="http://benmartineau.com/projects/TheColumnist/news/the-columnist/"><img alt="Wordpress-120 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-120.jpg" width="500" height="320" /></a></p>
<p>The Structure Theme (<em>the link was removed because the pricing was changed after the article was published</em>,<a href="http://structuretheme.com/demo/">demo</a>)    <br />The Structure Theme is a free <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> theme with a modern minimalist design. There are 4 themes included with the Structure Theme download; a white theme, black theme, two column blog and a single column blog design. The theme was created with a simple and clean aesthetic meant to easily adopt the style of the content added to the site. The Structure Theme is also designed with customization in mind. Meaning, with a little work, the theme can be completely personalized to suit your brand.</p>
<p><a href="http://structuretheme.com/"><img alt="Wordpress-118 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-118.jpg" width="500" height="320" /></a></p>
<p><a href="http://pengbos.com/download/aurelius-download">Aurelius</a> (<a href="http://pengbos.com/">demo</a>)</p>
<p><a href="http://pengbos.com/download/aurelius-download"><img alt="Sm WordPress Theme Ee in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/sm_wordpress_theme_ee.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.tripleships.com/works/tanzaku/">Tanzaku</a> (<a href="http://www.tripleships.com/sample/">demo</a>)</p>
<p><a href="http://www.tripleships.com/works/tanzaku/"><img alt="Sm WordPress Theme 30 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_30.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.loopthemes.com/themes/the-whatsup/">The WhatsUp</a> (<a href="http://demo.loopthemes.com/thewhatsup/">demo</a>)</p>
<p><a href="http://www.loopthemes.com/themes/the-whatsup/"><img alt="Sm WordPress Theme 18 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_18.jpg" width="500" height="290" /></a></p>
<p><a href="http://wpcount.com/2010/02/wpcount-wordpress-template/">WPCount</a> (<a href="http://themes.wpcount.com/">demo</a>)</p>
<p><a href="http://wpcount.com/2010/02/wpcount-wordpress-template/"><img alt="Sm WordPress Theme 24 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_24.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.paddsolutions.com/wordpress-theme-maimpok/">Maimpok</a> (<a href="http://www.paddsolutions.com/wpmag/maimpok/">demo</a>)</p>
<p><a href="http://www.paddsolutions.com/wordpress-theme-maimpok/"><img alt="Sm WordPress Theme 26 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_26.jpg" width="500" height="290" /></a></p>
<p><a href="http://developdaly.com/themes/malleable/">Malleable</a> (<a href="http://malleable.developdaly.com/">demo</a>)</p>
<p><a href="http://developdaly.com/themes/malleable/"><img alt="Sm WordPress Theme 29 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_29.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.kreativethemes.com/furvious/">Furvious</a> (<a href="http://demo.kreativethemes.com/furvious/">demo</a>)    <br />A nice theme coming with 5 color styles, powerful admin framework and featured posts area.</p>
<p><a href="http://www.kreativethemes.com/furvious/"><img alt="Wordpress-108 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-108.jpg" width="500" height="320" /></a></p>
<p><a href="http://wpcrunchy.com/our-themes/newspress/">Newspress</a> (<a href="http://wpcrunchy.com/demo/?wptheme=newspress">demo</a>)</p>
<p><a href="http://wpcrunchy.com/our-themes/newspress/"><img alt="Sm WordPress Theme 17 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/themes/default-autosvn-stable/images/blank_38x38.png" width="500" height="290" /></a></p>
<h5>Minimal <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Themes</h5>
<p><a href="http://www.rodrigogalindez.com/themes/modernist/the-crystal-goblet-or-printing-should-be-invisible/">Modernist</a>    <br /><a href="http://www.rodrigogalindez.com/themes/modernist/the-crystal-goblet-or-printing-should-be-invisible/"><img alt="Sm WordPress Theme Dd in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/themes/default-autosvn-stable/images/blank_38x38.png" width="500" height="290" /></a></p>
<p><a href="http://wpbandit.com/themes/reptile/">Reptile</a></p>
<p><a href="http://wpbandit.com/themes/reptile/"><img alt="Wordpress-150 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-150.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.wp-notes.com/theme/">WP-Notes</a> (<a href="http://www.beytar.com/notes/">demo</a>)</p>
<p><a href="http://www.wp-notes.com/theme/"><img alt="Wordpress-151 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-151.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.vooshthemes.com/wordpress-theme/satoshi-2/">Satoshi</a> (<a href="http://www.vooshthemes.com/gallery/satoshi/">demo</a>)</p>
<p><a href="http://www.vooshthemes.com/wordpress-theme/satoshi-2/"><img alt="Wordpress-152 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-152.jpg" width="500" height="320" /></a></p>
<p><a href="http://plus63.net/ulaptheme/">Ulap Theme</a> (<a href="http://plus63.net/ulaptheme/?cat=3">demo</a>)</p>
<p><a href="http://plus63.net/ulaptheme/"><img alt="Wordpress-153 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-153.jpg" width="500" height="320" /></a></p>
<p><a href="http://jimbarraud.com/2009/03/19/manifest/">Manifest</a>    <br />The goal with Manifest was to create a clean and streamlined theme that focused on the content and not the distractions. It utilizes a single column, 500 pixel wide layout. No sidebars. No widgets.</p>
<p><a href="http://jimbarraud.com/2009/03/19/manifest/"><img alt="Wordpress-113 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-113.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.siiimple.com/mpw-theme">Miniml Press Theme</a> (<a href="http://s51370.gridserver.com/_minimalwordpress/">demo</a>)</p>
<p><a href="http://www.siiimple.com/mpw-theme"><img alt="Sm WordPress Theme 49 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_49.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.behance.net/Gallery/Functionalism/372322">Functionalism</a> (<a href="http://wp.gregponchak.com/">demo</a>)</p>
<p><a href="http://www.behance.net/Gallery/Functionalism/372322"><img alt="Wordpress-155 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-155.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.project66.net/lifestreaming-white/">LifeStreaming White</a> (<a href="http://designs.project66.net/">demo</a>)</p>
<p><a href="http://www.project66.net/lifestreaming-white/"><img alt="Wordpress-156 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-156.jpg" width="500" height="320" /></a></p>
<p><a href="http://www.vostoktheme.com/">Vostok</a> (<a href="http://www.vostok.es/blog/">demo</a>)    <br />Vostok is for those who don’t want attention to be distracted from content. Colors and typography have been carefully chosen to achieve maximum legibility with minimum eye fatigue. Also, code has been written with extreme care for web standards and accessibility.</p>
<p><a href="http://www.vostoktheme.com/"><img alt="Sm WordPress Theme 54 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_54.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.kristarella.com/thesis/skins/mini/">Mini</a> (<a href="http://thesis.kristarella.com/">demo</a>)</p>
<p><a href="http://www.kristarella.com/thesis/skins/mini/"><img alt="Sm WordPress Theme 56 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_56.jpg" width="500" height="290" /></a></p>
<h5>Mobile Themes For <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a></h5>
<p><a href="http://wpshower.com/free-wordpress-themes/iphonsta-free-wordpress-theme-for-iphone/">WordPress Mobile Pack</a> (<a href="http://wpshower.com/iphonsta/">demo</a>)</p>
<p><a href="http://wpshower.com/free-wordpress-themes/iphonsta-free-wordpress-theme-for-iphone/"><img alt="Sm WordPress Theme Hh in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/sm_wordpress_theme_hh.jpg" width="500" height="290" /></a></p>
<p><a href="http://wordpress.org/extend/plugins/wordpress-mobile-pack/">WordPress Mobile Pack</a>    <br />The <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Mobile Pack includes the following: a mobile switcher to select themes based on the type of user visiting your website; a selection of mobile themes; extra widgets; device adaptation; and a mobile administration panel to allow users to edit the website or write posts while out and about.</p>
<p><a href="http://wordpress.org/extend/plugins/wordpress-mobile-pack/"><img alt="Sm WordPress Theme 68 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_68.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.blogohblog.com/wordpress-mobile-theme/">WordPress Mobile Theme</a>    <br />This is a minimalist theme that can be used to target mobile users. The theme works with any mobile phone of any resolution. And with its light weight, it also drastically reduces loading times.</p>
<p><a href="http://www.blogohblog.com/wordpress-mobile-theme/"><img alt="Sm WordPress Theme 69 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_69.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.mobilizetoday.com/wordpress-themes/">Möbius</a>    <br />Möbius is compatible with iPhone (and iPod Touch), Android, BlackBerry, Windows, Palm Pre and Symbian touchscreen mobile phones.</p>
<p><a href="http://www.mobilizetoday.com/wordpress-themes/"><img alt="Sm WordPress Theme 70 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_70.jpg" width="500" height="290" /></a></p>
<p><a href="http://www.wptap.com/index.php/news-press/">News Press Mobile</a>    <br />The News Press theme is a simple and elegant solution for creating an iPhone-friendly news, blog or other text-centric <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> website. It comes complete with all the standard <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> blog features: search, log-in, categories, tags, archives, photos and more.</p>
<p><a href="http://www.wptap.com/index.php/news-press/"><img alt="Sm WordPress Theme 71 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_71.jpg" width="500" height="290" /></a></p>
<p><a href="http://crowdfavorite.com/wordpress/themes/carrington-mobile/">Carrington Mobile</a>    <br />Carrington Mobile is an elegant mobile theme that supports advanced touchscreen browsers (iPhone, Android, BlackBerry, Pre) and that is also backwards-compatible with older mobile devices.</p>
<p><a href="http://crowdfavorite.com/wordpress/themes/carrington-mobile/"><img alt="Sm WordPress Theme 72 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_72.jpg" width="500" height="290" /></a></p>
<h5>Pre-Launch <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Themes</h5>
<p><a href="http://wordspop.com/">BEBACKWP</a> (<a href="http://wp-themes.com/ice-breaker/">demo</a>)</p>
<p><a href="http://wordspop.com/"><img alt="Sm WordPress Theme D in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_d.jpg" width="500" height="290" /></a></p>
<p><a href="http://customtheme.com/themes/ice-breaker/">Ice Breaker</a> (<a href="http://wp-themes.com/ice-breaker/">demo</a>)</p>
<p><a href="http://customtheme.com/themes/ice-breaker/"><img alt="Sm WordPress Theme 73 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_73.jpg" width="500" height="290" /></a></p>
<p><a href="http://ready2launch.jedenbod.cz/">Ready2Launch!</a> (<a href="http://demo.jedenbod.cz/">demo</a>)</p>
<p><a href="http://ready2launch.jedenbod.cz/"><img alt="Sm WordPress Theme 74 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_74.jpg" width="500" height="290" /></a></p>
<p><a href="http://eliseos.net/nuevo-theme-wordpress-wp-blueprint/">WP Blueprint</a></p>
<p><a href="http://eliseos.net/nuevo-theme-wordpress-wp-blueprint/"><img alt="Sm WordPress Theme 75 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_75.jpg" width="500" height="290" /></a></p>
<h5>Themes That Take <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Beyond</h5>
<p><a href="http://wordpress.org/extend/themes/guruq">GuruQ</a> (<a href="http://wp-themes.com/guruq/">demo</a>)    <br />GuruQ is a basic theme designed to be used for Q&amp;A websites. Visitors post questions to the guru, and the guru answers via the <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> admin screen.</p>
<p><a href="http://wordpress.org/extend/themes/guruq"><img alt="Sm WordPress Theme 77 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_77.jpg" width="500" height="290" /></a></p>
<p><a href="http://p2theme.com/">P2</a> (Like Twitter in a Box)    <br />P2 is a theme for <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> that transforms a mild-mannered blog into a super-blog, with features like inline comments on the home page, a posting form right on the home page, inline editing of posts and comments, real-time updates (to display new posts and comments without reloading) and much more.</p>
<p><a href="http://www.driftwoodcms.com/">Driftwood Contact Manager</a> (<a href="http://demo.driftwoodcms.com/">demo</a>)    <br />Driftwood is a contact manager theme built for <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a>. This easy-to-use theme gives you an effortless way to track interaction with your clients and contacts.</p>
<p><a href="http://www.driftwoodcms.com/"><img alt="Sm WordPress Theme 78 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_78.jpg" width="500" height="290" /></a></p>
<p><a href="http://templatic.com/news/aggegator-all-your-feeds-at-your-website-front">Aggregator</a> (<a href="http://templatic.com/demo/aggregator/">demo</a>)    <br />Aggregator is a theme that aggregates feeds of any kind in one place and in an attractive format.</p>
<p><a href="http://templatic.com/news/aggegator-all-your-feeds-at-your-website-front"><img alt="Sm WordPress Theme 79 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_79.jpg" width="500" height="290" /></a></p>
<p><a href="http://templatic.com/freethemes/gtd-%e2%80%93-private-blog-theme-for-teams-to-collaborate">GTD</a> (private theme for teams to collaborate)</p>
<p><a href="http://templatic.com/freethemes/gtd-%e2%80%93-private-blog-theme-for-teams-to-collaborate"><img alt="Sm WordPress Theme 80 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_80.jpg" width="500" height="290" /></a></p>
<p><a href="http://blue-anvil.com/archives/minicard-theme-for-wordpress-a-cool-free-business-cardsocial-network-theme/">MiniCard</a> (<a href="http://mikejolley.com/">demo</a>)    <br />The MiniCard theme supports hCard and vCard microformats, it supports a ton of social networks, it can accommodate some portfolio items (optional), and it does much more, all from the dedicated theme configuration page.</p>
<p><a href="http://blue-anvil.com/archives/minicard-theme-for-wordpress-a-cool-free-business-cardsocial-network-theme/"><img alt="Sm WordPress Theme A in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_a.jpg" width="500" height="290" /></a></p>
<p><a href="http://templatic.com/news/free-livetwit-theme-quick-wordpress-site-to-display-live-tweets-on-any-topic-user">LiveTwit</a> (<a href="http://templatic.com/demo/livetwit/">demo</a>)</p>
<p><a href="http://templatic.com/news/free-livetwit-theme-quick-wordpress-site-to-display-live-tweets-on-any-topic-user"><img alt="Sm WordPress Theme 83 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_83.jpg" width="500" height="290" /></a></p>
<h5><a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Theme Tools</h5>
<p><a href="http://elastictheme.org/">Elastic Theme Editor</a>    <br />The awesome Elastic is a visual theme editor and engine for <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a>. It takes a completely innovative approach to theme development. To get an idea of what it can do, check out this video:</p>
<p><a href="http://www.divine-project.com/">Divine</a> (Convert PSD to <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a>)    <br />Divine is a Photoshop plug-in that allows you to assign <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> roles to your main elements (e.g. #footer, #header, etc.). The plug-in then prepares all the files you need. Once you set up FTP access, the tool uploads the theme automatically to your server. Look at this video for insight into how Divine works:</p>
<p><a href="http://yoast.com/wordpress-debug-theme/">WordPress Debug Theme</a>    <br />The <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Debug theme allows you to check early on for any possible issues you might have with your <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> installation. It is quite simple for now, doing only a few things, but it does them very effectively.</p>
<p><a href="http://yoast.com/wordpress-debug-theme/"><img alt="Sm WordPress Theme 84 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_84.jpg" width="500" height="214" /></a></p>
<h5>Starter And Blank <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Themes</h5>
<p><a href="http://nathanstaines.com/archive/starkers-html5">Starkers HTML5 WordPress Theme Kit</a>    <br />Starkers is a bare bones <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> theme created to act as a starting point for the theme designer… Free of all style, presentational elements, and non-semantic markup, Starkers is the perfect ‘blank slate’ for your projects, as it’s a stripped-back version of the ‘Default’ theme that ships with <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a></p>
<p><a href="http://nathanstaines.com/archive/starkers-html5"><img alt="Wordpress-119 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/08/wordpress-119.jpg" width="500" height="320" /></a></p>
<p><a href="http://code.google.com/p/wp-constructor/">WP-Constructor</a>    <br /><a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Constructor is a many-in-one theme. It contains 6 sidebar variations and three layouts (and you can create new is easy). You can configure colors and fonts. The theme also has post thumbnails (<a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> 2.9+) and navigation menu customization options (<a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> 3.0+).</p>
<p><a href="http://code.google.com/p/wp-constructor/"><img alt="Sm WordPress Theme 89 in 100 Free High Quality WordPress Themes: 2010 Edition" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2010/06/sm_wordpress_theme_89.jpg" width="500" height="290" /></a></p>
<p><a href="http://freebpthemes.com/themes/buddymatic/">Buddymatic Theme Framework</a>    <br />Buddymatic is a highly extensible theme framework for <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> and <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> MU blogs, including BuddyPress-enabled home and member blogs.</p>
<p><a href="http://empirethemes.com/et-starter/">ET Starter Theme for WordPress</a>    <br />The ET starter theme lets you easily choose between a one-, two- and three-column layout. It supports the WP-PageNavi, Twitter Tools and Contact Form 7 plug-ins and also includes a built-in jQuery drop-down menu.</p>
<p><a href="http://code.kennethreitz.com/wordpress-theme-skeleton/">WordPress Skeleton Theme</a>    <br />The feature-rich <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> Skeleton Theme has been developed to speed up and streamline your <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> development. One of its outstanding out-of-the-box features is <a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">CSS</a> support for the iPhone and iPad (both portrait and landscape); simply edit the <em>iPhone.<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">css</a></em> and <em>iPad.<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">css</a></em> files.</p>
<p><a href="http://www.tipografo.org/wordpress-themes/paintbox-cms/">Paintbox CMS</a> (<a href="http://www.tipografo.org/testrun/?themedemo=paintbox-cms">demo</a>)    <br />Paintbox CMS is a grid-based CMS theme layered on my actual theme-canvas <a href="http://www.tipografo.org/testrun/?themedemo=paintbox">Paintbox</a>. It comes with a smooth 960 grid layout plus some creative jQuery effects for content loading.</p>
<p><a href="http://digwp.com/2010/02/blank-wordpress-theme/">BLANK</a>    <br />Blank is a theme with all the functionality of a typical <a href="http://www.zhblog.net/archives/tag/wordpress" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> theme but almost none of the styling. The idea is that using this as your base theme is far easier than using one that is already styled.</p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.zhblog.net/archives/760.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VeryCD 教育频道名校课程推荐</title>
		<link>http://www.zhblog.net/archives/748.html</link>
		<comments>http://www.zhblog.net/archives/748.html#comments</comments>
		<pubDate>Mon, 19 Jul 2010 02:21:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程其他]]></category>

		<guid isPermaLink="false">http://www.zhblog.net/archives/748.html</guid>
		<description><![CDATA[无论我们身处专业领域深造研究还是个好学的网友，有一天迫切想找能指导自己学习的课件，来到verycd的教育频道，打出关键字，回车，一个简洁漂亮的菜单，玲琅满目的相关课程。嗯，点击红框，速度不错，这就是我要的。 这就是教育 频道的意义，省去在网络上苦苦搜寻教程无果的遗憾，我们想要做的就是来verycd就是一个习惯，用最快的速度找到了自己想要的资源，不会失望而归。这个 看似简单的小事背后，将是我们教育频道庞大的资料库，而丰富充实资料库都是无私热心网友所编辑所共享，我们会因为资源下面一条条的回复感谢而激动不已，如 此地简单可爱。 感谢每一个用心去分享的朋友，感谢兢兢业业一丝不苟的字幕组。希望你也能参与进来， 参与查漏补缺资源发布：手边的教程，下载的学习视频，所在学校的课件都会让你成为一个独一无二的楼主，为教育频道贡献自己的力量，我们现在做的都是崭新 的！ 这是我们一小部分的成果： 麻省理工、台湾国立交通大学、斯坦福大学、TTC课程和耶鲁大学的 优秀开放课程资源，以及一小部分中科院研究生课程VeryCd U资源索引 麻省理工 (MIT) 麻 省理工开放课程主页：http://ocw.mit.edu/courses/ 一. 理学院 *生物学(Biology) 1.MIT 开放课程：生物学导论 MIT OpenCourse:7.012 Introduction to Biology 课程链接：http://www.verycd.com/topics/2829182/ * 化学(Chemistry) 1.MIT开放课程： 固态化学导论 MIT OpenCourse:Introduction to Solid State Chemistry 课程链接：http://www.verycd.com/topics/2828243/ * 物理学(Physics) 1.麻省理工电磁学视频课程 MIT&#8211;Physics&#8211;Electricity and Magnetism&#8211;Video Lectures 课程链接1：http://www.verycd.com/topics/2807625/ 课 程链接2：http://www.verycd.com/topics/2807625/ 2. 美国麻省理工之经典力学 classical mechanics 课程链接：http://www.verycd.com/topics/2745060/ * 脑与认知科学(Brain [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds3--><p>无论我们身处专业领域深造研究还是个好学的网友，有一天迫切想找能指导自己学习的课件，来到verycd的教育频道，打出关键字，回车，一个简洁漂亮的菜单，玲琅满目的相关课程。嗯，点击红框，速度不错，这就是我要的。</p>
<p>这就是教育   <br />频道的意义，省去在网络上苦苦搜寻教程无果的遗憾，我们想要做的就是来verycd就是一个习惯，用最快的速度找到了自己想要的资源，不会失望而归。这个    <br />看似简单的小事背后，将是我们教育频道庞大的资料库，而丰富充实资料库都是无私热心网友所编辑所共享，我们会因为资源下面一条条的回复感谢而激动不已，如    <br />此地简单可爱。</p>
<p>感谢每一个用心去分享的朋友，感谢兢兢业业一丝不苟的字幕组。希望你也能参与进来，   <br />参与查漏补缺资源发布：手边的教程，下载的学习视频，所在学校的课件都会让你成为一个独一无二的楼主，为教育频道贡献自己的力量，我们现在做的都是崭新    <br />的！</p>
<p>这是我们一小部分的成果：</p>
<p>麻省理工、台湾国立交通大学、斯坦福大学、TTC课程和耶鲁大学的   <br />优秀开放课程资源，以及一小部分中科院研究生课程VeryCd U资源索引</p>
<p><b>麻省理工 (MIT)</b></p>
<p><img src="http://uhatt.vcimg.com/201006/29/1528366_1277806415zeJH.jpg" /></p>
<p>麻   <br />省理工开放课程主页：<a href="http://home.verycd.com/link.php?url=http://ocw.mit.edu%2Fcourses%2F">http://ocw.mit.edu/courses/</a></p>
<p><b>一.     <br />理学院</b></p>
<p><b>*生物学(Biology)</b></p>
<p> <span id="more-748"></span>
<p><b></b></p>
<p>1.MIT   <br />开放课程：生物学导论 MIT OpenCourse:7.012 Introduction to Biology</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2829182%2F">http://www.verycd.com/topics/2829182/</a></p>
<p><b>*     <br />化学(Chemistry)</b></p>
<p>1.MIT开放课程： 固态化学导论 MIT   <br />OpenCourse:Introduction to Solid State Chemistry</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2829182%2F">http://www.verycd.com/topics/2828243/</a></p>
<p><b>*     <br />物理学(Physics)</b></p>
<p>1.麻省理工电磁学视频课程   <br />MIT&#8211;Physics&#8211;Electricity and Magnetism&#8211;Video Lectures</p>
<p>课程链接1：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2807625%2F">http://www.verycd.com/topics/2807625/</a></p>
<p>课   <br />程链接2：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2807625%2F">http://www.verycd.com/topics/2807625/</a></p>
<p>2.   <br />美国麻省理工之经典力学 classical mechanics</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2745060%2F">http://www.verycd.com/topics/2745060/</a></p>
<p><b>*     <br />脑与认知科学(Brain and Cognitive Sciences)</b></p>
<p>1.MIT开   <br />放式课程:心理学导论2004秋季学期&#160; MIT OpenCourseWare,9.00 Introduction to    <br />Psychology,Fall 2004</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F65161%2F">http://www.verycd.com/topics/65161/</a></p>
<p><b>二.     <br />工程学院</b></p>
<p>*电机工程与计算机科学(Electrical Engineering and   <br />Computer Science)</p>
<p>1. MIT计算机科学及编程导论 MIT Introduction to   <br />Computer Science and Programming</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2830263%2F%2520">http://www.verycd.com/topics/2830263/</a></p>
<p>2.MIT   <br />算法导论 MIT Introduction to Algorithms</p>
<p>课程链接1：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2812654%2F">http://www.verycd.com/topics/2812654/</a></p>
<p>课   <br />程链接2：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F87348%2F">http://www.verycd.com/topics/87348/</a></p>
<p>3.   <br />数字通信原理&#160; Principles of Digital Communications-MIT</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2829316%2F">http://www.verycd.com/topics/2829316/</a></p>
<p><b>三：     <br />高中开放式课程</b></p>
<p>1.哥德尔，埃舍尔，巴赫：一次心灵太空漫游&#160; Godel,   <br />Escher, Bach: A Mental Space Odyssey</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834837%2F">http://www.verycd.com/topics/2834837/</a></p>
<p><b>斯坦福大学 (Stanford)</b></p>
<p><img src="http://uhatt.vcimg.com/201006/29/1528366_1277806405hBV9.gif" /></p>
<p>斯   <br />坦福开放课程主页：<a href="http://home.verycd.com/link.php?url=http://see.stanford.edu%2Fsee%2Fcourses.aspx">http://see.stanford.edu/see/courses.aspx</a></p>
<p>Stanford   <br />Engineering Everywhere：</p>
<p>斯坦福大学的“Stanford Engineering   <br />Everywhere    <br />”免费提供学校里最受欢迎的工科课程，给全世界的学生和教育工作者。得益于这个项目，我们有机会和全世界站在同一个数量级的知识起跑线上。</p>
<p><b>*     <br />计算机科学导论</b></p>
<p>1.斯坦福大学-计算机软件学习课程 Stanford   <br />Engineering Everywhere &#8211; Programming Methodology&amp;AProgramming    <br />Abstractions</p>
<p>课程链接1：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2826147%2F">http://www.verycd.com/topics/2826147/</a></p>
<p>课   <br />程链接2：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2735796%2F">http://www.verycd.com/topics/2735796/</a></p>
<p>2.   <br />斯坦福大学-编程方法 Programming Methodology</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2820089%2F">http://www.verycd.com/topics/2820089/</a></p>
<p><b>*     <br />附属工程学院课程</b></p>
<p>1.斯坦福大学iPhone开发教程 Stanford &#8211;   <br />iPhone Application Programming</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2751791%2F">http://www.verycd.com/topics/2751791/</a></p>
<p><b>*     <br />人工智能</b></p>
<p>1.斯坦福大学网络视频课程之机器人学 Introduction to   <br />robotics</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F432023%2F">http://www.verycd.com/topics/432023/</a></p>
<p>2.   <br />斯坦福大学-机器学习课程 Stanford Engineering Everywhere-MachineLearning</p>
<p>课   <br />程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2727693%2F">http://www.verycd.com/topics/2727693/</a></p>
<p><b>*     <br />斯坦福迷你医学课堂</b></p>
<p>1.斯坦福迷你医学课堂：人类健康之动态 Stanford Mini   <br />Med School : The Dynamics of Human Health</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2825599%2F">http://www.verycd.com/topics/2825599/</a></p>
<p>2.   <br />斯坦福迷你医学课堂：医学、健康及科技前沿 Stanford Mini Med School：Medicine, Human Health,    <br />and the Frontiers of Science</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2824928%2F">http://www.verycd.com/topics/2824928/</a></p>
<p><b>*     <br />斯坦福大学近现代物理专题课程</b></p>
<p>1. 斯坦福大学近现代物理专题课程-经典力学   <br />Stanford Modern Physics &#8211; Classical Mechanics</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2802330%2F">http://www.verycd.com/topics/2802330/</a></p>
<p>2.   <br />斯坦福大学近现代物理专题课程-狭义相对论 Stanford Modern Physics &#8211; Special Relativity</p>
<p>课   <br />程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2777708%2F">http://www.verycd.com/topics/2777708/</a></p>
<p>3.   <br />斯坦福大学近现代物理专题课程-广义相对论&#160; Stanford Modern Physics &#8211; Einstein&#8217;s Theory</p>
<p>课   <br />程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2780010%2F">http://www.verycd.com/topics/2780010/</a></p>
<p>4.   <br />斯坦福大学近现代物理专题课程-统计力学 Stanford Modern Physics &#8211; Statistic Mechanics</p>
<p>课   <br />程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2809139%2F">http://www.verycd.com/topics/2809139/</a></p>
<p>5.   <br />斯坦福大学近现代物理专题课程-宇宙学 Stanford Modern Physics &#8211; Cosmology</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2789959%2F">http://www.verycd.com/topics/2789959/</a></p>
<p>6.   <br />斯坦福大学近现代物理专题课程-量子纠缠-part1 Stanford Modern Physics &#8211; Quantum    <br />Entanglement, Part 1</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2811769%2F">http://www.verycd.com/topics/2811769/</a></p>
<p>7.   <br />斯坦福大学近现代物理专题课程-量子纠缠-part3 Stanford Modern Physics &#8211; Quantum    <br />Entanglement, Part 3</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2813882%2F">http://www.verycd.com/topics/2813882/</a></p>
<p><b>*     <br />线性动力系统教程</b></p>
<p>斯蒂芬博伊德 线性动力系统教程 Stephen Boyd   <br />Course | Linear Dynamical Systems</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2735036%2F">http://www.verycd.com/topics/2735036/</a></p>
<p><b>*Steve     <br />Jobs在2005年对Stanford毕业生的演讲</b></p>
<p>Steve   <br />Jobs在2005年对Stanford毕业生的演讲&#160; Steve Jobs&#8217; 2005 Commencement Address</p>
<p>课   <br />程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F189277%2F">http://www.verycd.com/topics/189277/</a></p>
<p><b>台湾国立交通大学 (NCTU)</b></p>
<p><img src="http://uhatt.vcimg.com/201007/14/1528366_1279088658xof8.jpg" width="191" height="200" /></p>
<p>台湾国立交通大学开放课程开页：<a href="http://home.verycd.com/link.php?url=http://www.tocwc.org.tw%2F">http://www.tocwc.org.tw/</a></p>
<p><b>*     <br />理学院</b></p>
<p>1.普通物理 台湾国立交通大学</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2815424%2F">http://www.verycd.com/topics/2815424/</a></p>
<p>2.   <br />国立交通大学 普通物理实验&#160; Physics experiment</p>
<p>课程链接：<a href="http://home.verycd.com/www.verycd.com/topics/2819715/">www.verycd.com/topics/2819715/</a></p>
<p>3.   <br />台湾国立交通大学开放课程：微积分1 NCTU Open Course Ware:Calculus1</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2760639%2F">http://www.verycd.com/topics/2760639/</a></p>
<p>4.   <br />向量分析&#160; Vector analysis</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2819715%2F">http://www.verycd.com/topics/2819715/</a></p>
<p>5.   <br />复变函数论&#160; Complex Variables and Applications</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2820566%2F">http://www.verycd.com/topics/2820566/</a></p>
<p>6   <br />国立交通大学 偏微分方程(一) Partial Differential Equations</p>
<p>资课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2815420%2F">http://www.verycd.com/topics/2815420/</a></p>
<p>7.   <br />国立交通大学 偏微分方程(二)&#160; Partial Differential Equations</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2815876%2F">http://www.verycd.com/topics/2815876/</a></p>
<p><b>*     <br />讲座</b></p>
<p><b>     <br /></b></p>
<p>1全球化与爱情</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834171%2F">http://www.verycd.com/topics/2834171/</a></p>
<p><b>TTC course</b></p>
<p><img src="http://uhatt.vcimg.com/201007/1/1528366_1277975690Nsif.jpg" width="424" height="55" /></p>
<p>The Teaching Company   <br />美国最著名的大学教育课程制作公司之一，专门聘请世界一流大学的顶尖级教授讲授大学程度的各种课程，并推出课程的磁带，录像带，CD，DVD和学习手册，    <br />因注重学术性，教育性和娱乐性，符合终身学习的时代观念，在业界享有盛誉。由它推出的课程简称为TTC course。</p>
<p>1.TTC   <br />课程集 The Teaching Company</p>
<p>课程链接1：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F108732%2F">http://www.verycd.com/topics/108732/</a></p>
<p>课程链接2：<a href="http://www.verycd.com/topics/2771002/">http://www.verycd.com/topics/2771002/</a></p>
<p>课程链接3：<a href="http://www.verycd.com/topics/108401/">http://www.verycd.com/topics/108401/</a></p>
<p>课程链接4：<a href="http://www.verycd.com/topics/2763612/">http://www.verycd.com/topics/2763612/</a></p>
<p>课程链接5：<a href="http://www.verycd.com/topics/319300/">http://www.verycd.com/topics/319300/</a></p>
<p>2.TTC   <br />&amp; TMS课程集 TTC &amp; TMS Courrses</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2763436%2F">http://www.verycd.com/topics/2763436/</a></p>
<p>3.   <br />激情：感情的哲学与智慧教程&#160; TTC The Passions Philosophy And The Intelligence Of    <br />Emotions-YYePGiSO</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F107802%2F">http://www.verycd.com/topics/107802/</a></p>
<p>4.TTC   <br />课程：二十世纪的乌托邦及其恐怖行为&#160; TTC &#8211; Utopia and Terror in the 20th Century</p>
<p>课程链接：<a href="http://www.verycd.com/topics/2808748/">http://www.verycd.com/topics/2808748/</a></p>
<p>5.TTC   <br />&amp; TMS莎士比亚相关课程 A Collection of TTC &amp; TMS Courses on Shakespeare</p>
<p>课程链接：<a href="http://www.verycd.com/topics/2762013/">http://www.verycd.com/topics/2762013/</a></p>
<p>6.   <br />经济学第3版 TTC VIDEO &#8211; Economics 3rd Edition</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2823677%2F">http://www.verycd.com/topics/2823677/</a></p>
<p><b>耶鲁大学 (Yale)</b></p>
<p><img src="http://uhatt.vcimg.com/201006/30/1528366_1277868855bTHT.jpg.thumb.jpg" width="132" height="133" /></p>
<p>耶鲁大学开放课程主页：<a href="http://home.verycd.com/link.php?url=http://oyc.yale.edu%2F">http://oyc.yale.edu/</a></p>
<p><b>*     <br />天文 (Astronomy)</b></p>
<p>1.耶鲁大学开放课程：天体物理学之探索和争议 Open   <br />Yale course：Frontiers and Controversies in Astrophysics</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2820193%2F">http://www.verycd.com/topics/2820193/</a></p>
<p><b>*     <br />生物医学工程 (Biomedical Engineering)</b></p>
<p>1.耶鲁大学开放课程：   <br />生物医学工程探索 Open Yale course：Frontiers of Biomedical Engineering</p>
<p>课程链接：<a href="http://www.verycd.com/topics/2825693/">http://www.verycd.com/topics/2825693/</a></p>
<p><b>*     <br />化学 (Chemistry)</b></p>
<p>1.耶鲁大学开放课程：新生有机化学 Open Yale   <br />course：Freshman Organic Chemistry</p>
<p>版本1: MOV 高清版 更新完毕</p>
<p>课程链接：<a href="http://www.verycd.com/topics/2824129/">http://www.verycd.com/topics/2824129/</a></p>
<p>版本2: 耶鲁开放式课程/中文字幕/更新到第八课</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834322%2F">http://www.verycd.com/topics/2834322/</a></p>
<p><b>*     <br />古典 (Classics)</b></p>
<p>1.耶鲁大学开放课程：古希腊历史简介 Open Yale   <br />course：Introduction to Ancient Greek History</p>
<p>版本1: MOV 高清版 更新完毕</p>
<p>课程链接：<a href="http://www.verycd.com/topics/2827190/">http://www.verycd.com/topics/2827190/</a></p>
<p>版本2: [YYeTs人人影视出品][中英双语字幕][更新第1节]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2832522%2F">http://www.verycd.com/topics/2832522/</a></p>
<p><b>*     <br />生态学和进化生物学 (Ecology and Evolutionary Biology)</b></p>
<p>1.   <br />耶鲁大学开放课程：进化，生态和行为原理&#160; Open Yale course：Principles of Evolution, Ecology,    <br />and Behavior</p>
<p>版本: MOV 高清版 更新完毕</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2823010%2F">http://www.verycd.com/topics/2823010/</a></p>
<p>2.   <br />耶鲁大学开放课程：生物医学工程探索 Open Yale course：Frontiers of Biomedical Engineering</p>
<p>版   <br />本1: [YYeTs人人影视出品][中英双语字幕][更新第1节]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834278%2F">http://www.verycd.com/topics/2834278/</a></p>
<p>版本2: [TLF出品, 简/繁/英字幕](更新至第二集)</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2832411%2F">http://www.verycd.com/topics/2832411/</a></p>
<p><b>*     <br />经济学 (Economics) </b></p>
<p>1.耶鲁大学开放课程：博弈论&#160; Open Yale   <br />course：Game Theory</p>
<p>版本1: 更新完毕[MOV]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2819856%2F">http://www.verycd.com/topics/2819856/</a></p>
<p>版本2: [YYeTs人人影视出品][中英双语字幕][更新第1节]</p>
<p>发行时间: 2010年06月30日</p>
<p>课程链接：<a href="http://www.verycd.com/topics/2832107/">http://www.verycd.com/topics/2832107/</a></p>
<p>版本3: 压缩包[mp3]含课堂板书和笔记</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2761377%2F">http://www.verycd.com/topics/2761377/</a></p>
<p>2.   <br />耶鲁大学开放课程：金融市场 Open Yale course：Financial Markets</p>
<p>版本1:   <br />[YYeTs人人影视出品][中英双语字幕][更新第4节]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2830134%2F">http://www.verycd.com/topics/2830134/</a></p>
<p>版本2: 高清双语版[MOV]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2815985%2F">http://www.verycd.com/topics/2815985/</a></p>
<p><b>*     <br />文学 (English)</b></p>
<p>1.弥尔顿&#160;&#160; Milton, Fall 2007</p>
<p>2.   <br />耶鲁大学开放课程：1945年后的美国小说 Open Yale course：The American Novel Since 1945</p>
<p>版   <br />本1: 更新完毕[MOV]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2813721%2F">http://www.verycd.com/topics/2813721/</a></p>
<p>版本2: 耶鲁开放式课程/中文字幕/更新第二课</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834197%2F">http://www.verycd.com/topics/2834197/</a></p>
<p>3.   <br />耶鲁大学开放课程：文学理论导论 Open Yale Course：Introduction to Theory of Literature</p>
<p>版本: 更新完毕[MOV]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2827779%2F">http://www.verycd.com/topics/2827779/</a></p>
<p>04</p>
<p>现代诗歌&#160;&#160; Modern Poetry, Spring 2007</p>
<p><b>*历史     <br />(History)</b></p>
<p>1.耶鲁大学开放课程：美国内战与重建，1845-1877 Open   <br />Yale course：The Civil War and Reconstruction Era，1845-1877</p>
<p>版本: 更新完毕[MOV]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2813920%2F">http://www.verycd.com/topics/2813920/</a></p>
<p>2.   <br />耶鲁大学开放课程：欧洲文明 Open Yale course：European Civilization</p>
<p>版本1: MOV   <br />高清版 更新完毕 中文字幕更新第二讲</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2823243%2F">http://www.verycd.com/topics/2823243/</a></p>
<p>版本2: [TLF出品,简/繁/英字幕](更新至第三集)</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2831074%2F">http://www.verycd.com/topics/2831074/</a></p>
<p>版   <br />本3: [YYeTs人人影视出品][中英双语字幕][更新第1节]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2832611%2F">http://www.verycd.com/topics/2832611/</a></p>
<p>3.   <br />耶鲁大学开放课程：1871年后的法国 Open Yale course：France Since 1871</p>
<p>版本: MOV   <br />高清版 更新完毕</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2826754%2F">http://www.verycd.com/topics/2826754/</a></p>
<p><b>*     <br />艺术历史 (History of Art)</b></p>
<p>1.耶鲁大学开放课程：罗马建筑 Open   <br />Yale course：Roman Architecture版本: MOV 高清版 更新完毕 更新第一讲中文字幕课    <br />程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2824114%2F">http://www.verycd.com/topics/2824114/</a></p>
<p><b>*     <br />意大利语言和文学 (Italian Language and Literature)</b></p>
<p>1.   <br />解读但丁 Dante in Translation, Fall 2008</p>
<p><b>*分子，细胞和     <br />发育生物学 (Molecular, Cellular and Developmental Biology)</b></p>
<p>1.   <br />全球人口增长问题 Global Problems of Population Growth, Spring 2009</p>
<p><b>*     <br />音乐 (Music)</b></p>
<p>1.耶鲁大学开放课程：聆听音乐 Open Yale   <br />course：Listening to Music</p>
<p>版本1: 更新完毕[mov]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2814513%2F">http://www.verycd.com/topics/2814513/</a></p>
<p>版本2: [YYeTs人人影视出品][中英双语字幕][更新第1节]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2832525%2F">http://www.verycd.com/topics/2832525/</a></p>
<p><b>*     <br />哲学(Philosophy)</b></p>
<p>1.耶鲁大学开放课程—哲学：死亡 Open Yale   <br />course—Philosophy：Death</p>
<p>版本1: [YYeTs人人影视出品][中英双语字幕][更新到03集]</p>
<p>课   <br />程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2824902%2F">http://www.verycd.com/topics/2824902/</a></p>
<p>版   <br />本2: 26课全（含笔记，另附苏三博客中文章节概要笔记）</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2761032%2F">http://www.verycd.com/topics/2761032/</a></p>
<p><b>*     <br />物理(Physics)</b></p>
<p>1.耶鲁大学开放课程：基础物理 Open Yale   <br />course：Fundamentals of Physics</p>
<p>版本1: MOV 高清版 更新完毕</p>
<p>课程链   <br />接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2825965%2F">http://www.verycd.com/topics/2825965/</a></p>
<p>版   <br />本2: [YYeTs人人影视出品][中英双语字幕][更新第1节]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834907%2F">http://www.verycd.com/topics/2834907/</a></p>
<p><b>*     <br />政治学(Political Science)</b></p>
<p>1.政治哲学导论   <br />Introduction to Political Philosophy</p>
<p>版本: 耶鲁开放式课程/中文字幕/更新到第七课</p>
<p>课   <br />程链接：h<a href="https://www.google.com/">ttp://www.verycd.com/topics/2834189/</a></p>
<p><b>*     <br />心理学(Psychology)</b></p>
<p>1.耶鲁大学开放课程：心理学导论&#160; Open Yale   <br />course：Introduction to Psychology</p>
<p>版本: 更新完毕[MOV]</p>
<p>课程链   <br />接： <a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2824035%2F">http://www.verycd.com/topics/2824035/</a></p>
<p>版   <br />本: [YYeTs人人影视出品][中英双语字幕][更新第4节]</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2827597%2F">http://www.verycd.com/topics/2827597/</a></p>
<p>2.   <br />心理学，生物学和食品政治 The Psychology, Biology and Politics of Food, Fall 2008</p>
<p><b>*     <br />宗教研究(Religious Studies)</b></p>
<p>1.耶鲁大学开放课程：旧约全书导论   <br />Open Yale Course：Introduction to the Old Testament (Hebrew Bible)</p>
<p>版   <br />本: 开放式课程更新第一集</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834690%2F">http://www.verycd.com/topics/2834690/</a></p>
<p>2.   <br />耶鲁大学开放课程：新约及其历史背景 Open Yale course：Introduction to New Testament History    <br />and Literature</p>
<p>版本: MOV 高清版 更新完毕</p>
<p>课程链接：<a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2826569%2F">http://www.verycd.com/topics/2826569/</a></p>
<p><b>中科院研究生课程</b></p>
<p><img src="http://image-7.verycd.com/c04df0f44df89883cbd846a8cc26087318546/thumbCA0V6Y1G.jpg" width="189" height="190" /></p>
<p>中科院研究生课程主页(非开放) <a href="http://home.verycd.com/link.php?url=http://210.76.200.32%2F">http://210.76.200.32/</a></p>
<p>遗憾的是网址是中科院内部课件，非中科院的学生无法观看。所以特别感谢121786404同学珍贵的中科院课程资源，以下课程皆为121786404从淘宝   <br />购买后个人发布分享，非常感谢,同时也希望有中科院课程的朋友可以分享给大家。主题贴：<a href="http://home.verycd.com/link.php?url=http://home.verycd.com%2Fspace.php%3Fuid%3D2820590%26amp%3Bdo%3Dthread%26amp%3Bid%3D54132">http://home.verycd.com/space.php?uid=2820590&amp;do=thread&amp;id=54132</a></p>
<p>计算机控制系统:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834350%2F">http://www.verycd.com/topics/2834350/</a></p>
<p>算法设计与分析:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834326%2F%2520">http://www.verycd.com/topics/2834326/ </a></p>
<p>矩阵分析:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834343%2F">http://www.verycd.com/topics/2834343/</a></p>
<p>数值分析:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834723%2F">http://www.verycd.com/topics/2834723/</a></p>
<p>模式识别:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834722%2F">http://www.verycd.com/topics/2834722/</a></p>
<p>小波与傅里叶分析:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834339%2F">http://www.verycd.com/topics/2834339/</a></p>
<p>小波域图像处理:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834337%2F">http://www.verycd.com/topics/2834337/</a></p>
<p>小波与滤波器组:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834813%2F">http://www.verycd.com/topics/2834813/</a></p>
<p>视觉分析和理解进展:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834331%2F">http://www.verycd.com/topics/2834331/</a></p>
<p>现代计算机视觉:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834158%2F">http://www.verycd.com/topics/2834158/</a></p>
<p>数字图像处理与分析:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834274%2F">http://www.verycd.com/topics/2834274/</a></p>
<p>数字图像处理与通信:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834816%2F">http://www.verycd.com/topics/2834816/</a></p>
<p>机器学习与图像视频分析:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834156%2F">http://www.verycd.com/topics/2834156/</a></p>
<p>信号及图像处理的框架和伪框架方法:</p>
<p><a href="http://home.verycd.com/link.php?url=http://www.verycd.com%2Ftopics%2F2834721%2F">http://www.verycd.com/topics/2834721/</a></p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.zhblog.net/archives/748.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ie和火狐兼容问题</title>
		<link>http://www.zhblog.net/archives/747.html</link>
		<comments>http://www.zhblog.net/archives/747.html#comments</comments>
		<pubDate>Wed, 30 Jun 2010 14:52:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程其他]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.zhblog.net/archives/747.html</guid>
		<description><![CDATA[1. document.form.item 问题 (1)现有问题： 现有代码中存在许多 document.formName.item(&#34;itemName&#34;) 这样的语句，不能在Firefox(火狐)下运行 (2)解决方法： 改用 document.formName.elements[&#34;elementName&#34;] 2. 集合类对象问题 (1)现有问题： 现有代码中许多集合类对象取用时使用 ()，IE 能接受，Firefox(火狐)不能。 (2)解决方法： 改用 [] 作为下标运算。如：document.forms(&#34;formName&#34;) 改为 document.forms[&#34;formName&#34;]。 又如：document.getElementsByName(&#34;inputName&#34;)(1) 改为 document.getElementsByName(&#34;inputName&#34;)[1] 3. window.event (1)现有问题： 使用 window.event 无法在火狐浏览器上运行 (2)解决方法： 火狐 的 event 只能在事件发生的现场使用，此问题暂无法解决。可以这样变通： 原代码(可在IE中运行)： &#60;br /&#62;&#60;input type=&#34;button&#34; name=&#34;someButton&#34; value=&#34;提交&#34; onclick=&#34;javascript:gotoSubmit()&#34;/&#62;&#60;br /&#62;&#8230;&#60;br /&#62;&#60;script language=&#34;javascript&#34;&#62;&#60;br /&#62;function gotoSubmit() {&#60;br /&#62;&#8230;&#60;br /&#62;alert(window.event); // use window.event&#60;br /&#62;&#8230;&#60;br [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds3--><p><strong>1. document.form.item 问题</strong>    <br />(1)现有问题：    <br />现有代码中存在许多 document.formName.item(&quot;itemName&quot;) 这样的语句，不能在Firefox(火狐)下运行    <br />(2)解决方法：    <br />改用 document.formName.elements[&quot;elementName&quot;]</p>
<p><strong>2. 集合类对象问题</strong>    <br />(1)现有问题：    <br />现有代码中许多集合类对象取用时使用 ()，IE 能接受，Firefox(火狐)不能。    <br />(2)解决方法：    <br />改用 [] 作为下标运算。如：document.forms(&quot;formName&quot;) 改为 document.forms[&quot;formName&quot;]。    <br />又如：document.getElementsByName(&quot;inputName&quot;)(1) 改为 document.getElementsByName(&quot;inputName&quot;)[1]</p>
<p> <span id="more-747"></span>
<p><strong>3. window.event</strong>    <br />(1)现有问题：    <br />使用 window.event 无法在火狐浏览器上运行    <br />(2)解决方法：    <br />火狐 的 event 只能在事件发生的现场使用，此问题暂无法解决。可以这样变通：    <br />原代码(可在IE中运行)： &lt;br /&gt;&lt;input type=&quot;button&quot; name=&quot;someButton&quot; value=&quot;提交&quot; onclick=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>:gotoSubmit()&quot;/&gt;&lt;br /&gt;&#8230;&lt;br /&gt;&lt;script language=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>&quot;&gt;&lt;br /&gt;function gotoSubmit() {&lt;br /&gt;&#8230;&lt;br /&gt;alert(window.event); // use window.event&lt;br /&gt;&#8230;&lt;br /&gt;}&lt;br /&gt;&lt;/script&gt;</p>
<p>新代码(可在IE和火狐中运行)： &lt;input type=&quot;button&quot; name=&quot;someButton&quot; value=&quot;提交&quot; onclick=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>:gotoSubmit(event)&quot;/&gt;&lt;br /&gt;&#8230;&lt;br /&gt;&lt;script language=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>&quot;&gt;&lt;br /&gt;function gotoSubmit(evt) {&lt;br /&gt;evt = evt ? evt : (window.event ? window.event : null);&lt;br /&gt;&#8230;&lt;br /&gt;alert(evt); // use evt&lt;br /&gt;&#8230;&lt;br /&gt;}&lt;br /&gt;&lt;/script&gt;   <br />此外，如果新代码中第一行不改，与老代码一样的话(即 gotoSubmit 调用没有给参数)，则仍然只能在IE中运行，但不会出错。所以，这种方案 tpl 部分仍与老代码兼容。</p>
<p><strong>4. <a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a> 对象的 id 作为对象名的问题     <br /></strong>(1)现有问题    <br />在 IE 中，<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a> 对象的 ID 可以作为 document 的下属对象变量名直接使用。在火狐中不能。    <br />(2)解决方法    <br />用 getElementById(&quot;idName&quot;) 代替 idName 作为对象变量使用。</p>
<p><strong>5. 用idName字符串取得对象的问题</strong>    <br />(1)现有问题    <br />在IE中，利用 eval(idName) 可以取得 id 为 idName 的 <a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a> 对象，在火狐中不能。    <br />(2)解决方法    <br />用 getElementById(idName) 代替 eval(idName)。</p>
<p><strong>6. 变量名与某 <a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a> 对象 id 相同的问题</strong>    <br />(1)现有问题    <br />在 火狐 中，因为对象 id 不作为 <a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a> 对象的名称，所以可以使用与 <a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a> 对象 id 相同的变量名，IE中能。    <br />(2)解决方法    <br />在声明变量时，一律加上 var ，以避免歧义，这样在 IE 中亦可正常运行。    <br />此外，最好不要取与 <a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">HTML</a> 对象 id 相同的变量名，以减少错误。</p>
<p><strong>7. event.x 与 event.y 问题 </strong>    <br />(1)现有问题    <br />在IE 中，event 对象有 x, y 属性，火狐中没有。    <br />(2)解决方法    <br />在火狐中，与event.x 等效的是 event.pageX。但event.pageX IE中没有。    <br />故采用 event.clientX 代替 event.x。在IE 中也有这个变量。    <br />event.clientX 与 event.pageX 有微妙的差别（当整个页面有滚动条的时候），不过大多数时候是等效的。</p>
<p>如果要完全一样，可以稍麻烦些：   <br />mX = event.x ? event.x : event.pageX;    <br />然后用 mX 代替 event.x    <br />(3)其它    <br />event.layerX 在IE与火狐中都有，具体意义有无差别尚未试验。</p>
<p><strong>8. 关于frame</strong>    <br />(1)现有问题    <br />在 IE中 可以用window.testFrame取得该frame，火狐中不行    <br />(2)解决方法    <br />在frame的使用方面火狐和ie的最主要的区别是：    <br />如果在frame标签中书写了以下属性：    <br />&lt;frame src=&quot;xx.htm&quot; id=&quot;frameId&quot; name=&quot;frameName&quot; /&gt;    <br />那么ie可以通过id或者name访问这个frame对应的window对象    <br />而火狐只可以通过name来访问这个frame对应的window对象    <br />例如如果上述frame标签写在最上层的window里面的htm里面，那么可以这样访问    <br />ie： window.top.frameId或者window.top.frameName来访问这个window对象    <br />火狐： 只能这样window.top.frameName来访问这个window对象</p>
<p>另外，在火狐和ie中都可以使用 window.top.document.getElementById(&quot;frameId&quot;)来访问frame标签   <br />并且可以通过window.top.document.getElementById(&quot;testFrame&quot;).src = &#8216;xx.htm&#8217;来切换frame的内容    <br />也都可以通过window.top.frameName.location = &#8216;xx.htm&#8217;来切换frame的内容    <br />关于frame和window的描述可以参见bbs的‘window与frame’文章    <br />以及/test/js/test_frame/目录下面的测试</p>
<p><strong>9. 在火狐中，自己定义的属性必须getAttribute()取得</strong></p>
<p><strong>10.在火狐中没有 parentElement parement.children 而用</strong>    <br />parentNode parentNode.childNodes    <br />childNodes的下标的含义在IE和火狐中不同，火狐使用DOM规范，childNodes中会插入空白文本节点。    <br />一般可以通过node.getElementsByTagName()来回避这个问题。    <br />当<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>中节点缺失时，IE和火狐对parentNode的解释不同，例如    <br />&lt;form&gt;    <br />&lt;table&gt;    <br />&lt;input/&gt;    <br />&lt;/table&gt;    <br />&lt;/form&gt;    <br />火狐中input.parentNode的值为form, 而IE中input.parentNode的值为空节点</p>
<p>火狐中节点没有removeNode方法，必须使用如下方法 node.parentNode.removeChild(node)</p>
<p><strong>11.const 问题     <br /></strong>(1)现有问题:    <br />在 IE 中不能使用 const 关键字。如 const constVar = 32; 在IE中这是语法错误。    <br />(2)解决方法:    <br />不使用 const ，以 var 代替。</p>
<p>12. body 对象   <br />火狐的body在body标签没有被浏览器完全读入之前就存在，而IE则必须在body完全被读入之后才存在</p>
<p>13. url encoding   <br />在js中如果书写url就直接写&amp;不要写&amp;amp;例如var url = &#8216;xx.jsp?objectName=xx&amp;amp;objectEvent=xxx&#8217;;    <br />frm.action = url那么很有可能url不会被正常显示以至于参数没有正确的传到服务器    <br />一般会服务器报错参数没有找到    <br />当然如果是在tpl中例外，因为tpl中符合xml规范，要求&amp;书写为&amp;amp;    <br />一般火狐无法识别js中的&amp;amp;</p>
<p><strong>14. nodeName 和 tagName 问题     <br /></strong>(1)现有问题：    <br />在火狐中，所有节点均有 nodeName 值，但 textNode 没有 tagName 值。在 IE 中，nodeName 的使用好象    <br />有问题（具体情况没有测试，但我的IE已经死了好几次）。    <br />(2)解决方法：    <br />使用 tagName，但应检测其是否为空。</p>
<p><strong>15. 元素属性</strong>    <br />IE下 input.type属性为只读，但是火狐下可以修改</p>
<p><strong>16. document.getElementsByName() 和 document.all[name] 的问题</strong>    <br />(1)现有问题：    <br />在 IE 中，getElementsByName()、document.all[name] 均不能用来取得 div 元素（是否还有其它不能取的元素还不知道）。</p>
<p><strong>17.最简单的鼠标移过手变型的<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">css</a>要改了</strong></p>
<p>cursor:pointer;/*ff不支持cursor:hand*/ dw8下面自动出来的也没有hand这个属性了，标准的是pointer</p>
<p><strong>18.ff不支持滤镜 最常见的半透明不支持。</strong></p>
<p>filter: Alpha(Opacity=50); /* for IE */   <br />opacity: .5;/* for Firefox */</p>
<p>style=&quot;-moz-opacity:0.5; filter:alpha(opacity=50);cursor:hand;&quot; onmouseover=&quot;this.style.MozOpacity=1;   <br />this.filters.alpha.opacity=100&quot; onmouseout=&quot;this.style.MozOpacity=0.5;    <br />this.filters.alpha.opacity=50&quot;</p>
<p><strong>19.ff不支持expression 例如去掉链接的边框要分别写不同的<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">css</a></strong></p>
<p>a,area { blr:expression(this.onFocus=this.blur()) } /* for IE */   <br />:focus { outline: none; } /* for Firefox */</p>
<p><strong>20.ff不支持div滚动条的颜色设置，目前还没有找到替换的 好方法。</strong></p>
<p>.contendiv {   <br />position: absolute; left: 0px; top: 10px; width: 580px;height: 135px;    <br />line-height:120%;text-align:left; font-family:&quot;宋体&quot;;word-break : break-all; color:#6D6E71;    <br />OVERFLOW-Y:auto;OVERFLOW-X:no;    <br />SCROLLBAR-ARROW-COLOR: red; SCROLLBAR-TRACK-COLOR: F6F6F6;SCROLLBAR-FACE-COLOR:#F6F6F6;SCROLLBAR-SHADOW-COLOR:#F6F6F6;    <br />SCROLLBAR-DARKSHADOW-COLOR:#F6F6F6;SCROLLBAR-3DLIGHT-COLOR:#F6F6F6;SCROLLBAR-HIGHLIGHT-COLOR:#F6F6F6;    <br />}</p>
<p>这个在ff里面完全没有效果了。</p>
<p><strong>21.ie下面显示在文字下面横线的</strong></p>
<p>border-width: 0px 0px 1px 0px;在ff里面跑到文字上面去了。（查了手册还是没有找到解决的办法感觉莫名奇妙～～ 原来是ff的容错能力太差了，是下面的width: 186px;height: 0px;宽高 引起的，其实a:haver已经继承了上级的属性了，只要定义不同的样式就可以了，看来ff有助于制作标准化，简洁化的网页啊，对<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">css</a>的理解也更深刻， 对提供<a href="http://www.zhblog.net/archives/tag/css" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">css</a>来说是个很好的帮助）</p>
<p>.onelinksdiv a:hover {   <br />display: block;border-style: solid;color: #ff0000;border-width: 0px 0px 1px 0px;    <br />/*    <br />display: block;border-style: solid; border-width: 0px 0px 1px 0px;    <br />width: 186px;height: 0px; color: #ff0000; font-size: 14px;text-align: right;    <br />*/    <br />}</p>
<p>//下面的写法在ie下面正常，但在ff下是错误的</p>
<p>.onelinksdiv a:hover {   <br />display: block;border: #ff0000 solid; border-width: 0px 0px 1px 0px;    <br />width: 186px;height: 0px; color: #ff0000; font-size: 14px;text-align: right;    <br />}</p>
<p>相关参考资料：</p>
<p>border-width:border-top-width border-right-width border-bottom-width border-left-width;</p>
<p>p#fourborders   <br />{    <br />border-width:thick medium thin 12px;    <br />}</p>
<p>如果定义四个值,那么这四个值就分别是上,右,下,左边框的宽度值(从上边框开 始,以逆时针的顺序遍历).</p>
<p>等价于下面的定义</p>
<p>p#fourborders   <br />{    <br />border-top-width:thick;    <br />border-right-width:medium;    <br />border-bottom-width:thin;    <br />border-left-width:12px;    <br />}</p>
<p><strong>22.ff不支持&lt;body scroll=&quot;no&quot; &gt; scroll属性</strong></p>
<p>必须定义overflow:hidden;而且要在<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>标签下，不能在 body下</p>
<p><a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>{   <br />overflow:hidden;    <br />}</p>
<p><strong>23.ff不支持数据岛绑定</strong></p>
<p>&lt;xml id=&quot;news&quot; src=&quot;news.xml&quot; &gt;&lt;/xml&gt;在ie下可以加载进数据，但到了火狐就加载不进数据了，开始以为可能是因为内容行文字太多导致不能断行不能加载，但删除 只剩几个字以后一样不行。</p>
<p>24.style=&quot;word-break:break-all&quot;在网页中的单元 格里的内容超出一行时,在ie浏览器里定义的换行样式能够正常使 用,但在firefox里却不能被支持了.style=&quot;word-break:break-all&quot; 是MS扩展的IE专有属性，并未成为W3C标准，因而 Firefox 还不能支持它。不过MS已经将其提交到了W3C，而在W3C的CSS3的候选方案中也能看到它。希望这个属性在被W3C最终定案的为CSS3标准 后，Firefox可以支持吧。这之前，可以试试   <br />style=&quot;table-layout:fixed;word-wrap: break-word&quot; （当它是英文的时候就不能正常换行了）</p>
<p><strong>25.目前FF2.0为止都不支持IE的name锚 点</strong></p>
<p>像这种写法都是不支持的：&lt;a href=&quot;###&quot; onclick=&quot;history.go(-1)&quot;&gt;go back&lt;/a&gt;   <br />原来根据W3C的语法，&lt;a&gt;标签始终都会查找href地址并跳转过去，现在onclick事件与###这个地址又有冲突。</p>
<p>为了让Firefox与IE部分元素属性兼容，那个费劲，我无意中发现 Firefox对空格敏感：   <br />&lt;a onclick=&quot;window.location.href =&#8217;faq.php?page=messages#2&#8242;&quot;&gt; //有空格，锚点作用    <br />&lt;a onclick=&quot;window.location.href=&#8217;faq.php?page=messages#2&#8242;&quot;&gt; //无空格，锚点无作用</p>
<p>锚点的写法又十分讲究，比如&lt;a name=#1&gt;，Firefox不支持锚点，得加上id=#1   <br />静态同页面引用时必须这样写：&lt;a href=&quot;#1&quot;&gt;&lt;/a&gt;，&lt;a href=&quot;static.<a href="http://www.zhblog.net/archives/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>#1&quot;&gt;&lt;/a&gt;就不行，动态页面要用JS</p>
<p>后遗症来了，考虑到鼠标样式和浏览器兼容又开始折腾：   <br />&lt;a href=&quot;###&quot; onclick=&quot;&quot;&gt; //不兼容    <br />&lt;a href=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>:;&quot; onclick=&quot;&quot;&gt; //不兼容    <br />&lt;a href=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>:function();&quot;&gt;&#160;&#160; //没有{&#8230;},属于脚本的非法书写    <br />&lt;a style=&quot;cursor:hand&quot; onclick=&quot;&quot;&gt; //没照顾到自定义系统鼠标样式的用户    <br />&lt;a href=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>:onclick=&#8221;&quot;&gt; //状态栏会显现，href有多长显示多长    <br />&lt;a href=# onclick=&quot;&quot;&gt; //我用的</p>
<p><strong>26.ff火狐下面不支持document.all 属性的，</strong>必需用document.getElementById(&#8216;idName&#8217;);</p>
<p>以下是我的动画切换效果，在ie下正常，到了火狐里面就不动了，修改后可以切换图 片但渐隐渐现的效果就没有了。原因是火狐不支持滤镜filter,只好用半透明的div来实现了。</p>
<p>&#160;&#160; /*   <br />company page    <br />*/    <br />function playcompanyimg()    <br />{</p>
<p>window.setInterval(&#8216;changecompanyimg();&#8217;, interval);   <br />}    <br />function changecompanyimg()    <br />{    <br />/*    <br />火狐下面不支持document.all属性的，必需用document.getElementById(&#8216;idName&#8217;);    <br />*/    <br />&#160;&#160;&#160; //if (document.all)    <br />//{</p>
<p>&#160;&#160; /**   <br />&#160;&#160; 以下两句是在切换效果前切换背景图片的代码，number、image和idtemp要设置全局变量才可以    <br />&#160;&#160; */    <br />number = Math.floor(Math.random() * image.length);    <br />&#160;&#160; idtemp.src=image[number];    <br />&#160;&#160; //alert(number+&quot; ii &quot;+idtemp.src)    <br />&#160;&#160; /**    <br />&#160;&#160; 以下两句是实现幻灯片切换效果的    <br />&#160;&#160; */    <br />&#160;&#160; //alert(do_transition);    <br />&#160;&#160; //document.all.companyimg.style.filter=&quot;progid:DXImageTransform.Microsoft.Fade(duration=2,overlap=0.4)&quot;;    <br />&#160;&#160; /*    <br />&#160;&#160; document.all.companyimg.style.filter=&quot;progid:DXImageTransform.Microsoft.Fade(duration=1,overlap=1)&quot;;    <br />&#160;&#160; document.all.companyimg.filters[0].Apply();    <br />&#160;&#160; document.all.companyimg.filters[0].Play();    <br />&#160;&#160; */    <br />&#160;&#160; var companyimgidtmep = document.getElementById(&#8216;companyimg&#8217;);    <br />&#160;&#160; companyimgidtmep.style.filter=&quot;progid:DXImageTransform.Microsoft.Fade(duration=1,overlap=1)&quot;;    <br />&#160;&#160; companyimgidtmep.filters[0].Apply();    <br />&#160;&#160; companyimgidtmep.filters[0].Play();    <br />&#160;&#160;&#160; //}    <br />}</p>
<p>参考资料：核 心：FILTER:revealTrans(duration=1,transition=23); 一个IE滤镜，&#160;&#160; <br />在其它的非IE浏览器虽然不支持这个滤镜，但是支持透明滤镜的，你可以分一下，IE下继续使用你这个效果，而在非IE浏览器下用透明滤镜：</p>
<p>style.opacity   <br />opacity = 0.5 CSS3</p>
<p>style.MozOpacity   <br />-moz-opacity: 0.5 Mozilla 里等同上面这个滤镜 这个滤镜也适用于Netscape</p>
<p>style.KHTMLOpacity   <br />-khtml-opacity: 0.5 Safari 里的透明滤镜。</p>
<p>IE：   <br />obj.filters.alpha.opacity</p>
<p>to meizz(梅花雪)   <br />其实我想过你那个问题的。但是透明 opacity 这个他不是一个渐变的过程。    <br />一般这种图片过度特效最多持续一秒把，最多最多两秒 duration=2    <br />超过2秒就很累赘，喧宾夺主了。    <br />在2秒钟里面实现    <br />g_img.style.filter=&quot;alpha(opacity=&quot;+i+&quot;)&quot; 透明度的变化是比较累赘的事情。    <br />要用 window.setInterval 改变 i 的值， 而且还要调用几十上百次window.setInterval    <br />才能看到效果。    <br />这样的话，我觉得得不赔失，是为了特效而特效了</p>
<p>另外一种考虑是，毕竟非ie浏览器是少数，即使在ff下 没有图片过度特效，其实也没什么，   <br />还是很流畅，不过就是看不到ie里面的美而已。</p>
<p><strong>27.ff下链接的onclick事件不起作用</strong></p>
<p>&lt;div id=&quot;bigwhatwedo&quot; &gt;&lt;a href=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>:onclick = display(&#8216;whatwedo&#8217;)&quot; target=&quot;&quot;&gt;我们做什么&lt;/a&gt;&lt;/div&gt; 在ie下没有问题，在ff下点击了没有反应。作了多次尝试，换成onclick=&quot;display(&#8216;whatwedo&#8217;)&quot;仍然不行，后来通过多次检 查，搜索仍然找不到门路，最后采用惯用的方法－－一步一步alert();出来看效果，原来他妈的是一个id的值写错了，但奇怪的是ie下面没有关系？是 ie的容错内容太强了还是火狐的容错内容太差了？不过还是喜欢火狐的严谨和标准哈。可以让人发现不少深层次的东西。哈哈。</p>
<p><strong>28.ff中div定位不能通过js初始化</strong></p>
<p>必须先设定值并且要设定度量单位 top:80px;left:212px;</p>
<p><strong>29.ff不能用.click();方法打开链接， 终于暂时性的解决了</strong></p>
<p>&lt;div&gt;&lt;a href=&quot;#&quot; onclick=&quot;test1(2)&quot; id=&quot;a3_a&quot;&gt;hello&lt;/a&gt; &lt;/div&gt;   <br />&lt;div&gt;    <br />&lt;a href=&quot;&quot; onclick =&quot;test2(1)&quot; id=&quot;b3&quot;&gt;hello2&lt;/a&gt;&lt;/div&gt;    <br />&lt;div&gt;&lt;a href=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>:onclick =test2(1)&quot; id=&quot;b3&quot;&gt;hello3&lt;/a&gt;触发事件放在href=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>:onclick =test2(1)&quot; 里面ff无效&lt;/div&gt;    <br />&lt;div onclick=&quot;test2(1)&quot; id=&quot;b3&quot;&gt;hello3&lt;/div&gt;&#160;&#160;&#160;&#160; <br />&lt;script language=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>&quot;&gt;    <br />&lt;!&#8211;    <br />function test1(num)&#160;&#160; <br />&#160;&#160; {&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160; window.alert(num);&#160;&#160; <br />&#160;&#160;&#160; }&#160;&#160; <br />&#160;&#160;&#160; function test2(num)&#160;&#160; <br />&#160;&#160;&#160; {&#160;&#160; <br />var aaa_a = document.getElementById(&quot;a3_a&quot;);    <br />&#160;&#160;&#160;&#160;&#160;&#160; if(document.all)&#160;&#160;&#160;&#160;&#160; {//if(getOs()==&quot;MSIE&quot;){//IE的处理    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; aaa_a.click();&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; }&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160; else    <br />&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160; var evt = document.createEvent(&quot;MouseEvents&quot;);    <br />&#160;&#160;&#160;&#160;&#160;&#160; evt.initEvent(&quot;click&quot;,true,true);    <br />&#160;&#160;&#160;&#160;&#160;&#160; aaa_a.dispatchEvent(evt);    <br />&#160;&#160;&#160;&#160; }&#160;&#160; <br />&#160;&#160; }&#160; </p>
<p>/*</p>
<p>判断浏览器类型</p>
<p>*/   <br />function getOs()    <br />{    <br />&#160;&#160;&#160; var OsObject = &quot;&quot;;    <br />&#160;&#160; if(navigator.userAgent.indexOf(&quot;MSIE&quot;)&gt;0) {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return &quot;MSIE&quot;;    <br />&#160;&#160; }    <br />&#160;&#160; if(isFirefox=navigator.userAgent.indexOf(&quot;Firefox&quot;)&gt;0){    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return &quot;Firefox&quot;;    <br />&#160;&#160; }    <br />&#160;&#160; if(isSafari=navigator.userAgent.indexOf(&quot;Safari&quot;)&gt;0) {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return &quot;Safari&quot;;    <br />&#160;&#160; }    <br />&#160;&#160; if(isCamino=navigator.userAgent.indexOf(&quot;Camino&quot;)&gt;0){    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return &quot;Camino&quot;;    <br />&#160;&#160; }    <br />&#160;&#160; if(isMozilla=navigator.userAgent.indexOf(&quot;Gecko/&quot;)&gt;0){    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return &quot;Gecko&quot;;    <br />&#160;&#160; }    <br />}</p>
<p>//&#8211;&gt;&#160;&#160; &lt;/script&gt;</p>
<p>&lt;!&#8211; 由于这里的链接是index的iframe用href=&quot;#&quot; 在ie中无法正常显示，   <br />而用href=&quot;<a href="http://www.zhblog.net/archives/tag/javascript" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a>:onclick = display(&#8216;whatwedo&#8217;)&quot;的方式火狐不支持打开第一个链接，火狐必须用onclick=&quot;display(&#8216;whoweare&#8217;)&quot;    <br />本以为火狐浏览器使用的人很多，但从网站的统计分析来看火狐只有可怜的3.18%，但兼容他的标准确花费不少精力！不过标准化有利于以后的维护和扩展，有 利于技术的不断提示。    <br />&#8211;&gt;</p>
<p><strong>30.OVERFLOW- Y:auto;OVERFLOW-X:hidden;在ie里面可以用no表示隐藏，但在ff里面必须用hidden</strong></p>
<p>－－－－－－－－－－－－－－－－－－－－－－－－－</p>
<p>总结一下：目前有十个不兼容问题，还没解决的有：</p>
<p>1.ff不支持div滚动条的颜色设置，目前还没有找到替换的好方法，在许多标准 化的网站看到也是没有解决这个问题。</p>
<p>2.ff不支持数据岛绑定&lt;xml id=&quot;news&quot; src=&quot;news.xml&quot; &gt;&lt;/xml&gt;在ie下可以加载进数据，但到了火狐就加载不进数据了，开始以为可能是因为内容行文字太多导致不能断行不能加载，但删除 只剩几个字以后一样不行。用w3c代码检测软件检测了一下，原来是自定义的xml标签通不过，所以火狐就不认了。</p>
<p>3.火狐不支持滤镜filter，无法实现图片切换中间变换的效果，只能通过透明 度来设置，但很麻烦.（这个目前暂不实现了）</p>
<p>每天学习一点点!</p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.zhblog.net/archives/747.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
