<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: ppk on JavaScript第二章：背景（完结篇）</title>
	<atom:link href="http://chen.xianan.name/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://chen.xianan.name/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/</link>
	<description>web 标准，前端开发，编程感悟，生活杂想</description>
	<lastBuildDate>Mon, 22 Feb 2010 09:15:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Herman</title>
		<link>http://chen.xianan.name/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/comment-page-1/#comment-58739</link>
		<dc:creator>Herman</dc:creator>
		<pubDate>Fri, 18 Apr 2008 02:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/#comment-58739</guid>
		<description>怎么可以在某一段代码加载完以后，外部调用函数
类似这种的：
&lt;a href=&quot;niceimage.jpg&quot; rel=&quot;nofollow&quot;&gt;Nice image!&lt;/a&gt;
document.getElementById(&#039;nice&#039;).onclick = function () {
    showPopup(this.href);
}
我需要在某一个div内的元素全部加载完以后调用

new ActiveTab(&quot;tab1&quot;, &quot;cont1&quot;, false, &quot;click&quot;);

这段代码</description>
		<content:encoded><![CDATA[<p>怎么可以在某一段代码加载完以后，外部调用函数<br />
类似这种的：<br />
<a href="niceimage.jpg" rel="nofollow">Nice image!</a><br />
document.getElementById(&#8216;nice&#8217;).onclick = function () {<br />
    showPopup(this.href);<br />
}<br />
我需要在某一个div内的元素全部加载完以后调用</p>
<p>new ActiveTab(&#8220;tab1&#8243;, &#8220;cont1&#8243;, false, &#8220;click&#8221;);</p>
<p>这段代码</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GalaxySong</title>
		<link>http://chen.xianan.name/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/comment-page-1/#comment-23482</link>
		<dc:creator>GalaxySong</dc:creator>
		<pubDate>Mon, 25 Jun 2007 07:06:46 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/#comment-23482</guid>
		<description>我不太赞成假设用户会在禁用 JS 的情况下还指望网站（尤其是大量应用 Ajax 的网站）能够正常使用。
当然，我也同意给与硬编码以足够的重视。至少，硬编码对于搜索引擎能够表现友好。从内容与形式相分离的需要来看，内容应该尽可能交给硬编码。（有些网站似乎恨不得整个页面都用 JS document.write 出来，怎不知道这样做有什么好处。）
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt; 的做法是不好的。它会让网页跳转到顶部，所以应该写成 &lt;/a&gt;&lt;a href=&quot;void(0)&quot; rel=&quot;nofollow&quot;&gt;。由于这种锚点更像按钮，已经不具有让搜索引擎识别的功能，我更愿意把它视为“伪按钮” widget，用 JS 来软编码。&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>我不太赞成假设用户会在禁用 JS 的情况下还指望网站（尤其是大量应用 Ajax 的网站）能够正常使用。<br />
当然，我也同意给与硬编码以足够的重视。至少，硬编码对于搜索引擎能够表现友好。从内容与形式相分离的需要来看，内容应该尽可能交给硬编码。（有些网站似乎恨不得整个页面都用 JS document.write 出来，怎不知道这样做有什么好处。）<br />
<a href="#" rel="nofollow"> 的做法是不好的。它会让网页跳转到顶部，所以应该写成 </a><a href="void(0)" rel="nofollow">。由于这种锚点更像按钮，已经不具有让搜索引擎识别的功能，我更愿意把它视为“伪按钮” widget，用 JS 来软编码。</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://chen.xianan.name/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/comment-page-1/#comment-12599</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Wed, 14 Mar 2007 11:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/#comment-12599</guid>
		<description>怎么停下来了，我是看了你的笔记才下载了原文的，呵呵。 不过下载后就看了一章，现在要做毕业设计了，决定翻译这本书的一章，作为毕业设计的一部份，希望能参考你的资料。^_^</description>
		<content:encoded><![CDATA[<p>怎么停下来了，我是看了你的笔记才下载了原文的，呵呵。 不过下载后就看了一章，现在要做毕业设计了，决定翻译这本书的一章，作为毕业设计的一部份，希望能参考你的资料。^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 小智</title>
		<link>http://chen.xianan.name/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/comment-page-1/#comment-4696</link>
		<dc:creator>小智</dc:creator>
		<pubDate>Thu, 04 Jan 2007 03:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/#comment-4696</guid>
		<description>很好，很累！</description>
		<content:encoded><![CDATA[<p>很好，很累！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: forestgan</title>
		<link>http://chen.xianan.name/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/comment-page-1/#comment-4686</link>
		<dc:creator>forestgan</dc:creator>
		<pubDate>Wed, 03 Jan 2007 09:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/01/01/ppk-on-javascript-study-note-part02-3/#comment-4686</guid>
		<description>var isSupported = [check JavaScript support];
这句语句FF会报错的，第一次是在24way.

在我这里，只有写成下面这样才行。
var isSupported = [&#039;check JavaScript support&#039;];

？</description>
		<content:encoded><![CDATA[<p>var isSupported = [check JavaScript support];<br />
这句语句FF会报错的，第一次是在24way.</p>
<p>在我这里，只有写成下面这样才行。<br />
var isSupported = ['check JavaScript support'];</p>
<p>？</p>
]]></content:encoded>
	</item>
</channel>
</rss>
