﻿<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="/Images/rss.xslt"?><rss version="2.0"><channel><title>柳永法－JavaScript</title><description>柳永法(yongfa365)'Blog RSS</description><link>http://www.yongfa365.com/JavaScript/</link><copyright>(C) 2007 http://www.yongfa365.com</copyright><item>
  <title>Google与Microsoft为jQuery,Prototype,MooTools等类库提供CDN服务</title>
  <description><![CDATA[以前在网站中都是这么引入jquery脚本库的：<br />&lt;script type=&quot;text/javascript&quot; src=&quot;/Comm/jQuery.min.js&quot;&gt;&lt;/script&gt;<br />有时还要引入其它比较大的脚本类库，如：Prototype，每次引入时柳永法(yongfa365)'Blog都得考虑：这么大的东西客户打开网页时要多郁闷啊。<br />现在好了，Google与Microsoft为jQuery,Prototype,MooTools等类库..]]></description>
  <link>http://www.yongfa365.com/Item/Google-Microsoft-jQuery-Prototype-MooTools-CDN.html</link>
  <pubDate>Mon, 08 Mar 2010 16:22:10 GMT</pubDate>
</item>
<item>
  <title>Javascript 生成无限下拉列表</title>
  <description><![CDATA[//FillSelectTree(&quot;nowhaha&quot;, City3, &quot;0&quot;, &quot;311&quot;, -1)<br />//Select控件ID,数据源,父级值,选中值,第几级（用来产生分隔符）<br />function FillSelectTree(SelectId, ArrObj, ParentValue, SelectedValue, NowI) {<br />    StrObj = eval(document.getElementById(SelectId));<br /><br />    NowI++;<br /><br />    //判断它是二级数据源，还是三级 <br />    if (ArrObj[0].length == 2)<br />    { ArrNum = 0; }<br />    else<br />    { ArrNum = 2; }<br /><br />    //生成所有Option <br />    for (var i = 0; i &lt; ArrObj.length; i++) {<br />        if (ArrObj[i][1] == ParentValue) {<br />            StrObj.options[StrObj.length] = new Option(String(&quot;　　&quot;, NowI) + ArrObj[i][0], ArrObj[i][ArrNum]);<br /><br />            //选中默认值<br />            if (ArrObj[i][ArrNum] == SelectedValue) {<br />                StrObj.options[StrObj.length - 1].selected = true;<br />            }<br /><br />            //遍历<br />            FillSelectTree(SelectId, ArrObj, ArrObj[i][ArrNum], SelectedValue, NowI);<br />        }<br />    }<br />}<br /><br /><br />//复制字符串多少次<br />function String(str, nowi) {<br />    strtemp = &quot;&quot;;<br />    for (var i = 0; i &lt; nowi; i++) {<br />        strtemp += str;<br />    }<br />    return strtemp;<br />}<br />]]></description>
  <link>http://www.yongfa365.com/Item/FillSelectTree.html</link>
  <pubDate>Thu, 26 Mar 2009 17:54:44 GMT</pubDate>
</item>
<item>
  <title>JavaScript的execCommand指令集</title>
  <description><![CDATA[<br /><br /> <br />/*<br />*该function执行copy指令<br />*/<br />function fn_doufucopy(){<br />edit.select();<br />document.execCommand('Copy');<br />}<br />/*<br />*该function执行paste指令<br />*/<br />function fn_doufupaste() { <br />tt.focus();<br />document.execCommand('paste');<br />} <br />/*<br />*该function用来创建一个超链接<br />*/<br />function fn_creatlink()<br />{<br />  doc..]]></description>
  <link>http://www.yongfa365.com/Item/JavaScript-execCommand.html</link>
  <pubDate>Thu, 08 Jan 2009 11:25:25 GMT</pubDate>
</item>
<item>
  <title>传说中世界上最小的在线文本编辑器</title>
  <description><![CDATA[&lt;html&gt;<br />&lt;body&gt;<br />&lt;center&gt;<br />&lt;div unselectable=&quot;on&quot; align=&quot;center&quot; style=&quot;height:360; width:400; background-color:menu; border:outset menu&quot;&gt;<br />&lt;br&gt;<br />&lt;div id=&quot;foo&quot; contenteditable align=&quot;left&quot; style=&quot;height:250; width:350; background-color:white;font-face:Arial; padding:2; border:inset powderblue; scro..]]></description>
  <link>http://www.yongfa365.com/Item/Web-Editor-Small.html</link>
  <pubDate>Thu, 08 Jan 2009 11:21:40 GMT</pubDate>
</item>
<item>
  <title>悟透JavaScript</title>
  <description><![CDATA[    任何一个JavaScript的标识、常量、变量和参数都只是unfined, null, bool, number, string, object 和 function类型中的一种，也就typeof返回值表明的类型。除此之外没有其他类型了。<br /><br />    先说说简单数据类型吧。<br /><br />    undefined:   代表一切未知的事物，啥都没有，无法想象，代码也就更无法去处理了。<br />                      注意：typeof(undefined) 返回也是 undefined。<br />                              可以将undefined赋值给任何变量或属性，但并不意味了清除了该变量，反而会因此多了一个属性。<br /><br />    null:            有那么一个概念，但没有东西。无中似有，有中还无。虽难以想象，但已经可以用代码来处理了。<br />                      注意：typeof(null)返回object，但null并非object，具有null值的变量也并非object。<br /><br />    boolean:      是就是，非就非，没有疑义。对就对，错就错，绝对明确。既能被代码处理，也可以控制代码的流程。<br /><br />    number:      线性的事物，大小和次序分明，多而不乱。便于代码进行批量处理，也控制代码的迭代和循环等。<br />                      注意：typeof(NaN)和typeof(Infinity)都返回number 。<br />                              NaN参与任何数值计算的结构都是NaN，而且 NaN != NaN 。<br />                              Infinity / Infinity = NaN 。<br /><br />    string:         面向人类的理性事物，而不是机器信号。人机信息沟通，代码据此理解人的意图等等，都靠它了。]]></description>
  <link>http://www.yongfa365.com/Item/Wu-Tou-JavaScript.html</link>
  <pubDate>Sun, 12 Oct 2008 21:22:16 GMT</pubDate>
</item>
<item>
  <title>Ajax中的get和post两种请求方式的异同</title>
  <description><![CDATA[get是把参数数据队列加到提交表单的ACTION属性所指的URL中，值和表单内各个字段一一对应，在URL中可以看到。post是通过HTTP post机制，将表单内各个字段与其内容放置在HTML HEADER内一起传送到ACTION属性所指的URL地址。用户看不到这个过程。]]></description>
  <link>http://www.yongfa365.com/Item/Ajax-GET-POST.html</link>
  <pubDate>Sat, 20 Sep 2008 23:39:11 GMT</pubDate>
</item>
<item>
  <title>用javascript/css实现GridView行背景色交替、鼠标划过行变色，点击行变色选中</title>
  <description><![CDATA[下面是代码，注释应该还算比较详细，比较适合初学者，可以把下面两个文件的代码直接复制到你的项目中直接执行。最下面有文件的下载地址，也可以直接下载后运行，代码在IE7,IE8,Firefox2,Firefox3下测试通过，有任何问题，请在下面留言，我将尽量及时回复。]]></description>
  <link>http://www.yongfa365.com/Item/Javascript-CSS-GridView-Rows-Change-Color.html</link>
  <pubDate>Sat, 30 Aug 2008 11:16:33 GMT</pubDate>
</item>
<item>
  <title>top.location.href 没有权限 解决方法</title>
  <description><![CDATA[try{top.location.host}catch(exp){top.location=&quot;http://www.yongfa365.com/&quot;;}]]></description>
  <link>http://www.yongfa365.com/Item/top.location.href.html</link>
  <pubDate>Mon, 04 Aug 2008 13:28:46 GMT</pubDate>
</item>
<item>
  <title>图片连续无间隙向上滚动，无间隙向下滚动，符合W3C Web标准</title>
  <description><![CDATA[//向上滚动函数，demo包含demo1与demo2,speed是滚动速度，flag一个网页内有多个时设置为不同的任意字符。<br />//by 柳永法(yongfa365)'Blog　www.yongfa365.com]]></description>
  <link>http://www.yongfa365.com/Item/TuPianLianXuWuJianXiXiangShangGunDongWuJianXiXiangXiaGunDongFuHeW3CWebBiaoZhun.html</link>
  <pubDate>Fri, 18 Jul 2008 23:34:22 GMT</pubDate>
</item>
<item>
  <title>一个标签里不包含某个属性 的 正则表达式的写法</title>
  <description><![CDATA[找出所有img标签的，没有带说明属性alt的标签：<br />正则：&lt;img(?![^&lt;&gt;]*?alt[^&lt;&gt;]*?&gt;).*?&gt;<br />例子：&lt;img src=&quot;&quot; alt=&quot;&quot;&gt; &lt;img src=&quot;&quot; &gt;  &lt;img src=&quot;&quot; title=&quot;&quot;&gt;  &lt;img src=&quot;&quot; id=&quot;&quot;&gt;  &lt;img src=&quot;&quot;  title=&quot;&quot; alt=&quot;&quot;&gt;<br /><br />扩展，如果要找没有带title属性的a应该是：<br />正则：&lt;a(?![^&lt;&gt;]*?title[^&lt;&gt;]*?&gt;).*?&gt;<br />例子：&lt;a src=&quot;&quot; alt..]]></description>
  <link>http://www.yongfa365.com/Item/YiGeBiaoQianLiBuBaoHanMouGeShuXingDeZhengZeBiaoDaShiDeXieFa.html</link>
  <pubDate>Mon, 07 Jul 2008 16:30:26 GMT</pubDate>
</item>
<item>
  <title>图片连续无间隙水平向左滚动，无间隙水平向右滚动，符合W3C Web标准</title>
  <description><![CDATA[很久以前就有这个问题，总是找不到通用的，或比较简单的“图片连续无间隙向左滚动，无间隙向右滚动，符合W3C&nbsp;Web标准”，这次又遇上一个这样的问题，找了老半天终于从网上找到一个不错的，看了下代码，思路很简单，但代码太多，通用性也不行，于是乎，自己又发明了两个函数，用起来感觉还真不错，与大家共享]]></description>
  <link>http://www.yongfa365.com/Item/TuPianLianXuWuJianXiXiangZuoGunDongWuJianXiXiangYouGunDongFuHeW3CWebBiaoZhun.html</link>
  <pubDate>Sun, 06 Apr 2008 23:43:32 GMT</pubDate>
</item>
<item>
  <title>[转]javascript DOM 学习笔记</title>
  <description><![CDATA[javascript&nbsp;DOM&nbsp;学习笔记<br />一、DOM基础<br />1.节点(node)层次<br />Document－－最顶层的节点，所有的其他节点都是附属于它的。<br />DocumentType－－DTD引用（使用&lt;!DOCTYPE&gt;语法）的对象表现形式，它不能包含子节点。<br />DocumentFragment－－可以像Document一样来保存其他节点。<br />Element－－表示起始标签和结束标签之间的内..]]></description>
  <link>http://www.yongfa365.com/Item/javascript-DOM-Xue-Xi-Bi-Ji.html</link>
  <pubDate>Fri, 01 Feb 2008 16:05:35 GMT</pubDate>
</item>
<item>
  <title>String.prototype实现的一些javascript函数</title>
  <description><![CDATA[//String.prototype使用<br /><br />//批量替换，比如：str.ReplaceAll([/a/g,/b/g,/c/g],[&quot;aaa&quot;,&quot;bbb&quot;,&quot;ccc&quot;])<br />String.prototype.ReplaceAll=function&nbsp;(A,B)&nbsp;{<br />	var&nbsp;C=this;<br />	for(var&nbsp;i=0;iC)return&nbsp;false;<br />	if(B)&nbsp;{<br />		var&nbsp;E=new&nbsp;RegExp(A+'$','i');<br />		return&nbsp;E.test(this);<br />	}else&nbsp;return&nbsp;(..]]></description>
  <link>http://www.yongfa365.com/Item/String.prototype-Shi-Xian-De-Yi-Xie-javascript-Han-Shu.html</link>
  <pubDate>Wed, 05 Dec 2007 12:32:01 GMT</pubDate>
</item>
<item>
  <title>hta实现涂鸦效果</title>
  <description><![CDATA[function&nbsp;Fun()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for(var&nbsp;i&nbsp;=&nbsp;0;&nbsp;i&nbsp;&lt;&nbsp;randDiv.length;&nbsp;i++)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;randDiv[i].style.top&nbsp;=&nbsp;Math.floor(Math.random()&nbsp;*&nbsp;window.screen.height);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;randDiv[i].style.left&nbsp;=&nbsp;Math.floor(Math.random()&nbsp;*&nbsp;window.screen.width);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;randDiv[i].style.width&nbsp;=&nbsp;Math.floor(Math.random()&nbsp;*&nbsp;100);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;randDiv[i].style.height&nbsp;=&nbsp;Math.floor(Math.random()&nbsp;*&nbsp;100);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;randDiv[i].style.background&nbsp;=&nbsp;GetRandomColor();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setTimeout(&quot;Fun()&quot;,&nbsp;timer);<br />}]]></description>
  <link>http://www.yongfa365.com/Item/hta-Shi-Xian-Tu-Ya-Xiao-Guo.html</link>
  <pubDate>Tue, 04 Dec 2007 10:57:57 GMT</pubDate>
</item>
<item>
  <title>JavaScript正则表达式之后向引用</title>
  <description><![CDATA[一般我们使用的后项引用都是直接替换时用，但有时候我们还想对这些后向引用进行处理或判断后看看他是不是符合要求，这时我们可以用a=RegExp.$1这样来处理]]></description>
  <link>http://www.yongfa365.com/Item/JavaScript-Zheng-Ze-Biao-Da-Shi-Zhi-Hou-Xiang-Yin-Yong.html</link>
  <pubDate>Mon, 12 Nov 2007 14:40:08 GMT</pubDate>
</item>
<item>
  <title>window.print vbscript 设置打印页眉页脚为空</title>
  <description><![CDATA[function&nbsp;pagesetup_null()&nbsp;<br />	on&nbsp;error&nbsp;resume&nbsp;next&nbsp;<br />	Set&nbsp;RegWsh&nbsp;=&nbsp;CreateObject(&quot;WScript.Shell&quot;)&nbsp;<br />	hkey_root=&quot;HKEY_CURRENT_USER&quot;&nbsp;<br />	hkey_path=&quot;\Software\Microsoft\Internet&nbsp;Explorer\PageSetup&quot;&nbsp;<br />	hkey_key=&quot;\header&quot;&nbsp;<br />	RegWsh.RegWrite&nbsp;hkey_root+hkey_path+hkey_key,&quot;&quot;<br />	hkey_key=&quot;\footer&quot;&nbsp;<br />	RegWsh.RegWrite&nbsp;hkey_root+hkey_path+hkey_key,&quot;&quot;&nbsp;<br />end&nbsp;function&nbsp;<br />'//设置网页打印的页眉页脚为默认值&nbsp;<br />function&nbsp;pagesetup_default()&nbsp;<br />	on&nbsp;error&nbsp;resume&nbsp;next&nbsp;<br />	Set&nbsp;RegWsh&nbsp;=&nbsp;CreateObject(&quot;WScript.Shell&quot;)&nbsp;<br />	hkey_root=&quot;HKEY_CURRENT_USER&quot;&nbsp;<br />	hkey_path=&quot;\Software\Microsoft\Internet&nbsp;Explorer\PageSetup&quot;&nbsp;<br />	hkey_key=&quot;\header&quot;&nbsp;<br />	RegWsh.RegWrite&nbsp;hkey_root+hkey_path+hkey_key,&quot;&amp;w&amp;b页码，&amp;p/&amp;P&quot;&nbsp;<br />	hkey_key=&quot;\footer&quot;&nbsp;<br />	RegWsh.RegWrite&nbsp;hkey_root+hkey_path+hkey_key,&quot;&amp;u&amp;b&amp;d&quot;&nbsp;<br />end&nbsp;function&nbsp;]]></description>
  <link>http://www.yongfa365.com/Item/windowprintvbscript-She-Zhi-Da-Yin-Ye-Mei-Ye-Jiao-Wei-Kong.html</link>
  <pubDate>Thu, 08 Nov 2007 10:53:51 GMT</pubDate>
</item>
<item>
  <title>贪婪的、惰性的和支配性的量词</title>
  <description><![CDATA[　　贪婪量词先看整个字符串是不是匹配，如果没有发现匹配，先去掉最后字符串中的最后一个字符，并再次尝试，如果还没有发现匹配，那么再次去掉最后一个字符，这个过程会一直重复下去直到发现匹配或不剩任何字符串，上面的简单量词都是贪婪量词。<br />　　惰性量词先看字符串中的第一个字母是不是一个匹配，如果不匹配则继续读入下一个字符进行匹配，如果没有则一直匹配下去，与贪婪量词刚好相反，惰性量词用上面的简单量词跟一个?表示。<br />　　支配量词只尝试匹配整个字符串，如果整个字符串不能匹配，不能进一步尝试。<br />　　注意：IE和Opera不支持支配量词。]]></description>
  <link>http://www.yongfa365.com/Item/Tan-Lan-De-Duo-Xing-De-He-Zhi-Pei-Xing-De-Liang-Ci.html</link>
  <pubDate>Sat, 27 Oct 2007 09:59:13 GMT</pubDate>
</item>
<item>
  <title>JavaScript在IE和Firefox上的差异及相互替代方法</title>
  <description><![CDATA[1.document.formName.item(&quot;itemName&quot;)&nbsp;问题<br />2.集合类对象问题<br />3.自定义属性问题<br />4.eval(&quot;idName&quot;)问题<br />5.变量名与某HTML对象ID相同的问题<br />6.const问题<br />7.input.type属性问题<br />8.window.event问题<br />9.event.x与event.y问题<br />10.event.srcElement问题<br />11.window.location.href问题]]></description>
  <link>http://www.yongfa365.com/Item/JavaScript-In-IE-Firefox.html</link>
  <pubDate>Wed, 24 Oct 2007 12:10:10 GMT</pubDate>
</item>
<item>
  <title>正则表达式之获取匹配，非获取匹配，正向预查，负向预查</title>
  <description><![CDATA[后向引用，获取匹配<br /><br />非获取匹配<br /><br />正向预查，非获取匹配<br /><br />负向预查，非获取匹配<br />]]></description>
  <link>http://www.yongfa365.com/Item/Regular-Expression-Search-type.html</link>
  <pubDate>Mon, 08 Oct 2007 20:26:47 GMT</pubDate>
</item>
<item>
  <title>javascript数组的几种写法</title>
  <description><![CDATA[ArrIIII=[<br />[&quot;username1&quot;,&quot;0&quot;,&quot;609&quot;],<br />[&quot;username2&quot;,&quot;609&quot;,&quot;610&quot;],<br />[&quot;username3&quot;,&quot;609&quot;,&quot;611&quot;]<br />];]]></description>
  <link>http://www.yongfa365.com/Item/javascript-Shu-Zu-De-Ji-Zhong-Xie-Fa.html</link>
  <pubDate>Tue, 02 Oct 2007 10:53:50 GMT</pubDate>
</item>
<item>
  <title>CSS格式化工具 Emeditor宏 Macros</title>
  <description><![CDATA[/*=========================================================================<br /> * Intro       打开CSS文件，然后运行这个宏<br /> * FileName    CSSFormat.jsee<br /> * Author      yongfa365<br /> * Version     v2.0<br /> * WEB         http://www.yongfa365.com<br /> * Email       yongfa365[at]qq.com<br /> * FirstWrite  http://www.yongfa365.com/Item/CSS-Format-Tool-CSSFormat-For-Emeditor-Macros-yongfa365.html<br /> * LastModify  2007-10-06 03:47:31<br /> *==========================================================================*/]]></description>
  <link>http://www.yongfa365.com/Item/CSS-Format-Tool-CSSFormat-For-Emeditor-Macros-yongfa365.html</link>
  <pubDate>Tue, 28 Aug 2007 17:30:24 GMT</pubDate>
</item>
<item>
  <title>密码强度 </title>
  <description><![CDATA[var&nbsp;$&nbsp;=&nbsp;function(v){return&nbsp;document.getElementById(v);}<br />function&nbsp;isSecurity(v){<br />&nbsp;if&nbsp;(v.length&nbsp;&lt;&nbsp;3)&nbsp;{&nbsp;iss.reset();return;}<br />&nbsp;var&nbsp;lv&nbsp;=&nbsp;-1;<br />&nbsp;if&nbsp;(v.match(/[a-z]/ig)){lv++;}<br />&nbsp;if&nbsp;(v.match(/[0-9]/ig)){lv++;}<br />&nbsp;if&nbsp;(v.match(/(.[^a-z0-9])/ig)){lv++;}<br />&nbsp;if&nbsp;(v.length&nbsp;&nbsp;0){lv--;}<br />&nbsp;iss.reset();<br />&nbsp;switch(lv)&nbsp;{..]]></description>
  <link>http://www.yongfa365.com/Item/568be118bfecf32d.html</link>
  <pubDate>Fri, 08 Jun 2007 01:29:53 GMT</pubDate>
</item>
<item>
  <title>运行,复制,保存,runCode,copyCode,saveCode,运行代码框</title>
  <description><![CDATA[&lt;script&gt;<br /><br />//对代码进行操作 <br /><br />function runCode(obj)<br /><br />{<br /><br />    var winname = window.open(&quot;&quot;, &quot;_blank&quot;,&quot;resizable=yes,scrollbars=yes,status=yes&quot;);<br /><br />    winname.document.open(&quot;text/html&quot;, &quot;replace&quot;);<br /><br /> &amp;..]]></description>
  <link>http://www.yongfa365.com/Item/64f5969471c52310.html</link>
  <pubDate>Fri, 08 Jun 2007 01:28:37 GMT</pubDate>
</item>
<item>
  <title>文本框 css 关闭 输入法</title>
  <description><![CDATA[先点这个输入中文，以让输入法出来：&nbsp;&nbsp;<br /><br />然后再点下边这个，看看是不是输入法被关闭了呢?<br /><br />本文字框输入法被关闭：&nbsp;&nbsp;<br /><br />语法：&nbsp;style=&quot;ime-mode:disabled&quot;&nbsp;<br /><br />范例：&nbsp;&lt;input&nbsp;type=&quot;text&quot;&nbsp;name=&quot;yongfa365.com]]></description>
  <link>http://www.yongfa365.com/Item/9359e62662c257df.html</link>
  <pubDate>Tue, 05 Jun 2007 09:26:53 GMT</pubDate>
</item>
<item>
  <title>JavaScript使用cookie,参数设置,说明;读取,写入,删除函数</title>
  <description><![CDATA[cookie概述<br /><br /><br /><br />cookie是浏览器提供的一种机制，它将document对象的cookie属性提供给JavaScript。可以由JavaScript对其进行控制，而并不是JavaScript本身的性质。cookie是存于用户硬盘的一个文件，这个文件通常对应于一个域名，当浏览器再次访问这个域名时，便使这个cookie可用。因此，cookie可以跨越一个域名下的多个网..]]></description>
  <link>http://www.yongfa365.com/Item/59705178b6eb0a35.html</link>
  <pubDate>Mon, 04 Jun 2007 14:18:18 GMT</pubDate>
</item>
<item>
  <title>meta http-equiv=&quot;refresh&quot; content=&quot;1000&quot;  定时刷新 refresh单位是秒</title>
  <description><![CDATA[&lt;html&gt;<br /><br />&lt;head&gt;<br /><br />&lt;meta&nbsp;http-equiv=&quot;Content-Type&quot;&nbsp;content=&quot;text/html;&nbsp;charset=gb2312&quot;&nbsp;/&gt;<br /><br />&lt;meta&nbsp;http-equiv=&quot;refresh&quot;&nbsp;content=&quot;1000&quot;&gt;&nbsp;<br /><br />&lt;title&gt;隔1000秒刷新当前页面&lt;/title&gt;<br /><br />&lt;/head&gt;<br /><br />&lt;body&gt;<br /><br />&lt;/body&amp;g..]]></description>
  <link>http://www.yongfa365.com/Item/e8b8961523566b3c.html</link>
  <pubDate>Mon, 04 Jun 2007 11:48:34 GMT</pubDate>
</item>
<item>
  <title>JavaScript 常用的编码(url)格式实例说明：escape(),encodeURI(),decodeURI(),encodeURIComponent()</title>
  <description><![CDATA[大家可要看清了，这里的URI不是URL<br /><br /><br />&nbsp;<br /><br /><br />原字符串：&lt;input&nbsp;name=keyword&nbsp;&nbsp;size=100&nbsp;value=&quot;http://www.yongfa365.com/&quot;&gt;&lt;br&gt;<br /><br />&lt;input&nbsp;type=button&nbsp;onclick=codeurl()&nbsp;value=&quot;转换&quot;&gt;&lt;br&gt;<br /><br />encodeURI：(&lt;font&nbsp;color=red&gt;一般对网址javascript编码就用..]]></description>
  <link>http://www.yongfa365.com/Item/a6da3491df2dca76.html</link>
  <pubDate>Sun, 03 Jun 2007 12:42:15 GMT</pubDate>
</item>
<item>
  <title>DOM最常用的方法和属性(JavaScript DOM 编程艺术，DOM Scripting)</title>
  <description><![CDATA[What&nbsp;this&nbsp;section&nbsp;covers:&nbsp;<br /><br /><br /><br />Creating&nbsp;nodes<br /><br />Duplicating&nbsp;nodes<br /><br />Inserting&nbsp;nodes<br /><br />Removing&nbsp;nodes<br /><br />Replacing&nbsp;nodes<br /><br />Manipulating&nbsp;nodes<br /><br />Finding&nbsp;nodes<br /><br />Node&nbsp;properties<br /><br />Traversing&nbsp;the&nbsp;node&nbsp;tree<br /><br /><br /><br />This&nbsp;section&nbsp;contains&nbsp;a&nbsp;list&nbsp;of&nbsp;some&nbsp;of&nbsp;the&nbsp;most&nbsp;useful&nbsp;methods&nbsp;and&nbsp;properties&nbsp;pr..]]></description>
  <link>http://www.yongfa365.com/Item/a2ca314ee8e08f77.html</link>
  <pubDate>Thu, 24 May 2007 22:43:46 GMT</pubDate>
</item>
<item>
  <title>FCKeditor 调用方法 asp版，js版</title>
  <description><![CDATA[FCKeditor&nbsp;调用方法&nbsp;asp版<br />FCKeditor&nbsp;调用方法&nbsp;JS版<br />.....]]></description>
  <link>http://www.yongfa365.com/Item/322391ac7116334c.html</link>
  <pubDate>Tue, 03 Apr 2007 19:16:00 GMT</pubDate>
</item>
<item>
  <title>浮动广告代码 随机漂浮 解决重名 规定漂浮时间后换内容或关闭</title>
  <description><![CDATA[&lt;SCRIPT&gt;<br /><br />//漂浮代码yongfa365制作，http://www.yongfa365.com<br /><br />var&nbsp;piaofu_x&nbsp;=&nbsp;50&nbsp;,&nbsp;piaofu_y&nbsp;=&nbsp;60<br /><br />var&nbsp;piaofu_xin&nbsp;=&nbsp;true,&nbsp;piaofu_yin&nbsp;=&nbsp;true<br /><br />var&nbsp;piaofu_step&nbsp;=&nbsp;1<br /><br />var&nbsp;piaofu_delay&nbsp;=&nbsp;20&nbsp;//延..]]></description>
  <link>http://www.yongfa365.com/Item/e16b46cf0fd7d922.html</link>
  <pubDate>Wed, 14 Feb 2007 18:09:00 GMT</pubDate>
</item>
<item>
  <title>JS宝典学习笔记</title>
  <description><![CDATA[1.document.write(&quot;&quot;);&nbsp;输出语句&nbsp;<br /><br />2.JS中的注释为//&nbsp;<br /><br />3.传统的HTML文档顺序是:document-&gt;html-&gt;(head,body)&nbsp;<br /><br />4.一个浏览器窗口中的DOM顺序是:window-&gt;(navigator,screen,history,location,document)&nbsp;<br /><br />5.得到表单中元素的名称和值:document.getElementById(&quot;表..]]></description>
  <link>http://www.yongfa365.com/Item/8013bc9cb46379d0.html</link>
  <pubDate>Wed, 07 Feb 2007 22:29:00 GMT</pubDate>
</item>
<item>
  <title>vbs 正则</title>
  <description><![CDATA[Function&nbsp;RegExpTest(patrn,&nbsp;strng)<br />
&nbsp;&nbsp;Dim&nbsp;regEx,&nbsp;Match,&nbsp;Matches&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;建立变量。<br />
&nbsp;&nbsp;Set&nbsp;regEx&nbsp;=&nbsp;New&nbsp;RegExp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;建立正则表达式。<br />
&nbsp;&nbsp;..]]></description>
  <link>http://www.yongfa365.com/Item/28bd0613116f11f4.html</link>
  <pubDate>Tue, 06 Feb 2007 15:36:00 GMT</pubDate>
</item>
<item>
  <title>两个select multiple 多选 全选 取值 增加 删除 问题</title>
  <description><![CDATA[&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;<br />&lt;HTML&gt;<br />&lt;HEAD&gt;<br />&lt;TITLE&gt;选择下拉菜单--http://www.yongfa365.com/item/686ba37800f67121.html&lt;/TITLE&gt;<br />&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=gb2312&quot;&gt;<br />&amp;l..]]></description>
  <link>http://www.yongfa365.com/Item/686ba37800f67121.html</link>
  <pubDate>Mon, 05 Feb 2007 21:08:00 GMT</pubDate>
</item>
<item>
  <title>首次用服务器的站长常犯的错误</title>
  <description><![CDATA[首次用服务器的站长常犯的错误<br />
<br />　　原题：第一次使用服务器的站长常犯的一些小错误<br />
　　<br />
　　从使用虚拟空间到使用独立服务器，这对一个站长来说是一件惊天动地的大事，对于一个没有拿自己电脑做过服务器的站长来说，第一次拿到属于自己的服务器的密码的时候，心情将是无比激动的。<br />
　　<br />
　　然而，随之而来的诸..]]></description>
  <link>http://www.yongfa365.com/Item/c4cebe5289bfcca9.html</link>
  <pubDate>Mon, 05 Feb 2007 20:32:00 GMT</pubDate>
</item>
<item>
  <title>javascript里的条件判断</title>
  <description><![CDATA[http://blog.csdn.net/meizz/archive/2005/11/30/540600.aspx<br />
<br />&nbsp;&nbsp;&nbsp;JavaScript&nbsp;是一种可以在浏览器中运行的脚本语言，是一种弱语言（相对于C，C#，JAVA而言），只要是计算机语言就会使用到条件判断式，而JavaScript作为一种“弱”语言，它的条件判断常常令人困惑不解，特别是有其它强语言编程经历的人..]]></description>
  <link>http://www.yongfa365.com/Item/85c1b375182a52d2.html</link>
  <pubDate>Mon, 05 Feb 2007 20:24:00 GMT</pubDate>
</item>
<item>
  <title>javascript 时间相关</title>
  <description><![CDATA[http://www.blueidea.com/tech/web/2003/1303.asp<br />
<br />var&nbsp;now&nbsp;=&nbsp;new&nbsp;Date();<br />
now.getYear();//得到当前年<br />
now.getMonth();//得到当前月<br />
now.getDate();//得到当前日<br />
now.getHours();//得到当前小时<br />
now.getMinutes();//得到当前分钟<br />
now.getSeconds();//得到当前秒<br />
<br />&lt;script&gt;<br />
..]]></description>
  <link>http://www.yongfa365.com/Item/7378fe8691e66469.html</link>
  <pubDate>Sun, 04 Feb 2007 18:09:00 GMT</pubDate>
</item>
<item>
  <title>将输入的中文按要求翻译成拼音</title>
  <description><![CDATA[&lt;script&gt;<br />
set8=&quot;&quot;;<br />
set4=2;<br />
function&nbsp;set5(m,n,c,d,e3)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;set4=1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Lxyer1.style.top=document.body.scrollTop+event.clientY+20;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Lxyer1.style.left=event.clientX-150;<br />
&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;t,a,b,f='&amp;..]]></description>
  <link>http://www.yongfa365.com/Item/781f62285bf1318e.html</link>
  <pubDate>Wed, 24 Jan 2007 00:16:00 GMT</pubDate>
</item>
<item>
  <title>汉字读音完全对照</title>
  <description><![CDATA[（没找到，先占位）]]></description>
  <link>http://www.yongfa365.com/Item/e1579ad3d13036ed.html</link>
  <pubDate>Tue, 23 Jan 2007 23:43:00 GMT</pubDate>
</item>
<item>
  <title>汉字拼音对照文件(r-z)</title>
  <description><![CDATA[这些数据进行了整合处理，专业人士可以用程序处理下]]></description>
  <link>http://www.yongfa365.com/Item/ac1f07629a591686.html</link>
  <pubDate>Tue, 23 Jan 2007 23:38:00 GMT</pubDate>
</item>
<item>
  <title>汉字拼音对照文件(a-q)</title>
  <description><![CDATA[汉字拼音对照文件(a-q)<br />格式:拼音:汉字集@<br />可以通过程序自己加工]]></description>
  <link>http://www.yongfa365.com/Item/41d621557aebe3e0.html</link>
  <pubDate>Tue, 23 Jan 2007 23:34:00 GMT</pubDate>
</item>
<item>
  <title>汉字读音表GB2312版 (共7809个汉字)</title>
  <description><![CDATA[说明：阿拉伯数字1、2、3、4分别对应为读音的一声、二声、三声、四声<br />
āáǎàōóǒòêēéěèīíǐìūúǔùǖǘǚǜü<br />
查找方式：按住CTRL键，然后按F键，在弹出窗口中输入要查询的内容即可。（CTRL+F查找）<br />
<br /><br />
a1:阿啊呵腌吖锕<br />
a2:啊呵嗄<br />
a3:啊呵<br />
a4:啊呵<br />
a5:阿啊呵<br />
ai1:哀挨埃唉哎捱锿<br />
ai2:呆挨癌皑捱<br />
a..]]></description>
  <link>http://www.yongfa365.com/Item/3cddc4ba90fbd937.html</link>
  <pubDate>Tue, 23 Jan 2007 23:15:00 GMT</pubDate>
</item>
<item>
  <title>document.onmouseover换成别的，可以改变提示样式</title>
  <description><![CDATA[&lt;p&gt;asdlfasd&lt;/p&gt;<br /><br />&lt;p&gt;a&lt;/p&gt;<br /><br />&lt;p&gt;sdf&lt;/p&gt;<br /><br />&lt;p&gt;asd&lt;/p&gt;<br /><br />&lt;p&gt;f&lt;/p&gt;<br /><br />&lt;p&gt;as&lt;/p&gt;<br /><br />&lt;p&gt;df&lt;/p&gt;<br /><br />&lt;p&gt;as&lt;/p&gt;<br /><br />&lt;p&gt;d&lt;/p&gt;<br /><br />&lt;p&gt;fa&lt;/p&gt;<br /><br />&lt;p&gt;&lt;a&nbsp;href=&quot;#&quot;&nbsp;t..]]></description>
  <link>http://www.yongfa365.com/Item/199d73209ac096e1.html</link>
  <pubDate>Thu, 11 Jan 2007 15:09:00 GMT</pubDate>
</item>
<item>
  <title>[转-改]javascript代码格式化和语法着色[有时间看]</title>
  <description><![CDATA[&lt;html&gt;<br /><br />&lt;head&gt;<br /><br />&lt;title&gt;javascript代码格式化和语法着色&lt;/title&gt;<br /><br />&lt;meta&nbsp;http-equiv=&quot;content-type&quot;&nbsp;content=&quot;text/html;&nbsp;charset=gb2312&quot;&nbsp;/&gt;<br /><br />&lt;style&gt;<br /><br />*&nbsp;{&nbsp;padding:0px;&nbsp;margin:0px;&nbsp;font-size:13px;&nbsp;..]]></description>
  <link>http://www.yongfa365.com/Item/9d355b7dc7279125.html</link>
  <pubDate>Fri, 22 Dec 2006 15:09:00 GMT</pubDate>
</item>
<item>
  <title>setTimeout用法 时间单位是ms,毫秒</title>
  <description><![CDATA[&lt;div&nbsp;id=&quot;yongfa365&quot;&gt;&lt;/div&gt;<br /><br />&lt;input&nbsp;type=&quot;button&quot;&nbsp;name=&quot;start&quot;&nbsp;value=&quot;start&quot;&nbsp;onclick=startshow();&gt;<br /><br />&lt;input&nbsp;type=&quot;button&quot;&nbsp;name=&quot;stop&quot;&nbsp;value=&quot;stop&quot;&nbsp;onclick=&quot;s..]]></description>
  <link>http://www.yongfa365.com/Item/e0fbca4d4c133ebe.html</link>
  <pubDate>Tue, 27 Feb 2007 14:33:00 GMT</pubDate>
</item>
<item>
  <title>FCKeditor 实战技巧</title>
  <description><![CDATA['//--------------------------------------------------<br />
'//原文：http://3rgb.com，作者：柠檬园主<br />
'//转载请保留此信息<br />
'//--------------------------------------------------<br />
<br />
FCKeditor至今已经到了2.3.1版本了，对于国内的WEB开发者来说，也基本上都已经“闻风知多少”了，很多人将其融放到自己的项目中，..]]></description>
  <link>http://www.yongfa365.com/Item/1d59a36524b9849d.html</link>
  <pubDate>Fri, 15 Dec 2006 20:21:00 GMT</pubDate>
</item>
<item>
  <title>eval javascript</title>
  <description><![CDATA[&lt;form&nbsp;name=&quot;form1&quot;&gt;<br />
&lt;input&nbsp;name=&quot;username&quot;&nbsp;value=&quot;liliil&quot;&nbsp;onclick=&quot;aaa()&quot;&gt;<br />
<br /><br />
&lt;/form&gt;<br />
&lt;script&gt;<br />
function&nbsp;aaa()<br />
{<br />
i=1;<br />
iii=&quot;form&quot;+i;<br />
iii=eval(iii);<br />
alert(iii.username.value);<br />
<br />}<br />
&lt;/script&gt;]]></description>
  <link>http://www.yongfa365.com/Item/1f0eee3438e4ab42.html</link>
  <pubDate>Mon, 11 Dec 2006 14:30:00 GMT</pubDate>
</item>
<item>
  <title>提交表单前检测是不是用户名已经有人用了</title>
  <description><![CDATA[&nbsp;onClick=&quot;if(form1.userid.value==''){alert('请输入用户名！');form1.userid.focus();}else{window.open('checkuser.asp?UserID='+form1.userid.value,'check','width=200,height=120');}&quot;]]></description>
  <link>http://www.yongfa365.com/Item/e5dab0e5a35fbf23.html</link>
  <pubDate>Tue, 28 Nov 2006 20:52:00 GMT</pubDate>
</item>
<item>
  <title>柳永法(yongfa365)的js自定义函数</title>
  <description><![CDATA[function&nbsp;trim(inputString)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;inputString.replace(/^&nbsp;+/,&quot;&quot;).replace(/&nbsp;+$/,&quot;&quot;);<br />
}<br />
<br />function&nbsp;copycode(obj)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;rng&nbsp;=&nbsp;document.body.createTextRange();<br />
&nbsp;&nbsp;&nbsp;&nbsp;rng.moveToElement..]]></description>
  <link>http://www.yongfa365.com/Item/3ed9361a32897ca5.html</link>
  <pubDate>Tue, 28 Nov 2006 11:02:00 GMT</pubDate>
</item>
<item>
  <title>网页上显示时间的最简单的javascript代码</title>
  <description><![CDATA[&lt;div&nbsp;id=&quot;webjx&quot;&gt;<br />
&lt;script&gt;<br />
setInterval(&quot;webjx.innerHTML=new&nbsp;Date().toLocaleString()+'&nbsp;星期'+'日一二三四五六'.charAt(new&nbsp;Date().getDay());&quot;,1000);<br />
&lt;/script&gt;<br />
&lt;/div&gt;]]></description>
  <link>http://www.yongfa365.com/Item/68e95fd245db5d16.html</link>
  <pubDate>Mon, 27 Nov 2006 10:52:00 GMT</pubDate>
</item>
<item>
  <title>JS实现图片无缝滚动的完美解决 无间隙滚动</title>
  <description><![CDATA[&nbsp;&nbsp;想必大家都注意到&lt;marquee&gt;的不循环滚动，所以出现了很多替代脚本，或iframe或JS输出&lt;marquee&gt;，不管怎么做，都略显麻烦。下面说一下这个相对简单的实现思路：一个设定宽度并且隐藏超出它宽度的内容的容器demo，里面放demo1和demo2，&nbsp;demo1是滚动内容,demo2为demo1的直接克隆，通过不断改变demo1的scrol..]]></description>
  <link>http://www.yongfa365.com/Item/1223f36ca7b81059.html</link>
  <pubDate>Mon, 27 Nov 2006 10:35:00 GMT</pubDate>
</item>
<item>
  <title>Iframe自适应其加载的内容高度</title>
  <description><![CDATA[*******************************************************《方法一》****************************************************<br />
<br />main.htm:<br />
<br />&lt;html&gt;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;head&gt;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;&nbsp;&nbsp;&nbsp;htt..]]></description>
  <link>http://www.yongfa365.com/Item/c2841f7968418f92.html</link>
  <pubDate>Mon, 27 Nov 2006 10:19:00 GMT</pubDate>
</item>
<item>
  <title>getElementById getElementsByName getElementsByTagName 大概介绍</title>
  <description><![CDATA[getElementById&nbsp;getElements<br />
<br />后两个是得到集合，byid只是得到单个对象<br />
<br />///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br />
<br />getElementById&nbsp;的用法<br />
<br />举个例子：<br />
&lt;a&nbsp;id=&quot;link1&quot;&nbsp;name=&quot;link1&quot;&nbsp;href=&amp;quo..]]></description>
  <link>http://www.yongfa365.com/Item/5b1234cc9309efe2.html</link>
  <pubDate>Tue, 14 Nov 2006 22:28:00 GMT</pubDate>
</item>
<item>
  <title>innerText取option的text</title>
  <description><![CDATA[&lt;select&nbsp;onchange=&quot;alert(this.options[this.selectedIndex].innerText)&quot;&gt;<br />
&lt;option&nbsp;value=1&gt;111111&lt;/option&gt;<br />
&lt;option&nbsp;value=2&gt;222222&lt;/option&gt;<br />
&lt;option&nbsp;value=3&gt;333333&lt;/option&gt;<br />
&lt;option&nbsp;value=4&gt;444444&lt;/option&gt;<br />
&lt;option&nbsp;value=5&gt;555555..]]></description>
  <link>http://www.yongfa365.com/Item/848dfb093a29f662.html</link>
  <pubDate>Tue, 14 Nov 2006 18:13:00 GMT</pubDate>
</item>
<item>
  <title>[转]JavaScript中的集合及效率</title>
  <description><![CDATA[原文：&nbsp;http://www.cnblogs.com/birdshome/archive/2005/01/05/87009.html<br />
<br />&nbsp;&nbsp;&nbsp;&nbsp;数组是JavaScript提供的一个内部对象，它是一个标准的集合，我们可以添加(push)、删除(shift)里面元素，我们还可以通过for循环遍历里面的元素，那么除了数组我们在JavaScript里还可以有别的集合吗？<br />
<br />&nbsp;&nbsp;&nbsp;..]]></description>
  <link>http://www.yongfa365.com/Item/e4e53087e9659419.html</link>
  <pubDate>Wed, 08 Nov 2006 21:43:00 GMT</pubDate>
</item>
<item>
  <title>正则所有元字符。javascript</title>
  <description><![CDATA[$(*+.[?\^{|]]></description>
  <link>http://www.yongfa365.com/Item/620ed814b49bf5e7.html</link>
  <pubDate>Sun, 05 Nov 2006 08:56:00 GMT</pubDate>
</item>
<item>
  <title>对联广告</title>
  <description><![CDATA[&nbsp;&nbsp;var&nbsp;delta=0.8;<br /><br />&nbsp;&nbsp;var&nbsp;collection;<br /><br />&nbsp;&nbsp;var&nbsp;closeB=false;<br /><br />&nbsp;&nbsp;function&nbsp;floaters()&nbsp;{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;this.items&nbsp;&nbsp;=&nbsp;[];<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;this.addItem&nbsp;&nbsp;=&nbsp;function(id,x,y,content)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br /><br />&nbsp;&nbsp;&amp;nbs..]]></description>
  <link>http://www.yongfa365.com/Item/0084216771f1baea.html</link>
  <pubDate>Wed, 01 Nov 2006 20:18:00 GMT</pubDate>
</item>
<item>
  <title>javascript学习随记</title>
  <description><![CDATA[Javascript中，也有对字符串操作的类似的方法（.substring()，.indexOf()，.length）。但在Javascript中，求字符串(str)的长度是str.length，而不是str.length()<br />
<br />&lt;script&gt;<br />
function&nbsp;IndexDemo(str2){<br />
&nbsp;&nbsp;&nbsp;var&nbsp;str1&nbsp;=&nbsp;&quot;我&quot;<br />
&nbsp;&nbsp;&nbsp;var&nbsp;s&nbsp;=&nbsp;str1.length;<br />
&nbsp;&nbsp;&nbsp;return(s);..]]></description>
  <link>http://www.yongfa365.com/Item/4d021a0a951e7593.html</link>
  <pubDate>Wed, 01 Nov 2006 10:37:00 GMT</pubDate>
</item>
<item>
  <title>树型菜单　可显示　隐藏</title>
  <description><![CDATA[&lt;script&nbsp;language=&quot;javascript&quot;&gt;<br />
function&nbsp;hideAll()&nbsp;{<br />
&nbsp;&nbsp;for(i=0;i&lt;odiv.length;i++)&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;odiv[i].style.display=&quot;none&quot;;<br />
&nbsp;&nbsp;}<br />
}<br />
<br />function&nbsp;showObj(num)&nbsp;<br />
{<br />
&nbsp;&nbsp;<br />
&nbsp;&nbsp;if&nbsp;(odiv[num].style.display==&quot;none&quot;)&nbsp;<br />
&nbsp;&nbsp;{<br />
&amp;n..]]></description>
  <link>http://www.yongfa365.com/Item/fb504085ed05f656.html</link>
  <pubDate>Mon, 30 Oct 2006 13:41:00 GMT</pubDate>
</item>
<item>
  <title>javascript 生成数字下拉列表，可以接收返回值　CreateOption(str1,str2,str3)</title>
  <description><![CDATA[&lt;script&nbsp;language=&quot;javascript&quot;&gt;<br />
function&nbsp;CreateOption(str1,str2,str3)<br />
{<br />
&nbsp;var&nbsp;CreateOption=&quot;&quot;;<br />
&nbsp;for(var&nbsp;i=str2;i&lt;=str3;i++)<br />
&nbsp;{<br />
&nbsp;&nbsp;CreateOption+=&quot;&lt;option&nbsp;value=\&quot;&quot;;<br />
&nbsp;&nbsp;if(str1&nbsp;==&nbsp;i)<br />
&nbsp;&nbsp;{<br />
&nbsp;&amp;nb..]]></description>
  <link>http://www.yongfa365.com/Item/6f79ed37464a38f8.html</link>
  <pubDate>Fri, 27 Oct 2006 13:26:00 GMT</pubDate>
</item>
<item>
  <title>JS 自动调整图片大小 ,备用，</title>
  <description><![CDATA[function&nbsp;ReImgSize(){<br />
for&nbsp;(i=0;i&lt;document.images.length;i++)<br />
{<br />
if&nbsp;(document.all){<br />
if&nbsp;(document.images[i].width&gt;500)<br />
{<br />
if(document.images[i].style.width!=&quot;100%&quot;){<br />
document.images[i].style.width&nbsp;=&nbsp;&quot;100%&quot;;<br />
document.images[i].border&nbsp;=&nbsp;&quot;0&quot;;<br />
document.i..]]></description>
  <link>http://www.yongfa365.com/Item/0ed7a4a199d77fbe.html</link>
  <pubDate>Tue, 24 Oct 2006 19:59:00 GMT</pubDate>
</item>
<item>
  <title>document.images</title>
  <description><![CDATA[&lt;script&gt;<br />
cnbruce='';<br />
for&nbsp;(cnrose=0;cnrose&lt;document.images.length;cnrose++)<br />
{<br />
&nbsp;cnbruce+='&lt;img&nbsp;src='+document.images[cnrose].src+'&gt;&lt;br&gt;'<br />
}<br />
<br />if(cnbruce!='')<br />
&nbsp;{<br />
&nbsp;&nbsp;document.write(cnbruce);<br />
&nbsp;&nbsp;void(document.close())<br />
&nbsp;}<br />
else<br />
&amp;n..]]></description>
  <link>http://www.yongfa365.com/Item/3c4cad2ec05bd480.html</link>
  <pubDate>Sat, 21 Oct 2006 09:27:00 GMT</pubDate>
</item>
<item>
  <title>javascript的一些常用语句</title>
  <description><![CDATA[&lt;input&nbsp;&nbsp;type=button&nbsp;&nbsp;value=剪切&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onclick=document.execCommand('Cut')&gt;&nbsp;&nbsp;<br />
&lt;input&nbsp;&nbsp;type=button&nbsp;&nbsp;value=拷贝&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onclick=document.execCommand('Copy')&gt;&nbsp;&nbsp;<br />
&amp;lt..]]></description>
  <link>http://www.yongfa365.com/Item/6390e425f979f7d8.html</link>
  <pubDate>Sat, 21 Oct 2006 01:05:00 GMT</pubDate>
</item>
<item>
  <title>正则</title>
  <description><![CDATA[正则表达式regular&nbsp;expression详述.txt<br /><br /><br />正则表达式是regular&nbsp;expression，看来英文比中文要好理解多了，就是检查表达式符<br /><br />不符合规定！！正则表达式有一个功能十分强大而又十分复杂的对象RegExp，在JavaScript1.2&nbsp;版本以<br /><br />上提供。<br /><br />下面我们看看有关正则表达式的介绍：<br /><br />正则表达式对象用来规范一个规范的表..]]></description>
  <link>http://www.yongfa365.com/Item/9017ad9475d902e0.html</link>
  <pubDate>Sat, 21 Oct 2006 00:57:00 GMT</pubDate>
</item>
<item>
  <title>[在线演示]event.srcElement　说明　方法　技巧　</title>
  <description><![CDATA[event.srcElement从字面上可以看出来有以下关键字：事件,源,他的意思就是：当前事件的源，<br /><br />我们可以调用他的各种属性作用就像:document.getElementById(&quot;&quot;)这样的功能，<br /><br />经常有人问&nbsp;firefox&nbsp;下的&nbsp;event.srcElement&nbsp;怎么用，在些说明：<br />IE下,event对象有srcElement属性,但是没有target属性;Firefox下,event对象有target属性,但是没有srcElement属性.但他们的作用是相当的，即：firefox&nbsp;下的&nbsp;event.target&nbsp;=&nbsp;IE&nbsp;下的&nbsp;event.srcElement&nbsp;<br />解决方法:使用obj(obj&nbsp;=&nbsp;event.srcElement&nbsp;?&nbsp;event.srcElement&nbsp;:&nbsp;event.target;)来代替IE下的event.srcElement或者Firefox下的event.target.<br /><br />以下是几种常见到的情况：<br />]]></description>
  <link>http://www.yongfa365.com/Item/9fdc446493798d53.html</link>
  <pubDate>Sat, 21 Oct 2006 00:30:00 GMT</pubDate>
</item>
<item>
  <title>ewebeditor得到编辑器的值或让其得到焦点</title>
  <description><![CDATA[&lt;script&nbsp;language=&quot;javascript&quot;&gt;<br />
function&nbsp;check_input()<br />
{<br />
&nbsp;&nbsp;if(frames.eWebEditor1.eWebEditor.document.body.innerHTML==''){<br />
&nbsp;alert(&quot;内容不能为空&quot;);<br />
&nbsp;frames.eWebEditor1.eWebEditor.document.body.focus();<br />
&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;false;<br />
&nbsp;&nbsp;}<br />
}..]]></description>
  <link>http://www.yongfa365.com/Item/eb87074febbc9909.html</link>
  <pubDate>Fri, 20 Oct 2006 15:37:00 GMT</pubDate>
</item>
<item>
  <title>可以接收返回值的多级联动下拉列表</title>
  <description><![CDATA[&lt;!--<br /><br />名称：多级联动下拉列表<br /><br />作者：柳永法<br /><br />版本：V1.20061011<br /><br />QQ讨论群:10094925<br /><br />我的Blog:http://www.yongfa365.com/blog<br /><br />先人们常说的一句话:转载请保留此信息。<br /><br /><br />--&gt;<br /><br /><br />&lt;!-----------------------------------------changelocation函数start---------------------------------------..]]></description>
  <link>http://www.yongfa365.com/Item/097766e428ffc3e5.html</link>
  <pubDate>Wed, 11 Oct 2006 23:04:00 GMT</pubDate>
</item>
<item>
  <title>很好用的软键盘</title>
  <description><![CDATA[&lt;SCRIPT&nbsp;LANGUAGE=&quot;JavaScript&quot;&gt;<br />
&lt;!--<br />
//定义当前是否大写的状态<br />
var&nbsp;CapsLockValue=0;<br />
var&nbsp;check;<br />
function&nbsp;setVariables()&nbsp;{<br />
tablewidth=630;&nbsp;//&nbsp;logo&nbsp;width,&nbsp;in&nbsp;pixels<br />
tableheight=20;&nbsp;//&nbsp;logo&nbsp;height,&nbsp;in&nbsp;pixels<br />
if&nbsp;(navigator.appName&nbsp;==&nbsp;&quot;Netscape&quot;)&nbsp;{<br />
horz=&quot;...]]></description>
  <link>http://www.yongfa365.com/Item/d0c52b79553ad0a6.html</link>
  <pubDate>Mon, 09 Oct 2006 12:56:00 GMT</pubDate>
</item>
<item>
  <title>全选与反选</title>
  <description><![CDATA[function&nbsp;CheckOthers(form)<br />
{<br />
&nbsp;for&nbsp;(var&nbsp;i=0;i&lt;form.elements.length;i++)<br />
&nbsp;{<br />
&nbsp;&nbsp;var&nbsp;e&nbsp;=&nbsp;form.elements[i];<br />
&nbsp;&nbsp;&nbsp;if&nbsp;(e.checked==false)<br />
&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;e.checked&nbsp;=&nbsp;true;<br />
&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&amp;nbs..]]></description>
  <link>http://www.yongfa365.com/Item/453b9168b565487a.html</link>
  <pubDate>Tue, 19 Sep 2006 16:32:00 GMT</pubDate>
</item>
<item>
  <title>文字图片水平居中对齐</title>
  <description><![CDATA[文字图片文本框，直接放在一起没法居中对齐，可以这么处理，给图片加上一个属性<br /><br />align=&quot;absmiddle&quot;]]></description>
  <link>http://www.yongfa365.com/Item/a60cd5e139a7c998.html</link>
  <pubDate>Wed, 30 Aug 2006 15:05:00 GMT</pubDate>
</item>
<item>
  <title>网页常用小技巧</title>
  <description><![CDATA[1.&nbsp;oncontextmenu=&quot;window.event.returnValue=false&quot;&nbsp;将彻底屏蔽鼠标右键<br /><br />&lt;table&nbsp;border&nbsp;oncontextmenu=return(false)&gt;&lt;td&gt;no&lt;/table&gt;&nbsp;可用于Table<br /><br /><br />&nbsp;<br /><br /><br />2.&nbsp;&lt;body&nbsp;onselectstart=&quot;return&nbsp;false&quot;&gt;&nbsp;取消选取、防止复制<br /><br /><br />&nbsp;<br /><br /><br />3.&nbsp;onpaste=&quot;return..]]></description>
  <link>http://www.yongfa365.com/Item/3620d2393f6ee12f.html</link>
  <pubDate>Wed, 30 Aug 2006 12:54:00 GMT</pubDate>
</item>
<item>
  <title>[转]详解JavaScript对象属性应用</title>
  <description><![CDATA[windows对象<br /><br />每个HTML文档的顶层对象.<br /><br />属性<br /><br />frames[]&nbsp;子桢数组.每个子桢数组按源文档中定义的顺序存放.<br /><br />feames.length&nbsp;子桢个数.<br /><br />self&nbsp;当前窗口.<br /><br />parent&nbsp;父窗口(当前窗口是中一个子窗口).<br /><br />top&nbsp;顶层窗口(是所有可见窗口的父窗口).<br /><br />status&nbsp;浏览器状态窗口上的消息.<br /><br />defaultStatus&nbsp;当status无效时,..]]></description>
  <link>http://www.yongfa365.com/Item/272a3823fe077de9.html</link>
  <pubDate>Thu, 24 Aug 2006 19:03:00 GMT</pubDate>
</item>
<item>
  <title>常用ASCII 码对照表</title>
  <description><![CDATA[常用ASCII&nbsp;码对照表<br />ASCII码<br />33<br /><br />81<br />113q114r115s116t117u118v119w120x121y122z123{124|125}126~]]></description>
  <link>http://www.yongfa365.com/Item/e0ab14a1b7f675cd.html</link>
  <pubDate>Mon, 14 Aug 2006 14:39:00 GMT</pubDate>
</item>
<item>
  <title>网页快捷键</title>
  <description><![CDATA[　在很多网页中，可以使用快捷来完成一定的动作，比如discuz论坛的“完成后可按&nbsp;Ctrl+Enter&nbsp;发布”功能！&nbsp;<br />　　这样的功能是用JavaScript中的event属性的KeyCode方法完成，利用onKeyDown事件进行驱动。&nbsp;<br />　　在JavaScript中，可以通过keyCode属性来得到用户所按键的ASSCII码值。具体对应关系可以查ASSCII码表。&nbsp;<br />例子：&nbsp;..]]></description>
  <link>http://www.yongfa365.com/Item/d9e331bd13aa6b10.html</link>
  <pubDate>Sat, 12 Aug 2006 15:02:00 GMT</pubDate>
</item>
<item>
  <title>常用JavaScript脚本(随时更新)</title>
  <description><![CDATA[1.透明Flash代码<br /><br />2.加入收藏<br />http://www.yongfa365.com<br /><br />3.设为首页<br /><br />4.不同时间段显示不同问候语 <br /><br />  &lt;!-- <br />  var text=&quot;&quot;; day = new Date( ); time = day.getHours( ); <br />  if (( t..]]></description>
  <link>http://www.yongfa365.com/Item/251a5198cee23c5a.html</link>
  <pubDate>Tue, 18 Jul 2006 23:32:00 GMT</pubDate>
</item>
<item>
  <title>[转]网页插入real播放器多文件可选择播放的代码</title>
  <description><![CDATA[把下面的代码存成js文件，在网页里引入。<br />然后用JS方式调用，可以在网页里插入real播放器，并且可以通过方法参数设置多个文件，高，宽，是否自动播放！<br />GamVanPlayer_real(w,&nbsp;h,&nbsp;auto,&nbsp;path)<br />&lt;script&nbsp;language=&quot;javascript&quot;&gt;<br />GamVanPlayer_real(450,&nbsp;320,&nbsp;-1,&nbsp;&quot;01.rmvb|02.rmvb&quot;)<br />&lt;/script&gt;<br />www.GamVan.c..]]></description>
  <link>http://www.yongfa365.com/Item/eda6bf3975a76750.html</link>
  <pubDate>Tue, 18 Jul 2006 15:34:00 GMT</pubDate>
</item>
<item>
  <title>[原]javascript调试经验</title>
  <description><![CDATA[1.大小写<br />
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.在Dreamweaver上选中内容，右键--&gt;所选区域--&gt;转换为小写。<br />
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.在Emed..]]></description>
  <link>http://www.yongfa365.com/Item/b7995a85644bde4c.html</link>
  <pubDate>Tue, 18 Jul 2006 14:00:00 GMT</pubDate>
</item>
<item>
  <title>[原]分类全选</title>
  <description><![CDATA[演示代码，只要checkbox的name一样且在一个表单里就可以<br /><br />调用时用checkall(this,'checkboxname')就可以<br /><br />代码如下<br /><br />&lt;script&nbsp;language=Javascript&gt;<br />function&nbsp;checkall(all,checkname)//用于判断全选记录的函数<br />{<br />var&nbsp;a&nbsp;=&nbsp;document.getElementsByName(checkname);<br />for&nbsp;(var&nbsp;i=0;&nbsp;i&lt;a.length;&nbsp;i++)&nbsp;a[i].c..]]></description>
  <link>http://www.yongfa365.com/Item/36bd9e2b28353547.html</link>
  <pubDate>Tue, 18 Jul 2006 13:59:00 GMT</pubDate>
</item>
<item>
  <title>[原]select改变时 跳转或执行操作</title>
  <description><![CDATA[天气:&lt;input&nbsp;name=&quot;weather&quot;&nbsp;type=&quot;text&quot;&nbsp;id=&quot;weather&quot;&nbsp;size=&quot;5&quot;&gt;&nbsp;<br />&lt;select&nbsp;name=&quot;selectweather&quot;&nbsp;onChange=&quot;weather.value=this.options[selectedIndex].value&quot;&gt;<br />&nbsp;&lt;option&nbsp;value=&quot;睛&quot;&gt;睛&lt;/option&gt;<br />&nbsp;&lt;option&nbsp;value=&quot;阴&quot;&gt;阴&lt;/option&gt;<br />&nbsp;&lt;option&nbsp;value=&quot;小雨&quot;&gt;小..]]></description>
  <link>http://www.yongfa365.com/Item/9fc72d93d750697a.html</link>
  <pubDate>Tue, 18 Jul 2006 13:58:00 GMT</pubDate>
</item>
<item>
  <title>[原]checkbox选中,文本框才能输入内容</title>
  <description><![CDATA[&lt;input&nbsp;type='checkbox'&nbsp;name='checkbox1'&nbsp;value='7'&nbsp;onclick=&quot;account.disabled=!this.checked;if&nbsp;(!this.checked)&nbsp;account.value=''&quot;&gt;<br />&lt;input&nbsp;name='account'&nbsp;value=''&nbsp;size='6'&nbsp;disabled=true&gt;]]></description>
  <link>http://www.yongfa365.com/Item/8d783f59076045e4.html</link>
  <pubDate>Tue, 18 Jul 2006 13:57:00 GMT</pubDate>
</item>
<item>
  <title>[原]只能输入数字,输入非数字时弹出提示</title>
  <description><![CDATA[&lt;input&nbsp;type=&quot;text&quot;&nbsp;name=&quot;money&quot;&nbsp;value=&quot;&quot;&nbsp;onKeypress=&quot;if&nbsp;(event.keyCode&nbsp;&lt;&nbsp;45&nbsp;||&nbsp;event.keyCode&nbsp;&gt;&nbsp;57){alert('同志只能输入数字，谢谢');&nbsp;event.returnValue&nbsp;=&nbsp;false;}&quot;&gt;<br />
<br />&nbsp;<br />
<br />&lt;input&nbsp;onkeyup=&quot;this.value=this.value.replace(/\D/g,'')&quot;/&amp;..]]></description>
  <link>http://www.yongfa365.com/Item/3c51f278d5d1263a.html</link>
  <pubDate>Tue, 18 Jul 2006 13:56:00 GMT</pubDate>
</item>
<item>
  <title>[原]根据下拉框内容改变form的action</title>
  <description><![CDATA[&lt;form&nbsp;name=&quot;form1&quot;&nbsp;method=&quot;post&quot;&nbsp;action=&quot;&quot;&gt;<br />&nbsp;&nbsp;&lt;select&nbsp;name=&quot;select1&quot;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;option&nbsp;value=&quot;a.htm&quot;&nbsp;selected&gt;a.htm&lt;/option&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;option&nbsp;value=&quot;b.htm&quot;&gt;b.htm&lt;/option&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;option&nbsp;value=&quot;c.htm&quot;&gt;c.htm&lt;/option&gt;<br />&nbsp;&nbsp;&amp;nb..]]></description>
  <link>http://www.yongfa365.com/Item/9996009b385c8a52.html</link>
  <pubDate>Tue, 18 Jul 2006 13:55:00 GMT</pubDate>
</item>
</channel></rss>
