<?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; 代码</title>
	<atom:link href="http://www.ghsy.info/archives/tag/%e4%bb%a3%e7%a0%81/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ghsy.info</link>
	<description>生活与人生，技术与体悟，社会与观察，思维与性情，道德与良知——最少的言语，最真实的想法。</description>
	<lastBuildDate>Sun, 08 Jan 2012 04:47:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>几个实用代码</title>
		<link>http://www.ghsy.info/archives/269</link>
		<comments>http://www.ghsy.info/archives/269#comments</comments>
		<pubDate>Sat, 03 May 2008 19:19:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[实用资源]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[无缝滚动]]></category>
		<category><![CDATA[滑动门]]></category>

		<guid isPermaLink="false">http://75.126.94.192/~chenygcn/?p=269</guid>
		<description><![CDATA[<P>收集并整理几个实用代码：</P><UL><LI><A href="http://www.chenyg.cn/others/code/color_Select.htm" target=_blank><STRONG>在线调色板工具</STRONG></A>：轻松实现在线调色功能；</LI><LI><A href="http://www.chenyg.cn/others/code/gdlink.htm" target=_blank><STRONG>纵向无缝滚动链接</STRONG></A>：收集了两款比较实用的<STRONG>无缝滚动</STRONG>链接代码；</LI><LI><A href="http://www.chenyg.cn/others/code/gdtplj.htm" target=_blank><STRONG>横向（图片）无缝滚动链接</STRONG></A>：一款优秀的实现(图片)链接横向<STRONG>无缝滚动</STRONG>的代码；</LI><LI><A href="http://www.chenyg.cn/others/code/huadongmen.htm" target=_blank><STRONG>滑动门特效</STRONG></A>：IE下效果良好，FF下显示错位，不推荐使用。</LI></UL>
]]></description>
			<content:encoded><![CDATA[<p>收集并整理几个实用代码：</p>
<ul>
<li><a target="_blank" href="http://www.chenyg.cn/others/code/color_Select.htm"><strong>在线调色板工具</strong></a>：轻松实现在线调色功能； </li>
<li><a target="_blank" href="http://www.chenyg.cn/others/code/gdlink.htm"><strong>纵向无缝滚动链接</strong></a>：收集了两款比较实用的<strong>无缝滚动</strong>链接代码； </li>
<li><a target="_blank" href="http://www.chenyg.cn/others/code/gdtplj.htm"><strong>横向（图片）无缝滚动链接</strong></a>：一款优秀的实现(图片)链接横向<strong>无缝滚动</strong>的代码； </li>
<li><a target="_blank" href="http://www.chenyg.cn/others/code/huadongmen.htm"><strong>滑动门特效</strong></a>：IE下效果良好，FF下显示错位，不推荐使用。</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ghsy.info/archives/269/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>几个分享</title>
		<link>http://www.ghsy.info/archives/250</link>
		<comments>http://www.ghsy.info/archives/250#comments</comments>
		<pubDate>Tue, 08 Apr 2008 02:51:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[实用资源]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[天气预报]]></category>
		<category><![CDATA[奥运]]></category>

		<guid isPermaLink="false">http://75.126.94.192/~chenygcn/?p=250</guid>
		<description><![CDATA[<object style="WIDTH: 402px; HEIGHT: 67px" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="67" width="402" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><br/><param value="sameDomain" name="allowScriptAccess" /><param value="http://bbs.jltxa.com/images/aoyunhui.swf" name="movie" /><param value="high" name="quality" /><param value="#ffffff" name="bgcolor" /></object>
]]></description>
			<content:encoded><![CDATA[<div><object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" height="261" width="142" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param value="http://free.cnzz.cc/aoyun2008/aoyunhui20082.swf" name="movie" /><param value="high" name="quality" /></object></div>
<div><object style="WIDTH: 402px; HEIGHT: 67px" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="67" width="402" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param value="sameDomain" name="allowScriptAccess" /><param value="http://bbs.jltxa.com/images/aoyunhui.swf" name="movie" /><param value="high" name="quality" /><param value="#ffffff" name="bgcolor" /></object></div>
<div style="WIDTH: 170px">
<div><iframe id="MainWeatherForecast" style="WIDTH: 150px; HEIGHT: 143px" name="showWnd" marginwidth="0" marginheight="0" src="http://www.cmbchina.com/cmb2005web/cmbaspxbin/information/CmbWeatherForecast.aspx" frameborder="no" width="150" scrolling="no" height="143"></iframe></div>
<div align="center"><strong>历史上的今天 </strong></div>
<p><iframe style="BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-BOTTOM: #000000 1px dashed" border="0" name="history" marginheight="0" src="http://www.nongli.com/today/today.asp" frameborder="no" width="170" scrolling="no" height="145"></iframe></div>
<p><strong>说明：</strong>以上实用东东（天气预报、奥运倒计时Flash和&ldquo;历史上的今天&rdquo;）都是本人平日在网上看到收藏后整理而来，这次毫无保留地抛出来同大家分享，希望各位受益。其样式大小都可以适当调整以满足自己的需要的，此处不再赘言。千万别问我怎么使用，因为查看&ldquo;源文件&rdquo;就十分明白了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghsy.info/archives/250/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>一个地址实现多首歌曲连播方法</title>
		<link>http://www.ghsy.info/archives/191</link>
		<comments>http://www.ghsy.info/archives/191#comments</comments>
		<pubDate>Mon, 29 Oct 2007 01:46:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[实用资源]]></category>
		<category><![CDATA[代码]]></category>

		<guid isPermaLink="false">http://75.126.94.192/~chenygcn/?p=191</guid>
		<description><![CDATA[<p>学习了一招：一个地址，连播多首歌曲。方法如下：</p>
]]></description>
			<content:encoded><![CDATA[<p>学习了一招：一个地址，连播多首歌曲。方法如下：</p>
<p><strong>方法一：<br /></strong>打开记事本，罗列音乐地址：<br /><font style="BACKGROUND-COLOR: #ccffcc">音乐地址1<br />音乐地址2<br />&hellip;<br /></font><strong>注意</strong>一个地址一行，中间不加标点；而且只能是mp3格式的歌曲！<br />然后保存。修改的后缀为.m3u或者.wax</p>
<p><strong>方法二：</strong><br />打开记事本，按照以下格式连续罗列音乐地址：<br /><font style="BACKGROUND-COLOR: #00ccff">&lt;ASX version =&quot;3.0&quot;&gt; <br />&lt;Entry&gt; <br />&lt;title&gt;音乐名称1&lt;/title&gt;<br />&lt;Ref href = &quot;音乐地址1&quot;/&gt; <br />&lt;/Entry&gt;<br />&lt;Entry&gt; <br />&lt;title&gt;音乐名称2&lt;/title&gt;<br />&lt;Ref href = &quot;音乐地址2&quot;/&gt; <br />&lt;/Entry&gt; <br />&lt;/ASX&gt;</font></p>
<p><font style="BACKGROUND-COLOR: #00ccff"></font>这种方式对音乐格式没有要求，.mp3 .wma等等均可。保存以.asx为后缀的文件。</p>
<hr />
<p><strong>调用</strong>方法很简单。将上面的文件上传到服务器，记下地址，然后在需要使用音乐的地方调用： <br /><font style="BACKGROUND-COLOR: #ccffff">&lt;EMBED style=&quot;FILTER: xray()&quot; src=音乐文件地址 width=宽度 height=高度type=audio/mpeg loop=&quot;true&quot; showstatusbar=&quot;true&quot; autostart=&quot;true&quot; &nbsp;&gt;&lt;/EMBED&gt;</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghsy.info/archives/191/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>2007.9.3恶意广告，告你没商量！</title>
		<link>http://www.ghsy.info/archives/156</link>
		<comments>http://www.ghsy.info/archives/156#comments</comments>
		<pubDate>Mon, 03 Sep 2007 21:43:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[生活记录]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[百度]]></category>
		<category><![CDATA[谷歌]]></category>

		<guid isPermaLink="false">http://75.126.94.192/~chenygcn/?p=156</guid>
		<description><![CDATA[<p>告诉大家一个消息：皮皮网络广告（<A href="http://www.pipdown.cn" target="_blank">http://www.pipdown.cn</A>）这个网站投放的广告包含有恶意程序代码（程序内容就不说了），提醒用户特别注意。</p>
]]></description>
			<content:encoded><![CDATA[<p>告诉大家一个消息：皮皮网络广告（<A href="http://www.pipdown.cn" target="_blank">http://www.pipdown.cn</A>）这个网站投放的广告包含有恶意程序代码（程序内容就不说了），提醒用户特别注意。</p>
</p>
<p>我的<A href="http://www.chenyg.cn" target="_blank">网站</A>开通五个月来，截至现在，被三大知名搜做引擎的收录数据分别是：百度735，雅虎803，谷歌1540。这几天从访问数据看来有一点不正常,按照常理本应该是来源最大的谷歌的数据居然是零，百度倒是占了很大比重。仔细查找原因才知道原来被谷歌检测出来放置了恶意代码——用户从谷歌访问时会出现“该网站可能含有恶意软件，有可能会危害您的电脑”这样的提示。我多方查证仔细分析，花了好几个小时才搞明白是前几天加入了该站的广告（当时没有检测出来含有恶意程序代码），结果现在造成了损失。</p>
</p>
<p>现在这个问题我已经查清楚并且及时清理门户解决好了，现在见到这个警告的大可以放心访问（问题已经排除过一段时间谷歌这边会解除这个警告的）——不放心的话可以等谷歌解除警告以后再来访问，请便。</p>
</p>
<p>补充最新消息：截至现在（2007.9.4 11：00）谷歌已经解除警告了。谷歌的工作效率蛮高的！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghsy.info/archives/156/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>网站头像：favicon.ico</title>
		<link>http://www.ghsy.info/archives/149</link>
		<comments>http://www.ghsy.info/archives/149#comments</comments>
		<pubDate>Tue, 21 Aug 2007 01:25:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[实用资源]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[制作]]></category>
		<category><![CDATA[图片]]></category>
		<category><![CDATA[网站]]></category>

		<guid isPermaLink="false">http://75.126.94.192/~chenygcn/?p=149</guid>
		<description><![CDATA[<p>favicon.ico   一般用于作为缩略的网站标志,它显示位于浏览器的地址栏或者在标签上,用于显示网站的logo。目前主要的浏览器都支持favicon.ico图标。</p><p>  时下绝大多数的网站都有这个图标，便于浏览查看——尤其在打开很多窗口的时候这个图标对于访问者就显得很管用了。<br/></p>
]]></description>
			<content:encoded><![CDATA[<p>favicon.ico   一般用于作为缩略的网站标志,它显示位于浏览器的地址栏或者在标签上,用于显示网站的logo。目前主要的浏览器都支持favicon.ico图标。</p>
<p>  时下绝大多数的网站都有这个图标，便于浏览查看——尤其在打开很多窗口的时候这个图标对于访问者就显得很管用了。</p>
<p>  今天我给自己的网站   http://www.chenyg.cn   也小制作了一个这样的图标。感觉还可以。</p>
<p>  关于favicon.ico图标的制作并不是简单的工作，需要经过专门的工具制作完成，或者经过转换工具把图片文件经过转换工序才能完成。</p>
<p>  下面介绍两个比较好的在线转换生成favicon.ico文件的网站。</p>
<p>  1.首先推荐国内的<A href="http://www.bitbug.net"><a href="http://www.bitbug.net" target="_blank">http://www.bitbug.net</a></p>
<p>  2.再来推荐国外的<A href="http://www.html-kit.com/favicon"><a href="http://www.html-kit.com/favicon" target="_blank">http://www.html-kit.com/favicon</a></p>
<p>  其实不管国内国外，其原理都是一样的，制作出来的文件上传到网站以后，在网页文件添加相应的代码即可。</p>
<p>  格式如下：</p>
<p>  &lt;link rel=”Shortcut Icon”   href=”favicon.ico”&gt;</p>
<p>  需要特别注意的是：这个代码必须放在“&lt;head&gt;&lt;/head&gt;”这对标记之间。</p>
<p>如果制作成GIF动画效果，则可以使用这样的格式&lt;link rel=”icon” href=”animated_favicon1.gif”   type=”image/gif” &gt;。当然可以将两种图标统一制作并上传到网站根目录，在“&lt;head&gt;&lt;/head&gt;”这对标记之间加入代码：</p>
<p>&lt;link rel=”shortcut icon” href=”favicon.ico” &gt;</p>
<p>  &lt;link rel=”icon”   href=”animated_favicon1.gif” type=”image/gif” &gt;</p>
<p>工作完成了。如果遇到问题需要查找原因并测试结果，可以到<A href="http://www.htmlkit.com/go/favicon/validator">http://www.htmlkit.com/go/favicon/validator</A>查看。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghsy.info/archives/149/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>图片交替出现代码</title>
		<link>http://www.ghsy.info/archives/66</link>
		<comments>http://www.ghsy.info/archives/66#comments</comments>
		<pubDate>Sat, 24 Mar 2007 05:04:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[实用资源]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[博客]]></category>
		<category><![CDATA[图片]]></category>

		<guid isPermaLink="false">http://75.126.94.192/~chenygcn/?p=66</guid>
		<description><![CDATA[<p><strong>发一个图片交替出现的效果：</strong></p><br/><iframe style="WIDTH: 500px; HEIGHT: 458px" align="center" src="http://cygsxak.go3.icpcn.com/tpjtxs.htm" frameborder="0" scrolling="no" allowtransparency="allowtransparency"></iframe>
]]></description>
			<content:encoded><![CDATA[<p>感受生活，感受青春，生命在于运动！</p>
<p>你来写博，我来看博，博客在于互动！</p>
<p>&nbsp;</p>
<p>今天没有什么事情做，待在寝室，有些无聊。没什么可写的，就发表一点最近的感受&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghsy.info/archives/66/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>鼠标样式使用方法</title>
		<link>http://www.ghsy.info/archives/43</link>
		<comments>http://www.ghsy.info/archives/43#comments</comments>
		<pubDate>Sat, 24 Mar 2007 05:04:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[实用资源]]></category>
		<category><![CDATA[代码]]></category>

		<guid isPermaLink="false">http://75.126.94.192/~chenygcn/?p=43</guid>
		<description><![CDATA[<p>使用漂亮的鼠标样式可以给自己的网页（博客）增色不少！</p><p>下面提供一种调用鼠标样式代码的方法：</p>
]]></description>
			<content:encoded><![CDATA[<p>使用漂亮的鼠标样式可以给自己的网页（博客）增色不少！</p>
<p>下面提供一种调用鼠标样式代码的方法：</p>
<p>一般的代码格式是&lt;style&gt;body{鼠标样式代码}&lt;/style&gt;</p>
<p>实现更个性风格，代码如下： BODY{cursor:url(&#8216;鼠标样式地址1&#8242;)}a:hover <br />{cursor:url(&#8216;鼠标样式地址2&#8242;)}
<p>&nbsp;&lt;STYLE type=text/css&gt;BODY{cursor:url(&#8216;鼠标样式地址1&#8242;)}A{cursor:url(&#8216;鼠标样式地址2&#8242;)}</p>
<p>&lt;/STYLE&gt; 此处鼠标样式1和2地址可以一样也可以不同。</p>
<p>&nbsp;样式代码地址推荐使用</p>
<p><a target="blank" href="http://penguit.bokee.com/4637175.html">http://penguit.bokee.com/4637175.html</a></p>
<p>&#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;</p>
<p>以下代码可以去掉鼠标样式默认连接中的小手：</p>
<p>代码1：</p>
<p>a:hover{cursor:url(&#8216;http://www.w3.org/1999/images/Arrow.cur&#8217;)}<br />&lt;style&gt;</p>
<p>a:hover{cursor:url(&#8216;http://www.w3.org/1999/images/Arrow.cur&#8217;)}</p>
<p>&lt;/style</p>
<p>代码2：</p>
<p>a:hover{cursor: default;}<br />&lt;STYLE&gt;</p>
<p>a:hover{cursor: default;}</p>
<p>&lt;/STYLE&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghsy.info/archives/43/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>帮第三极博客圈制作徽标（二）</title>
		<link>http://www.ghsy.info/archives/42</link>
		<comments>http://www.ghsy.info/archives/42#comments</comments>
		<pubDate>Sat, 24 Mar 2007 05:04:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[大杂无主]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[制作]]></category>
		<category><![CDATA[图片]]></category>

		<guid isPermaLink="false">http://75.126.94.192/~chenygcn/?p=42</guid>
		<description><![CDATA[<p>终于，忙活了这几天，把第三极博客圈的徽标制作好了。</p><p>我喜欢帮助别人。帮助别人的过程其实自己也在锻炼。我始终这样认为。</p><br/><p>这次帮博客圈制作徽标，其实材料人家圈主已经提供好了，可以说已经完成了一半。我呢，只是完成剩下的另一半的整理和简单的设计。所以说，制作成功了，我也只能算是一半的功劳。说功劳全是我的，那是抬举我。</p><p><img title="" alt="" src="http://www.chenyg.cn/blog/upload/thirdji.jpg" /></p>
]]></description>
			<content:encoded><![CDATA[<p>终于，忙活了这几天，把第三极博客圈的徽标制作好了。</p>
<p>我喜欢帮助别人。帮助别人的过程其实自己也在锻炼。我始终这样认为。</p>
<p>
<p>这次帮博客圈制作徽标，其实材料人家圈主已经提供好了，可以说已经完成了一半。我呢，只是完成剩下的另一半的整理和简单的设计。所以说，制作成功了，我也只能算是一半的功劳。说功劳全是我的，那是抬举我。</p>
<p>先把最终确定的结果拿出来：</p>
<p>
<p>圈友在自己的首页添加连接的代码如下：</p>
<p>
<p>详细添加方法（其实此方法相信很多人早就会了）：</p>
<p>控制面板&mdash;&mdash;个人首页维护&mdash;&mdash;自定义空白面板&mdash;&mdash;新增&mdash;&mdash;填写标题（例如&ldquo;第三极作家群落&rdquo;）&mdash;&mdash;将下面&ldquo;显示源代码&rdquo;打勾&mdash;&mdash;把上面的代码添加到&ldquo;</p>
<div></div>
<p>&rdquo;这对标记的中间&mdash;&mdash;保存&mdash;&mdash;定制我的首页&mdash;&mdash;点击左边&ldquo;添加模块&rdquo;&mdash;&mdash;选定自定义空白面板中的&ldquo;第三极作家群落&rdquo;（即刚才的标题）并打勾&mdash;&mdash;选取&mdash;&mdash;保存设置&mdash;&mdash;大功告成了!</p>
<p>&#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;&#8211;</p>
<p>把制作过程中的图片挑几张发出来，其差别是细微的。虽然很多没被最终采用，但是有了它们，才使徽标一步步制作成功。这是一个过程。在此跟大家一起分享，呵呵</p>
<p><img title="" alt="" src="http://www.chenyg.cn/blog/upload/thirdji.jpg" /></p>
<p>
<p>（这是几经修改最终确定的效果）</p>
<p>&#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;</p>
<p>我想说的是，在这几天制作徽标的过程中，圈主给了我好多很好的建议，这对正在学习中的我来说是很宝贵的知识；当然，我也提出了我的一点点见解。最终使得徽标成功诞生。</p>
<p>最后帮助第三极博客圈宣传一下：希望越来越多的人关注并加入到这个群体中来！</p>
<p>
<p>第三极博客圈地址：<a target="_blank" href="http://q.blog.sina.com.cn/disanji">http://q.blog.sina.com.cn/disanji</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghsy.info/archives/42/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>简简单单——小日历</title>
		<link>http://www.ghsy.info/archives/39</link>
		<comments>http://www.ghsy.info/archives/39#comments</comments>
		<pubDate>Sat, 24 Mar 2007 05:04:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[实用资源]]></category>
		<category><![CDATA[代码]]></category>

		<guid isPermaLink="false">http://75.126.94.192/~chenygcn/?p=39</guid>
		<description><![CDATA[<p><img title="" alt="" onload="ResizeImage(this,520)" src="http://www.chenyg.cn/blog/upload/miniclock.jpg" /></p>
]]></description>
			<content:encoded><![CDATA[<p><img title="" alt="" onload="ResizeImage(this,520)" src="http://www.chenyg.cn/blog/upload/miniclock.jpg" /></p>
<p>代码：</p>
<p>&lt;SCRIPT language=JavaScript&gt;<br />function Year_Month(){</p>
<p>var now = new Date();</p>
<p>var yy = now.getYear();</p>
<p>var mm = now.getMonth()+1;</p>
<p>var cl = &#8216; &lt;font color=&quot;#0000df&quot;&gt;&#8217;;</p>
<p>if (now.getDay() == 0) cl = &#8216; &lt;font color=&quot;#c00000&quot;&gt;&#8217;;</p>
<p>if (now.getDay() == 6) cl = &#8216; &lt;font color=&quot;#00c000&quot;&gt;&#8217;;</p>
<p>return(cl +&nbsp; yy + &#8216;年&#8217; + mm + &#8216;月 &lt;/font&gt;&#8217;); }<br />function Date_of_Today(){</p>
<p>var now = new Date();</p>
<p>var cl = &#8216; &lt;font color=&quot;#ff0000&quot;&gt;&#8217;;</p>
<p>if (now.getDay() == 0) cl = &#8216; &lt;font color=&quot;#c00000&quot;&gt;&#8217;;</p>
<p>if (now.getDay() == 6) cl = &#8216; &lt;font color=&quot;#00c000&quot;&gt;&#8217;;</p>
<p>return(cl +&nbsp; now.getDate() + &#8216; &lt;/font&gt;&#8217;); }<br />function Day_of_Today(){</p>
<p>var day = new Array();</p>
<p>day[0] = &quot;星期日&quot;;</p>
<p>day[1] = &quot;星期一&quot;;</p>
<p>day[2] = &quot;星期二&quot;;</p>
<p>day[3] = &quot;星期三&quot;;</p>
<p>day[4] = &quot;星期四&quot;;</p>
<p>day[5] = &quot;星期五&quot;;</p>
<p>day[6] = &quot;星期六&quot;;</p>
<p>var now = new Date();</p>
<p>var cl = &#8216; &lt;font color=&quot;#0000df&quot;&gt;&#8217;;</p>
<p>if (now.getDay() == 0) cl = &#8216; &lt;font color=&quot;#c00000&quot;&gt;&#8217;;</p>
<p>if (now.getDay() == 6) cl = &#8216; &lt;font color=&quot;#00c000&quot;&gt;&#8217;;</p>
<p>return(cl +&nbsp; day[now.getDay()] + &#8216; &lt;/font&gt;&#8217;); }<br />function CurentTime(){</p>
<p>var now = new Date();</p>
<p>var hh = now.getHours();</p>
<p>var mm = now.getMinutes();</p>
<p>var ss = now.getTime() % 60000;</p>
<p>ss = (ss &#8211; (ss % 1000)) / 1000;</p>
<p>var clock = hh+&#8217;:';</p>
<p>if (mm &lt; 10) clock += &#8217;0&#8242;;</p>
<p>clock += mm+&#8217;:';</p>
<p>if (ss &lt; 10) clock += &#8217;0&#8242;;</p>
<p>clock += ss;</p>
<p>return(clock); }</p>
<p>function refreshCalendarClock(){</p>
<p>document.all.calendarClock1.innerHTML = Year_Month();</p>
<p>document.all.calendarClock2.innerHTML = Date_of_Today();</p>
<p>document.all.calendarClock3.innerHTML = Day_of_Today();</p>
<p>document.all.calendarClock4.innerHTML = CurentTime(); }<br />var webUrl = webUrl;</p>
<p>document.write(&#8216;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tr&gt;&lt;td&gt;&#8217;);</p>
<p>document.write(&#8216;&lt;table id=&quot;CalendarClockFreeCode&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;57&quot; height=&quot;68&quot; &#8216;);<br />document.write(&#8216;style=&quot;position:absolute;visibility:hidden&quot; bgcolor=&quot;#eeeeee&quot;&gt;&#8217;);<br />document.write(&#8216;&lt;tr&gt;&lt;td align=&quot;center&quot;&gt;&lt;font &#8216;);<br />document.write(&#8216;style=&quot;cursor:hand;color:#ff0000;font-family:宋体;font-size:14pt;line-height:120%&quot; &#8216;);<br />if (webUrl != &#8216;netflower&#8217;){</p>
<p>document.write(&#8216; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align=&quot;center&quot;&gt;&lt;font &#8216;);<br />document.write(&#8216;style= &quot;cursor:hand;color:#2000ff;font-family:宋体;font-size:9pt;line-height:110%&quot; &#8216;);<br />}</p>
<p>document.write(&#8216;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#8217;);</p>
<p>document.write(&#8216;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;57&quot; bgcolor=&quot;#C0C0C0&quot; height=&quot;68&quot;&gt;&#8217;);<br />document.write(&#8216;&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;100%&quot; height=&quot;100%&quot;&gt;&#8217;);<br />document.write(&#8216;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;55&quot; bgcolor=&quot;#FEFEEF&quot; height=&quot;65&quot;&gt;&#8217;);<br />document.write(&#8216;&lt;tr&gt;&lt;td align=&quot;center&quot; width=&quot;100%&quot; height=&quot;100%&quot; &gt;&#8217;);<br />document.write(&#8216;&lt;font id=&quot;calendarClock1&quot; style=&quot;font-family:宋体;font-size:7pt;line-height:120%&quot;&gt; &lt;/font&gt;&lt;br&gt;&#8217;);<br />document.write(&#8216;&lt;font id=&quot;calendarClock2&quot; style=&quot;color:#ff0000;font-family:Arial;font-size:14pt;line-height:120%&quot;&gt; &lt;/font&gt;&lt;br&gt;&#8217;);<br />document.write(&#8216;&lt;font id=&quot;calendarClock3&quot; style=&quot;font-family:宋体;font-size:9pt;line-height:120%&quot;&gt; &lt;/font&gt;&lt;br&gt;&#8217;);<br />document.write(&#8216;&lt;font id=&quot;calendarClock4&quot; style=&quot;color:#100080;font-family:宋体;font-size:8pt;line-height:120%&quot;&gt;&lt;b&gt; &lt;/b&gt;&lt;/font&gt;&#8217;);<br />document.write(&#8216;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#8217;);<br />document.write(&#8216;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#8217;);</p>
<p>document.write(&#8216;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#8217;);</p>
<p>setInterval(&#8216;refreshCalendarClock()&#8217;,1000);<br />&lt;/SCRIPT&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghsy.info/archives/39/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>简单的清除电脑临时文件代码</title>
		<link>http://www.ghsy.info/archives/10</link>
		<comments>http://www.ghsy.info/archives/10#comments</comments>
		<pubDate>Sun, 11 Mar 2007 01:17:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[实用资源]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[电脑]]></category>

		<guid isPermaLink="false">http://75.126.94.192/~chenygcn/?p=10</guid>
		<description><![CDATA[<p>临时文件多了以后会影响到电脑的运行速度。</p><p>下面我来提供一种简单的清除临时文件的代码。<br/></p>
]]></description>
			<content:encoded><![CDATA[<p>临时文件多了以后会影响到电脑的运行速度。</p>
<p>下面我来提供一种简单的清除临时文件的代码。</p>
<p>首先打开记事本，将下面的代码粘贴进去：</p>
<p>@echo off </p>
<p>echo 正在清除系统垃圾文件，请稍等&#8230;&#8230;</p>
<p>del /f /s /q %systemdrive%\*.tmp</p>
<p>del /f /s /q %systemdrive%\*._mp</p>
<p>del /f /s /q %systemdrive%\*.log</p>
<p>del /f /s /q %systemdrive%\*.gid</p>
<p>del /f /s /q %systemdrive%\*.chk</p>
<p>del /f /s /q %systemdrive%\*.old</p>
<p>del /f /s /q %systemdrive%\recycled\*.*</p>
<p>del /f /s /q %windir%\*.bak</p>
<p>del /f /s /q %windir%\prefetch\*.*</p>
<p>rd /s /q %windir%\temp &amp; md %windir%\temp</p>
<p>del /f /q %userprofile%\recent\*.*</p>
<p>del /f /s /q &quot;%userprofile%\Local Settings\Temporary Internet Files\*.*&quot;</p>
<p>del /f /s /q &quot;%userprofile%\Local Settings\Temp\*.*&quot;</p>
<p>del /f /s /q &quot;%userprofile%\recent\*.*&quot;</p>
<p>echo 清除系统临时文件完毕！</p>
<p>echo. &amp; pause</p>
<p>接着保存。</p>
<p>再将记事本重新命名，随便取名字都可以&mdash;&mdash;但一定要以.bat做为后缀！这是关键！</p>
<p>把这个文件放到桌面（当然其他地方也可以啦），以后双击就可以看到它开始清除你的电脑里的临时文件了！ </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghsy.info/archives/10/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

