<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.2" -->
<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/"
	>

<channel>
	<title>银子's 博客</title>
	<link>http://www.zdyi.com</link>
	<description>工作手记 - 一个人的战斗</description>
	<pubDate>Fri, 09 May 2008 08:33:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<item>
		<title>有趣的Perl</title>
		<link>http://www.zdyi.com/index.php/laughably-perl/85.html</link>
		<comments>http://www.zdyi.com/index.php/laughably-perl/85.html#comments</comments>
		<pubDate>Fri, 09 May 2008 08:30:08 +0000</pubDate>
		<dc:creator>银子</dc:creator>
		
		<category><![CDATA[Perl]]></category>

		<category><![CDATA[有趣]]></category>

		<guid isPermaLink="false">http://www.zdyi.com/index.php/laughably-perl/85.html</guid>
		<description><![CDATA[最近修改一个站点.用Perl语言写的..
从没碰过..有点犯晕.不过PHP最早就是Perl的一个扩展.语法上十分类似.
就硬着头皮上了.
一打开pl文件就犯了眼晕..
光变量前缀就有三种.
$还是很熟悉的嘛..但... ]]></description>
			<content:encoded><![CDATA[<p>最近修改一个站点.用Perl语言写的..</p>
<p>从没碰过..有点犯晕.不过PHP最早就是Perl的一个扩展.语法上十分类似.<br />
就硬着头皮上了.</p>
<p>一打开pl文件就犯了眼晕..<br />
光变量前缀就有三种.</p>
<p>$还是很熟悉的嘛..但在Perl里却只能做为标量变量的前缀</p>
<p>还有一个@与%,分别是数组与哈希数组的前缀</p>
<p>老把@当做抑错符.PHP的习惯还是改不了..</p>
<p>继续学习中&#8230;</p>
<p>另:查到Perl的两个全称</p>
<p>Practical Extractoin and Report Language 实用抽取和报表语言</p>
<p>Pathologically Electric Rubbish Lister 变态电子垃圾制造者 (哈哈)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zdyi.com/index.php/laughably-perl/85.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>用 Fast Folder &#038; Command 快速访问常用的文件夹</title>
		<link>http://www.zdyi.com/index.php/fast-folder-command/82.html</link>
		<comments>http://www.zdyi.com/index.php/fast-folder-command/82.html#comments</comments>
		<pubDate>Thu, 08 May 2008 01:24:03 +0000</pubDate>
		<dc:creator>银子</dc:creator>
		
		<category><![CDATA[Other]]></category>

		<category><![CDATA[command]]></category>

		<category><![CDATA[fast]]></category>

		<category><![CDATA[folder]]></category>

		<category><![CDATA[常用]]></category>

		<category><![CDATA[快速]]></category>

		<category><![CDATA[文件夹]]></category>

		<category><![CDATA[访问]]></category>

		<guid isPermaLink="false">http://www.zdyi.com/index.php/fast-folder-command/82.html</guid>
		<description><![CDATA[Fast Folder &#038; Command 是一款超强的外壳增强软件。它可以让您快速访问常用的文件夹。
你只需要在桌面或资源管理器空白处单击鼠标右键就可以在其中找到“快捷文件夹”菜单。通过该菜单你... ]]></description>
			<content:encoded><![CDATA[<p>Fast Folder &#038; Command 是一款超强的外壳增强软件。它可以让您快速访问常用的文件夹。<br />
你只需要在桌面或资源管理器空白处单击鼠标右键就可以在其中找到“快捷文件夹”菜单。通过该菜单你可以快速访问已定义的文件夹进行快捷文件夹编辑或添加操作。</p>
<p>Fast Folder &#038; Command 还可以为您创建快捷命令。快捷命令可以为您启动程序、打开文件夹、运行文件或者启动 URL。你只需要在程序中配置快捷命令的别名与路径，然后打开开始菜单中的运行对话框，输入先前配置程序的别名即可！十分方便！</p>
<p>软件界面:<br />
<a href='http://www.zdyi.com/wp-content/uploads/2008/05/fastfolder.gif' rel='lightbox' title=''><img src='http://www.zdyi.com/wp-content/uploads/2008/05/fastfolder.gif' width='350' height='250' alt='' /></a></p>
<p>LOOK:<br />
<a href='http://www.zdyi.com/wp-content/uploads/2008/05/view.gif' title='view.gif' rel='lightbox' ><img src='http://www.zdyi.com/wp-content/uploads/2008/05/view.gif' width='71' height='140' alt='view.gif' /></a></p>
<p>下载地址:<a href="http://www.onlinedown.net/soft/49673.htm" target="_new">http://www.onlinedown.net/soft/49673.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zdyi.com/index.php/fast-folder-command/82.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>(备忘)MySQL实用命令</title>
		<link>http://www.zdyi.com/index.php/mysql-command/79.html</link>
		<comments>http://www.zdyi.com/index.php/mysql-command/79.html#comments</comments>
		<pubDate>Mon, 05 May 2008 07:22:48 +0000</pubDate>
		<dc:creator>银子</dc:creator>
		
		<category><![CDATA[PHP&amp;MySql]]></category>

		<category><![CDATA[command]]></category>

		<category><![CDATA[MySql]]></category>

		<category><![CDATA[命令]]></category>

		<category><![CDATA[实用]]></category>

		<guid isPermaLink="false">http://www.zdyi.com/index.php/mysql-command/79.html</guid>
		<description><![CDATA[一 连接MYSQL： 
   格式： mysql -h主机地址 -u用户名 －p用户密码 
1、例1：连接到本机上的MYSQL 
   首先在打开DOS窗口，然后进入mysql安装目录下的bin目录下，例如： D:\mysql\bin，再键入命令mysql -uroo... ]]></description>
			<content:encoded><![CDATA[<p>一 连接MYSQL： </p>
<p>   格式： mysql -h主机地址 -u用户名 －p用户密码 </p>
<p>1、例1：连接到本机上的MYSQL </p>
<p>   首先在打开DOS窗口，然后进入mysql安装目录下的bin目录下，例如： D:\mysql\bin，再键入命令mysql -uroot -p，回车后提示你输密码，如果刚安装好MYSQL，超级用户root是没有密码的，故直接回车即可进入到MYSQL中了，MYSQL的提示符是：mysql> </p>
<p>2、例2：连接到远程主机上的MYSQL </p>
<p>   假设远程主机的IP为：10.0.0.1，用户名为root,密码为123。则键入以下命令：<br />
   mysql -h10.0.0.1 -uroot -p123<br />
  （注：u与root可以不用加空格，其它也一样）</p>
<p>3、退出MYSQL命令 </p>
<p>   exit （回车） </p>
<p> <a href="http://www.zdyi.com/index.php/mysql-command/79.html#more-79" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zdyi.com/index.php/mysql-command/79.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>date函数格式化UNIX时间戳时差问题的解决方法</title>
		<link>http://www.zdyi.com/index.php/date-function-format/75.html</link>
		<comments>http://www.zdyi.com/index.php/date-function-format/75.html#comments</comments>
		<pubDate>Tue, 29 Apr 2008 07:58:09 +0000</pubDate>
		<dc:creator>银子</dc:creator>
		
		<category><![CDATA[PHP&amp;MySql]]></category>

		<category><![CDATA[date]]></category>

		<category><![CDATA[UNIX时间戳]]></category>

		<category><![CDATA[函数]]></category>

		<category><![CDATA[时差]]></category>

		<category><![CDATA[格式化]]></category>

		<guid isPermaLink="false">http://www.zdyi.com/index.php/date-function-format/75.html</guid>
		<description><![CDATA[插入数据库里的时间格式是unix时间戳
当再用date函数格式化unix时间戳时发现是格林尼治的时间

$nowtime = time();
$mtime = date('Y-m-d H:i:s',$nowtime);
echo $mtime;

解决方法:
在使用date函数之前先设置默认... ]]></description>
			<content:encoded><![CDATA[<p>插入数据库里的时间格式是unix时间戳</p>
<p>当再用date函数格式化unix时间戳时发现是格林尼治的时间</p>
<p><code><br />
$nowtime = time();<br />
$mtime = date('Y-m-d H:i:s',$nowtime);</p>
<p>echo $mtime;<br />
</code></p>
<p>解决方法:</p>
<p>在使用date函数之前先设置默认时区</p>
<p><code><br />
date_default_timezone_set('Etc/GMT-8');<br />
</code></p>
<p>OK..现在输出的就是东八区的时间了..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zdyi.com/index.php/date-function-format/75.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>上传图片附件显示缩略图</title>
		<link>http://www.zdyi.com/index.php/up-image-thumbnails/73.html</link>
		<comments>http://www.zdyi.com/index.php/up-image-thumbnails/73.html#comments</comments>
		<pubDate>Mon, 28 Apr 2008 07:50:39 +0000</pubDate>
		<dc:creator>银子</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[XHTML+CSS]]></category>

		<category><![CDATA[上传图片]]></category>

		<category><![CDATA[缩略图]]></category>

		<category><![CDATA[附件]]></category>

		<guid isPermaLink="false">http://www.zdyi.com/index.php/up-image-thumbnails/73.html</guid>
		<description><![CDATA[刚开始以为很容易解决.写js嘛..-_,-+

< i nput  type="file" onchange="document.getElementById('showimg').src=this.value;" />
  
然而本地测试成功的代码上传到服务器上就出现了错误..空格被自动转义成为了%20  
无语... ]]></description>
			<content:encoded><![CDATA[<p>刚开始以为很容易解决.写js嘛..-_,-+</p>
<p><code><br />
< i nput  type="file" onchange="document.getElementById('showimg').src=this.value;" /><br />
</code>  </p>
<p>然而本地测试成功的代码上传到服务器上就出现了错误..空格被自动转义成为了%20  </p>
<p>无语ing&#8230;.囧..</p>
<p>不过总算找到一个BT的方法..用CSS中的AlphaImageLoader滤镜 -_!!</p>
<p>AlphaImageLoader滤镜的使用方法就不做说明..自己查下手册</p>
<p>AlphaImageLoader滤镜的src属就是其中的主角 它将使用<strong>绝对</strong>或相对url地址指定背景图像。假如忽略此参数，滤镜将不会作用。</p>
<p>放出代码</p>
<p> <a href="http://www.zdyi.com/index.php/up-image-thumbnails/73.html#more-73" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zdyi.com/index.php/up-image-thumbnails/73.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>超二批处理,原来只有三行</title>
		<link>http://www.zdyi.com/index.php/apache-batch-program/72.html</link>
		<comments>http://www.zdyi.com/index.php/apache-batch-program/72.html#comments</comments>
		<pubDate>Fri, 25 Apr 2008 08:52:01 +0000</pubDate>
		<dc:creator>银子</dc:creator>
		
		<category><![CDATA[Other]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[删除]]></category>

		<category><![CDATA[批处理]]></category>

		<category><![CDATA[重启]]></category>

		<category><![CDATA[错误日志]]></category>

		<guid isPermaLink="false">http://www.zdyi.com/index.php/apache-batch-program/72.html</guid>
		<description><![CDATA[1.关闭apache. 后面是apache的版本号.俺这里用的是2.2
2.删除apache错误日志防止错误日志过多,del /q 后是错误日志的绝对路径
3.重新启动apache

net stop apache2.2
del /q D:\apache\logs\error.log
net start apache2.2

... ]]></description>
			<content:encoded><![CDATA[<p>1.关闭apache. 后面是apache的版本号.俺这里用的是2.2<br />
2.删除apache错误日志防止错误日志过多,del /q 后是错误日志的绝对路径<br />
3.重新启动apache</p>
<p><code><br />
net stop apache2.2<br />
del /q D:\apache\logs\error.log<br />
net start apache2.2<br />
</code></p>
<p>存成bat文件.需要重启apache双击便可</p>
<p>简单但提高了效率..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zdyi.com/index.php/apache-batch-program/72.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>清除系统垃圾文件</title>
		<link>http://www.zdyi.com/index.php/refuse-removal-system-documentation/71.html</link>
		<comments>http://www.zdyi.com/index.php/refuse-removal-system-documentation/71.html#comments</comments>
		<pubDate>Thu, 17 Apr 2008 06:04:46 +0000</pubDate>
		<dc:creator>银子</dc:creator>
		
		<category><![CDATA[Other]]></category>

		<category><![CDATA[垃圾文件]]></category>

		<category><![CDATA[清除]]></category>

		<category><![CDATA[系统]]></category>

		<guid isPermaLink="false">http://www.zdyi.com/index.php/refuse-removal-system-documentation/71.html</guid>
		<description><![CDATA[系统运行一段时间就会产生很多无用的临时文件.
一个批处理.快速清除系统垃圾文件

@echo off
echo 清除系统垃圾启动，请稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %sys... ]]></description>
			<content:encoded><![CDATA[<p>系统运行一段时间就会产生很多无用的临时文件.</p>
<p>一个批处理.快速清除系统垃圾文件</p>
<p><code><br />
@echo off<br />
echo 清除系统垃圾启动，请稍等......<br />
del /f /s /q %systemdrive%\*.tmp<br />
del /f /s /q %systemdrive%\*._mp<br />
del /f /s /q %systemdrive%\*.log<br />
del /f /s /q %systemdrive%\*.gid<br />
del /f /s /q %systemdrive%\*.chk<br />
del /f /s /q %systemdrive%\*.old<br />
del /f /s /q %systemdrive%\recycled\*.*<br />
del /f /s /q %windir%\*.bak<br />
del /f /s /q %windir%\prefetch\*.*<br />
rd /s /q %windir%\temp &#038; md %windir%\temp<br />
del /f /q %userprofile%\cookies\*.*<br />
del /f /q %userprofile%\recent\*.*<br />
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"<br />
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"<br />
del /f /s /q "%userprofile%\recent\*.*"<br />
echo 清除系统垃圾完毕！按任意键退出!<br />
echo. &#038; pause<br />
</code></p>
<p>复制上面代码.保存在文本文档中.改扩展名为.bat 　双击运行.<br />
或是在命令行里直接运行</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zdyi.com/index.php/refuse-removal-system-documentation/71.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Love China - MSN</title>
		<link>http://www.zdyi.com/index.php/love-china-msn/68.html</link>
		<comments>http://www.zdyi.com/index.php/love-china-msn/68.html#comments</comments>
		<pubDate>Thu, 17 Apr 2008 02:27:28 +0000</pubDate>
		<dc:creator>银子</dc:creator>
		
		<category><![CDATA[Other]]></category>

		<category><![CDATA[China]]></category>

		<category><![CDATA[Love]]></category>

		<category><![CDATA[MSN]]></category>

		<guid isPermaLink="false">http://www.zdyi.com/index.php/love-china-msn/68.html</guid>
		<description><![CDATA[发篇与技术无关的日志.
昨天接到朋友的消自.在MSN的呢称前加上(L)CHINA.据统计目前已有230万人用上了这个呢称前缀.这一数字还在不断增长.
支持爱国行动.而不是非理性的抵制.中国人应该更有自... ]]></description>
			<content:encoded><![CDATA[<p>发篇与技术无关的日志.</p>
<p>昨天接到朋友的消自.在MSN的呢称前加上(L)CHINA.据统计目前已有<span style="color:#f00"><strong>230万</strong></span>人用上了这个呢称前缀.这一数字还在不断增长.</p>
<p>支持爱国行动.而不是非理性的抵制.中国人应该更有自信.</p>
<p><a href='http://www.zdyi.com/wp-content/uploads/2008/04/love_china1.jpg' rel='lightbox' title='love china'><img src='http://www.zdyi.com/wp-content/uploads/2008/04/love_china1.jpg' width='151' height='466' alt='love china' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zdyi.com/index.php/love-china-msn/68.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Zend Studio 常用快捷键</title>
		<link>http://www.zdyi.com/index.php/zend-studio-shortcut-key/67.html</link>
		<comments>http://www.zdyi.com/index.php/zend-studio-shortcut-key/67.html#comments</comments>
		<pubDate>Fri, 11 Apr 2008 06:35:44 +0000</pubDate>
		<dc:creator>银子</dc:creator>
		
		<category><![CDATA[PHP&amp;MySql]]></category>

		<category><![CDATA[Studio]]></category>

		<category><![CDATA[Zend]]></category>

		<category><![CDATA[常用]]></category>

		<category><![CDATA[快捷键]]></category>

		<guid isPermaLink="false">http://www.zdyi.com/index.php/zend-studio-shortcut-key/67.html</guid>
		<description><![CDATA[原文地址 http://www.zendstudio.net/component/ZendStudio-Shortcuts/
编辑功能

Ctrl + /　单行注释
Ctrl + Shift + /　块注释
Ctrl + U　选择的代码片段全部转换为大写
Ctrl + L　选择的代码片段全部转换为小写
Ctrl + D... ]]></description>
			<content:encoded><![CDATA[<p>原文地址 <a href=http://www.zendstudio.net/component/ZendStudio-Shortcuts/>http://www.zendstudio.net/component/ZendStudio-Shortcuts/</a></p>
<p><strong>编辑功能</strong><br />
<code><br />
Ctrl + /　单行注释<br />
Ctrl + Shift + /　块注释<br />
Ctrl + U　选择的代码片段全部转换为大写<br />
Ctrl + L　选择的代码片段全部转换为小写<br />
Ctrl + D　复制光标所在行<br />
Ctrl + E　删除光标所在行<br />
Tab　增加代码缩进<br />
Shift + Tab　减少缩进<br />
Ctrl + Alt+ F　在文件中查找<br />
Ctrl + BackSpace　删除光标前一个单词或一个符号<br />
Ctrl + G　转到行<br />
Alt + →　定位到光标的下一个位置<br />
Alt + ←　定位到光标的上一个位置<br />
</code></p>
<p><strong>环境切换</strong><br />
<code><br />
Esc　隐藏辅助窗口<br />
Ctrl + W　切换自动换行<br />
Ctrl + Tab　在各个编辑器标签页之间切换<br />
Ctrl + F4　关闭当前标签页<br />
Alt + F4　关闭ZDE<br />
</code></p>
<p> <a href="http://www.zdyi.com/index.php/zend-studio-shortcut-key/67.html#more-67" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zdyi.com/index.php/zend-studio-shortcut-key/67.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>JS常用代码:五行搞定checkbox全选/全不选</title>
		<link>http://www.zdyi.com/index.php/checkbox-all-checked/66.html</link>
		<comments>http://www.zdyi.com/index.php/checkbox-all-checked/66.html#comments</comments>
		<pubDate>Wed, 09 Apr 2008 08:27:34 +0000</pubDate>
		<dc:creator>银子</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[checkbox]]></category>

		<category><![CDATA[checked]]></category>

		<category><![CDATA[全不选]]></category>

		<category><![CDATA[全选]]></category>

		<guid isPermaLink="false">http://www.zdyi.com/index.php/checkbox-all-checked/66.html</guid>
		<description><![CDATA[经常会用到的JS代码.记录一下.以后用得着
&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62;
&#60;html&#160;xmlns=&#34;http://www.w3.org/1999/xht... ]]></description>
			<content:encoded><![CDATA[<p>经常会用到的JS代码.记录一下.以后用得着</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Gray;">&lt;!</span><span style="color: Blue;">DOCTYPE</span><span style="color: Gray;"> </span><span style="color: Blue;">html</span><span style="color: Gray;"> </span><span style="color: Blue;">PUBLIC</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">-//W3C//DTD XHTML 1.0 Transitional//EN</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">&gt;</span></li>
<li><span style="color: Gray;">&lt;</span><span style="color: Blue;">html</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">xmlns</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">http://www.w3.org/1999/xhtml</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">&gt;</span></li>
<li><span style="color: Gray;">&lt;</span><span style="color: Blue;">head</span><span style="color: Gray;">&gt;</span></li>
<li><span style="color: Gray;">&lt;</span><span style="color: Blue;">meta</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">http</span><span style="color: Gray;">-</span><span style="color: Blue;">equiv</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">Content-Type</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: Blue;">content</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">text/html; charset=gb2312</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #8b0000;">/</span><span style="color: Red;">&gt;</span></li>
<li><span style="color: Red;">&lt;title&gt;无标题文档&lt;</span><span style="color: #8b0000;">/</span><span style="color: Blue;">title</span><span style="color: Gray;">&gt;</span></li>
<li><span style="color: Gray;">&lt;</span><span style="color: Blue;">style</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">type</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">text/css</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">&gt;</span></li>
<li><span style="color: Blue;">p</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">{</span><span style="color: Blue;">margin</span><span style="color: Gray;">:</span><span style="color: Maroon;">0</span><span style="color: Gray;">;</span><span style="color: Blue;">font</span><span style="color: Gray;">-</span><span style="color: Blue;">size</span><span style="color: Gray;">:</span><span style="color: Maroon;">12</span><span style="color: Blue;">px</span><span style="color: Gray;">;</span><span style="color: Blue;">line</span><span style="color: Gray;">-</span><span style="color: Blue;">height</span><span style="color: Gray;">:</span><span style="color: Maroon;">26</span><span style="color: Blue;">px</span><span style="color: Gray;">;</span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&lt;</span><span style="color: #8b0000;">/</span><span style="color: Red;">style&gt;</span></li>
<li><span style="color: Red;">&lt;script type=&quot;text</span><span style="color: #8b0000;">/</span><span style="color: Blue;">javascript</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">&gt;</span></li>
<li><span style="color: Red;">function check_all(obj,cName)</span></li>
<li><span style="color: Red;">{</span></li>
<li><span style="color: Red;">&nbsp; &nbsp; var checkboxs = document.getElementsByName(cName);</span></li>
<li><span style="color: Red;">&nbsp; &nbsp; for(var i=0;i&lt;checkboxs.length;i++){checkboxs[i].checked = obj.checked;}</span></li>
<li><span style="color: Red;">}</span></li>
<li><span style="color: Red;">&lt;/script&gt;</span></li>
<li><span style="color: Red;">&lt;/head&gt;</span></li>
<li><span style="color: Red;">&nbsp;</span></li>
<li><span style="color: Red;">&lt;body&gt;</span></li>
<li><span style="color: Red;">&lt;p&gt;&lt;input type=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">checkbox</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> name=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">all</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> onclick=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">check_all</span><span style="color: Olive;">(</span><span style="color: Green;">this</span><span style="color: Gray;">,</span><span style="color: #8b0000;">'</span><span style="color: Red;">c</span><span style="color: #8b0000;">'</span><span style="color: Olive;">)</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> /&gt;全选/全不选&lt;/p&gt;</span></li>
<li><span style="color: Red;">&lt;p&gt;&lt;input type=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">checkbox</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> name=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">c</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> value=</span><span style="color: #8b0000;">&quot;&quot;</span><span style="color: Red;"> /&gt;&lt;/p&gt;</span></li>
<li><span style="color: Red;">&lt;p&gt;&lt;input type=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">checkbox</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> name=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">c</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> value=</span><span style="color: #8b0000;">&quot;&quot;</span><span style="color: Red;"> /&gt;&lt;/p&gt;</span></li>
<li><span style="color: Red;">&lt;p&gt;&lt;input type=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">checkbox</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> name=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">c</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> value=</span><span style="color: #8b0000;">&quot;&quot;</span><span style="color: Red;"> /&gt;&lt;/p&gt;</span></li>
<li><span style="color: Red;">&lt;p&gt;&lt;input type=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">checkbox</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> name=</span><span style="color: #8b0000;">&quot;</span><span style="color: Blue;">c</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> value=</span><span style="color: #8b0000;">&quot;&quot;</span><span style="color: Red;"> /&gt;&lt;/p&gt;</span></li>
<li><span style="color: Red;">&lt;/body&gt;</span></li>
<li><span style="color: Red;">&lt;/html&gt;</span></li></ol></div>
]]></content:encoded>
			<wfw:commentRss>http://www.zdyi.com/index.php/checkbox-all-checked/66.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
