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

<channel>
	<title>爱人-爱人的大杂烩 &#187; js</title>
	<atom:link href="http://ai-2.cn/category/web/js/feed/" rel="self" type="application/rss+xml" />
	<link>http://ai-2.cn</link>
	<description>一切研究的资料库</description>
	<lastBuildDate>Tue, 24 Aug 2010 03:51:20 +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>IE8下eWebEditor按钮不起作用的问题</title>
		<link>http://ai-2.cn/2010/07/ie8-webedit/</link>
		<comments>http://ai-2.cn/2010/07/ie8-webedit/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 09:23:24 +0000</pubDate>
		<dc:creator>csecong</dc:creator>
				<category><![CDATA[js]]></category>
		<category><![CDATA[eWebEditor]]></category>
		<category><![CDATA[Fckeditor]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[按钮失效]]></category>
		<category><![CDATA[文本编辑器]]></category>

		<guid isPermaLink="false">http://ai-2.cn/?p=237</guid>
		<description><![CDATA[hoo～IE8下面发现eWebEditor的按钮都没法点了，改吧-_-~ 在eWebEditor的目录里找到Editor.js文件，路径是webedit\Include\Editor.js 用editplus打开找到代码： if (element.YUSERONCLICK) eval(element.YUSERONCLICK + &#8220;anonymous()&#8221;); 替换成 if(navigator.appVersion.match(/8./i)==&#8217;8.&#8217; &#124;&#124; navigator.appVersion.match(/7./i)==&#8217;7.&#8217;){ if (element.YUSERONCLICK) eval(element.YUSERONCLICK + &#8220;onclick(event)&#8221;); //IE8 or IE7 } else { if (element.YUSERONCLICK) eval(element.YUSERONCLICK + &#8220;anonymous()&#8221;); //IE6 } 看来以后该换个网页文本编辑器了，比如Fckeditor]]></description>
			<content:encoded><![CDATA[<p>hoo～IE8下面发现eWebEditor的按钮都没法点了，改吧-_-~</p>
<p>在eWebEditor的目录里找到Editor.js文件，路径是webedit\Include\Editor.js  用editplus打开找到代码：</p>
<p>if (element.YUSERONCLICK) eval(element.YUSERONCLICK + &#8220;anonymous()&#8221;);</p>
<p>替换成</p>
<p>if(navigator.appVersion.match(/8./i)==&#8217;8.&#8217; || navigator.appVersion.match(/7./i)==&#8217;7.&#8217;){<br />
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + &#8220;onclick(event)&#8221;); //IE8 or IE7<br />
} else {<br />
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + &#8220;anonymous()&#8221;); //IE6<br />
}</p>
<p>看来以后该换个网页文本编辑器了，比如Fckeditor</p>
]]></content:encoded>
			<wfw:commentRss>http://ai-2.cn/2010/07/ie8-webedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery 1.3 API 参考文档中文版-在线版</title>
		<link>http://ai-2.cn/2010/01/jqueryapi/</link>
		<comments>http://ai-2.cn/2010/01/jqueryapi/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 02:41:37 +0000</pubDate>
		<dc:creator>csecong</dc:creator>
				<category><![CDATA[div+css]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[胡言乱语]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[中文版]]></category>

		<guid isPermaLink="false">http://ai-2.cn/?p=192</guid>
		<description><![CDATA[http://ai-2.cn/tools/jqueryapi/]]></description>
			<content:encoded><![CDATA[<p>jQuery 1.3 API 参考文档中文版</p>
<p><a title="jQuery 1.3 API 参考文档中文版" href="http://ai-2.cn/tools/jqueryapi/" target="_blank">http://ai-2.cn/tools/jqueryapi/</a></p>
<p>来源：http://code.google.com/p/jquery-api-zh-cn/downloads/list</p>
]]></content:encoded>
			<wfw:commentRss>http://ai-2.cn/2010/01/jqueryapi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js的一些小技巧（一）</title>
		<link>http://ai-2.cn/2010/01/jsff1/</link>
		<comments>http://ai-2.cn/2010/01/jsff1/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 02:25:05 +0000</pubDate>
		<dc:creator>csecong</dc:creator>
				<category><![CDATA[js]]></category>
		<category><![CDATA[js代码]]></category>
		<category><![CDATA[小技巧]]></category>

		<guid isPermaLink="false">http://ai-2.cn/?p=189</guid>
		<description><![CDATA[javascript 一条语句实现随机数]]></description>
			<content:encoded><![CDATA[<p><strong>javascript 一条语句实现随机数</strong></p>
<p><span>alert(Math.round(Math.random()*10000)) </span></p>
<p><span>我一般用它来防止载入页面有缓存，比如</span>$(&#8216;#yzm&#8217;).attr(&#8220;src&#8221;,&#8221;yzm.asp?time=&#8221;+Math.round(Math.random()*10000));</p>
]]></content:encoded>
			<wfw:commentRss>http://ai-2.cn/2010/01/jsff1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>调用腾讯天气预报数据，自动判断IP</title>
		<link>http://ai-2.cn/2009/04/qqweather/</link>
		<comments>http://ai-2.cn/2009/04/qqweather/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 08:31:52 +0000</pubDate>
		<dc:creator>csecong</dc:creator>
				<category><![CDATA[js]]></category>
		<category><![CDATA[weather.js]]></category>
		<category><![CDATA[腾讯天气]]></category>

		<guid isPermaLink="false">http://ai-2.cn/?p=101</guid>
		<description><![CDATA[看了下代码，调用的腾讯QQ站点的天气预报资料，还能自动分辨ip，不错^_^

感谢砍柴GG]]></description>
			<content:encoded><![CDATA[<p>看了下代码，调用的腾讯QQ站点的天气预报资料，还能自动分辨ip，不错^_^</p>
<p>163的那个第一次访问可能需要存一下cook，而且不知道为什么时间不太对，还是用这个吧^_^</p>
<p>演示：<a href="http://ai-2.cn/tools/tq.html" target="_blank">http://ai-2.cn/tools/tq.html</a><br />
下载：<a href="http://ai-2.cn/tools/weather.js" target="_blank">http://ai-2.cn/tools/weather.js</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ai-2.cn/2009/04/qqweather/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
