<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0' xmlns:dc='http://purl.org/dc/elements/1.1/'>
<channel>
<title>365Key-天天网摘 - feihu的网摘(js)</title>
<description>365Key-天天网摘 - feihu的网摘(js)</description>
<link>http://www.365key.com/rss/feihu/js/</link>
<generator>365Key (http://www.365key.com)</generator>
<language>zh-cn</language>
<docs>365Key-天天网摘 精彩导航</docs>
<image>http://counter.csdn.net/pv.aspx?id=88</image>
<item>
<title>IE泄漏问题js</title>
<link>http://www.365key.com/item/2147205</link>
<category>ajax; js</category>
<pubDate>Sat, 05 Aug 2006 12:20:35 GMT</pubDate>
<description>
<blockquote>这篇文章其实已经看了有些日子了，并且最近的一些开发都在尽量的遵循文中的原则。可是目前的情况是代码规模稍微大点以后，IE的内存泄漏还是很严重，于是我非常生气（倒没啥后果）觉得该把这篇文章挖出来批批。为了方便批斗，所以决定先给翻译成中文，结果在精读以后，发现每个泄漏情景的描述和避免，作者几乎都留了一手，所以这么看来文章又都对了，没啥可批的啦。只是让我想起啦真的刘一手。。。</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>捕捉窗口的关闭与刷新（MYIE与IE测试成功） - 前台制作与脚本专栏 - 经典论坛</title>
<link>http://www.365key.com/item/2139805</link>
<category>js</category>
<pubDate>Tue, 01 Aug 2006 03:54:28 GMT</pubDate>
<description>
<blockquote>
&lt;!-- 
var s=&quot;close&quot;; 
function window.onunload(){
   
   if(s==&quot;fresh&quot;)
      if(window.screenLeft&gt;10000){alert('关闭'); }else{alert('刷新'); }
   else
      alert('关闭'); 
}
function window.onbeforeunload(){
   s=&quot;fresh&quot;; 
}
--&gt;
</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>IE中,关闭窗口是 window.onunload 不执行的 bug</title>
<link>http://www.365key.com/item/2139804</link>
<category>js</category>
<pubDate>Tue, 01 Aug 2006 03:54:14 GMT</pubDate>
<description>
<blockquote>IE中,关闭窗口是 window.onunload 不执行的 bug 
当使用
window.onunload=function(){...} 时,
如果窗口刷新或浏览其他页面,则该函数会被调用.
而如果窗口是被关闭时,则该函数不会被调用.
目前不清楚为什么会这样.
使用 window.attachEvent('onunload',function(){...}); 则可以解决问题.
Regards .</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>多文件上传的js</title>
<link>http://www.365key.com/item/2136640</link>
<category>js; flickr</category>
<pubDate>Sun, 30 Jul 2006 06:27:37 GMT</pubDate>
<description>非常好zooomr用的就是这个，还做了改进，可以看见缩略图了。
<blockquote>I was mulling over some ideas while walking home from work last week, when I came up with what I thought might be a quite cunning (and more atttractive and useable) way to allow a form to use a single file input element — sort of — to upload multiple files. Since you can only store file upload information in a file upload element (), you’ll always need to have one element per file to be uploaded. But what occurred to me is that you don’t need to display all those file elements.</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>用函数式编程技术编写优美的 JavaScript</title>
<link>http://www.365key.com/item/2125838</link>
<category>js</category>
<pubDate>Mon, 24 Jul 2006 16:57:44 GMT</pubDate>
<description>
<blockquote>函数式或声明性编程是非常强大的编程方法，正逐渐在软件行业流行起来。这篇文章将介绍一些相关的函数式编程概念，并提供有效使用这些概念的示例。作者将解释如何使用 JavaScript(TM)?（JavaScript 能导入函数式编程的构造和特性）编写优美的代码。</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title> 请为你封装的javascript库加上命名空间以提高代码重用性。</title>
<link>http://www.365key.com/item/2027077</link>
<category>js</category>
<pubDate>Mon, 19 Jun 2006 12:25:31 GMT</pubDate>
<description>
<blockquote>为此，在封装javascript组件库的时候，请使用命名空间来避免冲突。
将所有的方法和变量都要按包名类名的方式来写。
(这个时候写代码的感觉和封装java的util方法一样方便，呵呵)
由此，我的js库按如下方式封装。</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title> Prototype.js--Javascript编写者的小军刀</title>
<link>http://www.365key.com/item/2023622</link>
<category>prototype; js</category>
<pubDate>Sun, 18 Jun 2006 07:36:17 GMT</pubDate>
<description>
<blockquote>Prototype.js 是Javascript编写者的一把小军刀，提供了Ruby风格的简写语法和实效的函数，更难得的是完全跨浏览器，让大家舒舒服服写出又精简又不用愁心兼容的的JS代码，springside 已经离不开它了。
 Prototype.js最重要的文档有：
script.aculo.us的wiki 
Developer Notes for Protype.js 
文档集合：http://www.prototypedoc.com/ 
1.1 最爱$系列 
我最喜欢是可以用${&quot;bookDiv&quot;} 等价于通用的document.getElementByID(&quot;bookDiv&quot;)
值得留意的还有和CSS一样的批量选择语法$$()，如</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>BlogJava - Welcome to Google - javascrip拖动之我见 - 简约版</title>
<link>http://www.365key.com/item/2007199</link>
<category>js</category>
<pubDate>Mon, 12 Jun 2006 13:37:58 GMT</pubDate>
<description>
<blockquote>RT，拖动可能是时下比较流行的一个js效果之一,在感叹创造者的神奇之外，我怀作好奇，也来尝试了一把(当然，是在欣赏了不少拖动代码的基础上，并妄想通过最简单的办法实现)。

其实，拖动特效可以由3个主要部分组成，开始拖动，拖动，结束拖动。

哎，不说这么多了（摄影的朋友肯定要说， 怎么还不上图了...呵呵）,好，我就来点代码吧。</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>如何用getElementById将一组radio中的一个设为checked,解决之后立即给分</title>
<link>http://www.365key.com/item/1986934</link>
<category>js</category>
<pubDate>Mon, 05 Jun 2006 08:09:32 GMT</pubDate>
<description>radio的js处理，是个问题
<blockquote>form的代码如下:

大片电视动漫综艺


我想用getElementById将其中任意一个radio设为checked, 比如  getElementById(&quot;V1&quot;).checked =true ,有没有谁会写?
2006-01-24 12:34:01回复人: hbhbhbhbhb1021
所谓ID按照标准应该只是唯一的，只是IE上可以多个
所以方法不能用document.getElementById()
应该用
getElementsByName()</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>prototype.js 使用说明及函数参考 WEB技术论坛 - powered by phpwind.net</title>
<link>http://www.365key.com/item/1986878</link>
<category>js; prototype</category>
<pubDate>Mon, 05 Jun 2006 07:50:54 GMT</pubDate>
<description>
<blockquote>prototype.js 使用说明及函数参考</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>Using prototype.js v1.4.0</title>
<link>http://www.365key.com/item/1986876</link>
<category>js; prototype</category>
<pubDate>Mon, 05 Jun 2006 07:50:12 GMT</pubDate>
<description>
<blockquote>Developer Notes for prototype.js
covers version 1.4.0</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>prototype试用 </title>
<link>http://www.365key.com/item/1983490</link>
<category>js</category>
<pubDate>Sun, 04 Jun 2006 10:11:17 GMT</pubDate>
<description>非常好
<blockquote>1. Prototype是什么?
或许你还没有用过它， prototype.js 是一个由Sam Stephenson写的JavaScript包。这个构思奇妙编写良好的一段兼容标准的一段代码将承担创造胖客户端， 高交互性WEB应用程序的重担。轻松加入Web 2.0特性。</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>Flickr 的开发者的 Web 应用优化技巧</title>
<link>http://www.365key.com/item/1949733</link>
<category>Flickr; js</category>
<pubDate>Tue, 23 May 2006 16:00:16 GMT</pubDate>
<description>
<blockquote>Flickr 的开发者的 Web 应用优化技巧
Cal Henderson　是大名鼎鼎的 Flickr 网站的开发者之一．在一篇名为 Serving JavaScript Fast 的文章中，他介绍了用于 Flickr 站点应用优化的技巧，读罢感觉获益良多．&quot;嚼一下别人的馍&quot;，概括一下该文的主要内容．</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>城市胡同－－表单验证Validator v2.0</title>
<link>http://www.365key.com/item/1859570</link>
<category>js</category>
<pubDate>Tue, 25 Apr 2006 06:29:45 GMT</pubDate>
<description>用起来应该是很方便的
<blockquote>表单验证Validator v2.0</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>js操作cookie函数</title>
<link>http://www.365key.com/item/1844552</link>
<category>js</category>
<pubDate>Fri, 21 Apr 2006 03:00:18 GMT</pubDate>
<description>
<blockquote>js操作cookie</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>JavaScript :: 获取带中文的字符串的长度</title>
<link>http://www.365key.com/item/1832011</link>
<category>中文编码; js</category>
<pubDate>Mon, 17 Apr 2006 10:17:07 GMT</pubDate>
<description>
<blockquote>在 JavaScript 编程中，经常需要对提交的表单进行验证，特别是对用户在文本框中输入的字符串的长度进行限制。通常我们都是使用字符串对象的 length 属性获取字符串长度，如：var len = str.length;  但这个 length 在计算带有汉字的字符串长度时，却不是将一个汉字的长度算为 2，而是 1，这样对于中英文混合的字符串就更难判断出它到底是多少字符长度了。</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>幾個 AJAX Library 比較 </title>
<link>http://www.365key.com/item/1831946</link>
<category>ajax; js</category>
<pubDate>Mon, 17 Apr 2006 09:49:25 GMT</pubDate>
<description>
<blockquote>目前的 Ajax Library 大概都包含四個部分：JS&amp;Dom Improvement、Ajax Connection Management、Visual Effect 與 UI Widget。
下面是我在發展 LifeType 1.1 UI 時所使用過或試驗過的 Ajax Libary 比較：</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>AJAX框架简介_动网_社区论坛开发者网络源动力</title>
<link>http://www.365key.com/item/1831932</link>
<category>js; ajax</category>
<pubDate>Mon, 17 Apr 2006 09:44:22 GMT</pubDate>
<description>
<blockquote>prototype是一个非常优雅的JS库，定义了JS的面向对象扩展，DOM操作API，事件等等，之上还有rico/script.aculo.us实现一些JS组件功能和效果(不过目前还不是很完善)，以prototype为核心，形成了一个外围的各种各样的JS扩展库，是相当有前途的JS底层框架，值得推荐，prototype以及rico/script.aculo.us的一个特出特点就是非常易学易用，门槛很低，常常是一两行JS代码就可以搞定一个相关的功能。同时它也是RoR集成的AJAX JS库。</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>来自bennolan的behaviour让你的HTML代码变干净燖陈泽|SurfChen</title>
<link>http://www.365key.com/item/1831891</link>
<category>js</category>
<pubDate>Mon, 17 Apr 2006 09:32:19 GMT</pubDate>
<description>
<blockquote>behaviour可以让你使用CSS风格来给HTML元素加上各种行为。</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
<item>
<title>Lightbox——新颖实用的显示图片效果 - 经典论坛</title>
<link>http://www.365key.com/item/1831860</link>
<category>js</category>
<pubDate>Mon, 17 Apr 2006 09:20:52 GMT</pubDate>
<description>
<blockquote>“Lightbox”是一个别致且易用的图片显示效果，它可以使图片直接呈现在当前页面之上而不用转到新的窗口。文字表述显然不够明了，所以请先看一下Lightbox的演示页面。</blockquote></description>
<dc:creator>feihu</dc:creator>
</item>
</channel></rss>
