<?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>《根据时段自动切换你的站点CSS风格》的评论</title>
	<atom:link href="http://5key.net/blog/2007/switch-css-style/feed/" rel="self" type="application/rss+xml" />
	<link>http://5key.net/blog/2007/switch-css-style/</link>
	<description>设计改变生活</description>
	<lastBuildDate>Mon, 07 May 2012 07:34:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>作者：schiy</title>
		<link>http://5key.net/blog/2007/switch-css-style/comment-page-1/#comment-185</link>
		<dc:creator>schiy</dc:creator>
		<pubDate>Wed, 10 Oct 2007 18:05:18 +0000</pubDate>
		<guid isPermaLink="false">http://5key.net/wp/index.php/archives/305#comment-185</guid>
		<description>这个有意思啊，嘿嘿</description>
		<content:encoded><![CDATA[<p>这个有意思啊，嘿嘿</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：since</title>
		<link>http://5key.net/blog/2007/switch-css-style/comment-page-1/#comment-184</link>
		<dc:creator>since</dc:creator>
		<pubDate>Tue, 02 Oct 2007 11:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://5key.net/wp/index.php/archives/305#comment-184</guid>
		<description>JS代码如下：&lt;br /&gt;---------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;a.css&quot; id=&quot;sitecss&quot; /&gt;&lt;br /&gt;&lt;script language=&quot;JavaScript&quot;&gt; &lt;br /&gt;&#160;&#160;function trunCss() { &lt;br /&gt;&#160;&#160;&#160;&#160;var today = new Date(); &lt;br /&gt;&#160;&#160;&#160;&#160;var time = today.getHours(); &lt;br /&gt;&#160;&#160;&#160;&#160;var cssurl = &quot;&quot;;&lt;br /&gt;&#160;&#160;&#160;&#160;if (( time&gt;=0) &amp;&amp; (time &lt; 7 ))  &lt;br /&gt;&#160;&#160;&#160;&#160;&#160;&#160;cssurl=&quot;1.css&quot;  &lt;br /&gt;&#160;&#160;&#160;&#160;if (( time &gt;= 7 ) &amp;&amp; (time &lt; 12))  &lt;br /&gt;&#160;&#160;&#160;&#160;&#160;&#160;cssurl=&quot;2.css&quot;  &lt;br /&gt;&#160;&#160;&#160;&#160;if (( time &gt;= 12) &amp;&amp; (time &lt; 14))  &lt;br /&gt;&#160;&#160;&#160;&#160;&#160;&#160;cssurl=&quot;3.css&quot;  &lt;br /&gt;&#160;&#160;&#160;&#160;if (( time &gt;=14) &amp;&amp; (time &lt; 18))  &lt;br /&gt;&#160;&#160;&#160;&#160;&#160;&#160;cssurl=&quot;4.css&quot;  &lt;br /&gt;&#160;&#160;&#160;&#160;if ((time &gt;= 18) &amp;&amp; (time &lt;= 22))  &lt;br /&gt;&#160;&#160;&#160;&#160;&#160;&#160;cssurl=&quot;5.css&quot;  &lt;br /&gt;&#160;&#160;&#160;&#160;if ((time &gt;= 22) &amp;&amp; (time &lt; 24))  &lt;br /&gt;&#160;&#160;&#160;&#160;&#160;&#160;cssurl=&quot;6.css&quot;  &lt;br /&gt;&#160;&#160;&#160;&#160;document.getElementById(&quot;sitecss&quot;).href=ccsurl&lt;br /&gt;&#160;&#160;} &lt;br /&gt;trunCss(); &lt;br /&gt;&lt;/script&gt;&lt;br /&gt;--------------------------------------------------------&lt;br /&gt;其实还是站长这个做在服务端的方法好，如果客户端有问题，例如不支持js什么的，你的页面就会很丑</description>
		<content:encoded><![CDATA[<p>JS代码如下：<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;a.css&quot; id=&quot;sitecss&quot; /&gt;<br />&lt;script language=&quot;JavaScript&quot;&gt; <br />&nbsp;&nbsp;function trunCss() { <br />&nbsp;&nbsp;&nbsp;&nbsp;var today = new Date(); <br />&nbsp;&nbsp;&nbsp;&nbsp;var time = today.getHours(); <br />&nbsp;&nbsp;&nbsp;&nbsp;var cssurl = &quot;&quot;;<br />&nbsp;&nbsp;&nbsp;&nbsp;if (( time&gt;=0) &#038;&#038; (time &lt; 7 ))  <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cssurl=&quot;1.css&quot;  <br />&nbsp;&nbsp;&nbsp;&nbsp;if (( time &gt;= 7 ) &#038;&#038; (time &lt; 12))  <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cssurl=&quot;2.css&quot;  <br />&nbsp;&nbsp;&nbsp;&nbsp;if (( time &gt;= 12) &#038;&#038; (time &lt; 14))  <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cssurl=&quot;3.css&quot;  <br />&nbsp;&nbsp;&nbsp;&nbsp;if (( time &gt;=14) &#038;&#038; (time &lt; 18))  <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cssurl=&quot;4.css&quot;  <br />&nbsp;&nbsp;&nbsp;&nbsp;if ((time &gt;= 18) &#038;&#038; (time &lt;= 22))  <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cssurl=&quot;5.css&quot;  <br />&nbsp;&nbsp;&nbsp;&nbsp;if ((time &gt;= 22) &#038;&#038; (time &lt; 24))  <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cssurl=&quot;6.css&quot;  <br />&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById(&quot;sitecss&quot;).href=ccsurl<br />&nbsp;&nbsp;} <br />trunCss(); <br />&lt;/script&gt;<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />其实还是站长这个做在服务端的方法好，如果客户端有问题，例如不支持js什么的，你的页面就会很丑</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：大猫</title>
		<link>http://5key.net/blog/2007/switch-css-style/comment-page-1/#comment-193</link>
		<dc:creator>大猫</dc:creator>
		<pubDate>Fri, 21 Sep 2007 19:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://5key.net/wp/index.php/archives/305#comment-193</guid>
		<description>很好玩诶~</description>
		<content:encoded><![CDATA[<p>很好玩诶~</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：asdf</title>
		<link>http://5key.net/blog/2007/switch-css-style/comment-page-1/#comment-192</link>
		<dc:creator>asdf</dc:creator>
		<pubDate>Thu, 20 Sep 2007 13:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://5key.net/wp/index.php/archives/305#comment-192</guid>
		<description>这个是够老套的了</description>
		<content:encoded><![CDATA[<p>这个是够老套的了</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：dowhatyouwant</title>
		<link>http://5key.net/blog/2007/switch-css-style/comment-page-1/#comment-191</link>
		<dc:creator>dowhatyouwant</dc:creator>
		<pubDate>Thu, 20 Sep 2007 11:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://5key.net/wp/index.php/archives/305#comment-191</guid>
		<description>楼上的楼上的&lt;b&gt;SBB&lt;/b&gt;。你起的这个名字很符合你。&lt;br /&gt;&lt;br /&gt;不喜欢你可以飘过，不过少来这里污染空气。</description>
		<content:encoded><![CDATA[<p>楼上的楼上的<b>SBB</b>。你起的这个名字很符合你。</p>
<p>不喜欢你可以飘过，不过少来这里污染空气。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：silverys</title>
		<link>http://5key.net/blog/2007/switch-css-style/comment-page-1/#comment-190</link>
		<dc:creator>silverys</dc:creator>
		<pubDate>Thu, 20 Sep 2007 11:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://5key.net/wp/index.php/archives/305#comment-190</guid>
		<description>楼上的为什么只会说这些毫无意义的事，不如把JS代码贴出来。</description>
		<content:encoded><![CDATA[<p>楼上的为什么只会说这些毫无意义的事，不如把JS代码贴出来。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：SBB</title>
		<link>http://5key.net/blog/2007/switch-css-style/comment-page-1/#comment-189</link>
		<dc:creator>SBB</dc:creator>
		<pubDate>Thu, 20 Sep 2007 09:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://5key.net/wp/index.php/archives/305#comment-189</guid>
		<description>拜托,这已经是咸丰年代的事情了,iGoogle也已经应用很久了,真是一群土鳖,用JS就可以实现,居然还用服务端的代码,唉......</description>
		<content:encoded><![CDATA[<p>拜托,这已经是咸丰年代的事情了,iGoogle也已经应用很久了,真是一群土鳖,用JS就可以实现,居然还用服务端的代码,唉&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：dowhatyouwant</title>
		<link>http://5key.net/blog/2007/switch-css-style/comment-page-1/#comment-188</link>
		<dc:creator>dowhatyouwant</dc:creator>
		<pubDate>Wed, 19 Sep 2007 12:13:57 +0000</pubDate>
		<guid isPermaLink="false">http://5key.net/wp/index.php/archives/305#comment-188</guid>
		<description>Asp版的代码已更新。</description>
		<content:encoded><![CDATA[<p>Asp版的代码已更新。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：show8</title>
		<link>http://5key.net/blog/2007/switch-css-style/comment-page-1/#comment-187</link>
		<dc:creator>show8</dc:creator>
		<pubDate>Wed, 19 Sep 2007 09:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://5key.net/wp/index.php/archives/305#comment-187</guid>
		<description>有意思，不过asp下如何修改啊。</description>
		<content:encoded><![CDATA[<p>有意思，不过asp下如何修改啊。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：生活笔谈</title>
		<link>http://5key.net/blog/2007/switch-css-style/comment-page-1/#comment-186</link>
		<dc:creator>生活笔谈</dc:creator>
		<pubDate>Tue, 18 Sep 2007 12:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://5key.net/wp/index.php/archives/305#comment-186</guid>
		<description>有点意思哦！改天用到LBS上去！呵呵！</description>
		<content:encoded><![CDATA[<p>有点意思哦！改天用到LBS上去！呵呵！</p>
]]></content:encoded>
	</item>
</channel>
</rss>

