<?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>Melopia &#187; javascript</title>
	<atom:link href="http://raycui.com/wp/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://raycui.com/wp</link>
	<description>Personal website of melop</description>
	<lastBuildDate>Sun, 01 Aug 2010 16:53:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>使 sIFR 3 安守其职而不替换中文标题</title>
		<link>http://raycui.com/wp/2008/12/sifr3nochinese/</link>
		<comments>http://raycui.com/wp/2008/12/sifr3nochinese/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 14:11:23 +0000</pubDate>
		<dc:creator>melop</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Chinese]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sIFR]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://raycui.com/wp/?p=218</guid>
		<description><![CDATA[如果大家看过这个博客，可能已经发现博客的各个标题都用了非标准字体。这种效果是使用 sIFR 3 脚本来实现的。其主要原理就是利用Flash文件可以内嵌自定义字体来自动将页面中的特定文字自动替代（大家在英文标题上右键看看。。。）。诚然对于西方语言来说，要内嵌字体是很容易实现的。对于英文来说就只有26个字母，即使包含大小写、粗体、斜体和粗斜体等变体，文件也不会太大（几个kB ~ 十几kB）。对于其它使用拼音文字的语言来说情况也类似，都能将下载Swf 文件控制在适于网络传输的范围内。然而对于方块字来说就不太现实了。无论怎样压缩，做出来的swf文件都是1MB以上。 由于我的Blog上既有外文条目，也有中文。那有没有什么方法可以让sIFR 3 不处理中文条目呢？开始我想通过设置Flash 里头的css变量font-family，将后备字体列上，希望flash能自动调用本机系统上头的字体。可惜flash 不买账。最后就逼着我改点东东了。 下面是两个判别标题是否含有中文的函数： &#13;function fnFilterChinese( arrList) {&#13; //alert(arrList.length);&#13; var retList = [];&#13; for (var i=0;i=0;g&#8211;){var h=f[g];if(h.type==&#8221;sifr/prefetch&#8221;){h.parentNode.removeChild(h)}}}catch(j){}};function d(f){for(var g=0;g&#8220;:function(O,R){var N=[];for(var Q=0,S;Q]]></description>
		<wfw:commentRss>http://raycui.com/wp/2008/12/sifr3nochinese/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How melopia toggles its layout</title>
		<link>http://raycui.com/wp/2006/02/how-melopia-toggles-its-layout/</link>
		<comments>http://raycui.com/wp/2006/02/how-melopia-toggles-its-layout/#comments</comments>
		<pubDate>Sat, 18 Feb 2006 06:18:21 +0000</pubDate>
		<dc:creator>melop</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.melop.net/?p=19</guid>
		<description><![CDATA[I know that this changing layout technique has been dealt for many times by others, and I&#8217;m not the last one to deal with it. I tend to make things flexible, not just a web design, but also real-life stuffs (so don&#8217;t fix a time with me, lol). OK, to make a layout flexible, it [...]]]></description>
		<wfw:commentRss>http://raycui.com/wp/2006/02/how-melopia-toggles-its-layout/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>About Ray</title>
		<link>http://raycui.com/wp/about/</link>
		<comments>http://raycui.com/wp/about/#comments</comments>
		<pubDate>Sat, 11 Feb 2006 09:57:36 +0000</pubDate>
		<dc:creator>melop</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bird]]></category>
		<category><![CDATA[Birding]]></category>
		<category><![CDATA[Chinese]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[web standard]]></category>

		<guid isPermaLink="false">http://raycui.com/wp/about-2/</guid>
		<description><![CDATA[Hi there! I&#8217;m from Guangzhou, China, and welcome to my weblog. OK, melop is not my real name, but the net name I&#8217;ve been using since I registered my first email account. My English name is Ray Cui and Chinese name in Pinyin is CUI Rong-Feng. I&#8217;m an undergraduate student of already graduated the Biology [...]]]></description>
		<wfw:commentRss>http://raycui.com/wp/about/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

