<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0' xmlns:dc='http://purl.org/dc/elements/1.1/'>
<channel>
<title>CSDN技术网摘 -- wz.csdn.net(ff)</title>
<description>CSDN技术网摘 -- wz.csdn.net(ff)</description>
<link>http://wz.csdn.net/tag-rss/ff/</link>
<generator>CSDN网摘 (http://wz.csdn.net)</generator>
<language>zh-cn</language>
<docs>CSDN网摘 包罗技术精华</docs>
<item>
<title>国内外视频搜索引擎大杂烩，让你一次看个够。 - 相濡以沫 - CSDNBlog</title>
<link>http://blog.csdn.net/onlyzhangqin/archive/2008/07/24/2703323.aspx</link>
<guid isPermaLink="true">http://blog.csdn.net/onlyzhangqin/archive/2008/07/24/2703323.aspx</guid>
<category>ff</category>
<pubDate>Thu, 21 Aug 2008 10:24:24 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>caitanlin</dc:creator>
</item>
<item>
<title>一行两列的float问题（兼容ie&amp;ff），等待中！</title>
<link>http://topic.csdn.net/u/20071204/16/a6a5d33e-9c1c-4436-8d52-43eeb96879e4.html?514105794</link>
<guid isPermaLink="true">http://topic.csdn.net/u/20071204/16/a6a5d33e-9c1c-4436-8d52-43eeb96879e4.html?514105794</guid>
<category>css,ff</category>
<pubDate>Mon, 04 Aug 2008 20:41:24 GMT</pubDate>
<description><blockquote>一行两列的float问题（兼容ie&amp;ff），等待中！</blockquote></description>
<dc:creator>abcaaa000aaa</dc:creator>
</item>
<item>
<title>一行两列的float问题（兼容ie&amp;ff），等待中！</title>
<link>http://topic.csdn.net/u/20071204/16/a6a5d33e-9c1c-4436-8d52-43eeb96879e4.html?514105794</link>
<guid isPermaLink="true">http://topic.csdn.net/u/20071204/16/a6a5d33e-9c1c-4436-8d52-43eeb96879e4.html?514105794</guid>
<category>css,ff</category>
<pubDate>Mon, 04 Aug 2008 15:46:43 GMT</pubDate>
<description><blockquote>一行两列的float问题（兼容ie&amp;ff），等待中！</blockquote></description>
<dc:creator>xiao1zhao</dc:creator>
</item>
<item>
<title>ff下addeventlistener的疑问</title>
<link>http://topic.csdn.net/u/20070510/20/58277c38-9390-414a-8c3b-72b378e418e0.html</link>
<guid isPermaLink="true">http://topic.csdn.net/u/20070510/20/58277c38-9390-414a-8c3b-72b378e418e0.html</guid>
<category>ff</category>
<pubDate>Sun, 03 Aug 2008 10:56:44 GMT</pubDate>
<description><blockquote>ff下addeventlistener的疑问</blockquote></description>
<dc:creator>xiao1zhao</dc:creator>
</item>
<item>
<title>Javascript的IE和FF兼容性汇编 - ruanchao的专栏 - CSDNBlog</title>
<link>http://blog.csdn.net/ruanchao/archive/2007/12/20/1955548.aspx</link>
<guid isPermaLink="true">http://blog.csdn.net/ruanchao/archive/2007/12/20/1955548.aspx</guid>
<category>ie,ff</category>
<pubDate>Sat, 02 Aug 2008 10:05:30 GMT</pubDate>
<description><blockquote>Javascript的IE和FF兼容性汇编
Submitted by jiashixiang on 2006, July 28, 3:32 PM. javascript学习

以下以 IE 代替 Internet Explorer，以 MF 代替 Mozzila Firefox

1. document.form.item 问题
(1)现有问题：
现有代码中存在许多 document.formName.item(&quot;itemName&quot;) 这样的语句，不能在 MF 下运行
(2)解决方法：
改用 document.formName.elements[&quot;elementName&quot;]
(3)其它
参见 2

2. 集合类对象问题
(1)现有问题：
现有代码中许多集合类对象取用时使用 ()，IE 能接受，MF 不能。
(2)解决方法：
改用 [] 作为下标运算。如：document.forms(&quot;formName&quot;) 改为 document.forms[&quot;formName&quot;]。
又如：document.getElementsByName(&quot;inputName&quot;)(1) 改为 document.getElementsByName(&quot;inputName&quot;)[1]

3. window.event
(1)现有问题：
使用 window.event 无法在 MF 上运行
(2)解决方法：
MF 的 event 只能在事件发生的现场使用，此问题暂无法解决。可以这样变通：
原代码(可在IE中运行)：

...

function gotoSubmit() {
...
alert(window.event);  // use window.event
...
}


新代码(可在IE和MF中运行)：

...

function gotoSubmit(evt) {
evt = evt ? evt : (window.event ? window.event : null); 
...
alert(evt);  // use evt
...
}

此外，如果新代码中第一行不改，与老代码一样的话(即 gotoSubmit 调用没有给参数)，则仍然只能在IE中运行，但不会出错。所以，这种方案 tpl 部分仍与老代码兼容。

4. HTML 对象的 id 作为对象名的问题
(1)现有问题
在 IE 中，HTML 对象的 ID 可以作为 document 的下属对象变量名直接使用。在 MF 中不能。
(2)解决方法
用 getElementById(&quot;idName&quot;) 代替 idName 作为对象变量使用。

5. 用idName字符串取得对象的问题
(1)现有问题
在IE中，利用 eval(idName) 可以取得 id 为 idName 的 HTML 对象，在MF 中不能。
(2)解决方法
用 getElementById(idName) 代替 eval(idName)。

6. 变量名与某 HTML 对象 id 相同的问题
(1)现有问题
在 MF 中，因为对象 id 不作为 HTML 对象的名称，所以可以使用与 HTML 对象 id 相同的变量名，IE 中不能。
(2)解决方法
在声明变量时，一律加上 var ，以避免歧义，这样在 IE 中亦可正常运行。
此外，最好不要取与 HTML 对象 id 相同的变量名，以减少错误。
(3)其它
参见 问题4

7. event.x 与 event.y 问题
(1)现有问题
在IE 中，event 对象有 x, y 属性，MF中没有。
(2)解决方法
在MF中，与event.x 等效的是 event.pageX。但event.pageX IE中没有。
故采用 event.clientX 代替 event.x。在IE 中也有这个变量。
event.clientX 与 event.pageX 有微妙的差别（当整个页面有滚动条的时候），不过大多数时候是等效的。

如果要完全一样，可以稍麻烦些：
mX = event.x ? event.x : event.pageX; 
然后用 mX 代替 event.x
(3)其它
event.layerX 在 IE 与 MF 中都有，具体意义有无差别尚未试验。

8. 关于frame
(1)现有问题
在 IE中 可以用window.testFrame取得该frame，mf中不行
(2)解决方法
在frame的使用方面mf和ie的最主要的区别是：
如果在frame标签中书写了以下属性：

那么ie可以通过id或者name访问这个frame对应的window对象
而mf只可以通过name来访问这个frame对应的window对象
例如如果上述frame标签写在最上层的window里面的htm里面，那么可以这样访问
ie： window.top.frameId或者window.top.frameName来访问这个window对象
mf： 只能这样window.top.frameName来访问这个window对象

另外，在mf和ie中都可以使用window.top.document.getElementById(&quot;frameId&quot;)来访问frame标签
并且可以通过window.top.document.getElementById(&quot;testFrame&quot;).src = ‘xx.htm’来切换frame的内容
也都可以通过window.top.frameName.location = ‘xx.htm’来切换frame的内容
关于frame和window的描述可以参见bbs的‘window与frame’文章
以及/test/js/test_frame/目录下面的测试
----adun 2004.12.09修改

9. 在mf中，自己定义的属性必须getAttribute()取得

10.在mf中没有 parentElement parement.children 而用parentNode parentNode.childNodes
childNodes的下标的含义在IE和MF中不同，MF使用DOM规范，childNodes中会插入空白文本节点。
一般可以通过node.getElementsByTagName()来回避这个问题。
当html中节点缺失时，IE和MF对parentNode的解释不同，例如





MF中input.parentNode的值为form, 而IE中input.parentNode的值为空节点

MF中节点没有removeNode方法，必须使用如下方法 node.parentNode.removeChild(node)

11.const 问题
(1)现有问题:
在 IE 中不能使用 const 关键字。如 const constVar = 32;  在IE中这是语法错误。
(2)解决方法:
不使用 const ，以 var 代替。

12. body 对象
MF的body在body标签没有被浏览器完全读入之前就存在，而IE则必须在body完全被读入之后才存在

13. url encoding
在js中如果书写url就直接写&amp;不要写&amp;例如var url = ‘xx.jsp?objectName=xx&amp;objectEvent=xxx’; 
frm.action = url那么很有可能url不会被正常显示以至于参数没有正确的传到服务器
一般会服务器报错参数没有找到
当然如果是在tpl中例外，因为tpl中符合xml规范，要求&amp;书写为&amp;
一般MF无法识别js中的&amp;

14. nodeName 和 tagName 问题
(1)现有问题：
在MF中，所有节点均有 nodeName 值，但 textNode 没有 tagName 值。在 IE 中，nodeName 的使用好象
有问题（具体情况没有测试，但我的IE已经死了好几次）。
(2)解决方法：
使用 tagName，但应检测其是否为空。

15. 元素属性
IE下 input.type属性为只读，但是MF下可以修改

16. document.getElementsByName() 和 document.all[name] 的问题
  (1)现有问题：
     在 IE 中，getElementsByName()、document.all[name] 均不能用来取得 div 元素（是否还有其它不能取的元素还不知道）。</blockquote></description>
<dc:creator>xiao1zhao</dc:creator>
</item>
<item>
<title>老虎机技术联�?u=http://blog.csdn.net/ak01234</title>
<link>http://blog.csdn.net/ak01234</link>
<guid isPermaLink="true">http://blog.csdn.net/ak01234</guid>
<category>FF</category>
<pubDate>Mon, 21 Jul 2008 03:54:16 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>qqtt1988</dc:creator>
</item>
<item>
<title>一个sql查询语句</title>
<link>http://topic.csdn.net/u/20080707/13/7e3d78eb-9ac8-4693-af4d-af1f98731d9a.html</link>
<guid isPermaLink="true">http://topic.csdn.net/u/20080707/13/7e3d78eb-9ac8-4693-af4d-af1f98731d9a.html</guid>
<category>ff</category>
<pubDate>Mon, 07 Jul 2008 14:44:51 GMT</pubDate>
<description><blockquote>dd</blockquote></description>
<dc:creator>nalnait</dc:creator>
</item>
<item>
<title>书生商友5.0-注册机 CSDN 下载频道</title>
<link>http://download.csdn.net/source/426127</link>
<guid isPermaLink="true">http://download.csdn.net/source/426127</guid>
<category>ff</category>
<pubDate>Thu, 03 Jul 2008 04:46:57 GMT</pubDate>
<description><blockquote>ffffffffffffff</blockquote></description>
<dc:creator>OPenQX5000</dc:creator>
</item>
<item>
<title>matlab�se�f`K� CSDN }�S</title>
<link>http://download.csdn.net/source/491062</link>
<guid isPermaLink="true">http://download.csdn.net/source/491062</guid>
<category>ff</category>
<pubDate>Wed, 02 Jul 2008 07:44:17 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>ping_1324</dc:creator>
</item>
<item>
<title>不服自己都不行，IE FF执行脚本完美解决方案。</title>
<link>http://topic.csdn.net/u/20080314/15/20c73e60-2ce4-4b85-9d39-717521195d49.html</link>
<guid isPermaLink="true">http://topic.csdn.net/u/20080314/15/20c73e60-2ce4-4b85-9d39-717521195d49.html</guid>
<category>脚本,IE,FF,解决方案</category>
<pubDate>Sat, 10 May 2008 07:26:16 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>guoqiangone</dc:creator>
</item>
<item>
<title>简易虚拟数字存储示波器 CSDN 下载频道</title>
<link>http://download.csdn.net/source/431045</link>
<guid isPermaLink="true">http://download.csdn.net/source/431045</guid>
<category>ff</category>
<pubDate>Thu, 08 May 2008 04:37:32 GMT</pubDate>
<description><blockquote>gg</blockquote></description>
<dc:creator>yongkes</dc:creator>
</item>
<item>
<title>《精通CSS DIV网页样式与布局》配套光盘_书中所有实例_源文�?CSDN 下载频道</title>
<link>http://download.csdn.net/source/325804</link>
<guid isPermaLink="true">http://download.csdn.net/source/325804</guid>
<category>ff</category>
<pubDate>Sat, 29 Mar 2008 12:47:33 GMT</pubDate>
<description><blockquote>ff</blockquote></description>
<dc:creator>fangjun51448</dc:creator>
</item>
<item>
<title>新数据网格简介(DataGridView) - 清凉一夏 - CSDNBlog</title>
<link>http://blog.csdn.net/xyxsblive/archive/2006/05/09/714221.aspx</link>
<guid isPermaLink="true">http://blog.csdn.net/xyxsblive/archive/2006/05/09/714221.aspx</guid>
<category>ff</category>
<pubDate>Sun, 23 Mar 2008 03:03:11 GMT</pubDate>
<description><blockquote>ff</blockquote></description>
<dc:creator>wa_yi</dc:creator>
</item>
<item>
<title>【翻译】保存图片到SQL 2000 Server数据�?- ShingU的专�?- CSDNBlog</title>
<link>http://blog.csdn.net/ShingU/archive/2005/03/15/319903.aspx</link>
<guid isPermaLink="true">http://blog.csdn.net/ShingU/archive/2005/03/15/319903.aspx</guid>
<category>FF</category>
<pubDate>Wed, 19 Mar 2008 07:48:19 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>ZL868</dc:creator>
</item>
<item>
<title>如何配置J2ME的eclipse的开发环境~</title>
<link>http://topic.csdn.net/u/20070628/11/16424799-d225-463d-9e55-087d73357a11.html</link>
<guid isPermaLink="true">http://topic.csdn.net/u/20070628/11/16424799-d225-463d-9e55-087d73357a11.html</guid>
<category>ff</category>
<pubDate>Tue, 04 Mar 2008 07:52:41 GMT</pubDate>
<description><blockquote>ffff</blockquote></description>
<dc:creator>weijet</dc:creator>
</item>
<item>
<title>统计库存燃油�?u=http://localhost:8080/fueltotalaction!findFulTotal.action?menuId=93.05</title>
<link>www.google.cn</link>
<guid isPermaLink="true">www.google.cn</guid>
<category>ff</category>
<pubDate>Fri, 25 Jan 2008 10:05:44 GMT</pubDate>
<description><blockquote>ff</blockquote></description>
<dc:creator>loye2008</dc:creator>
</item>
<item>
<title>微软的面试题及答案－超变态但是很经典</title>
<link>http://topic.csdn.net/u/20070315/10/78d03595-b5fa-4853-ab02-37ed16c2ddb3.html</link>
<guid isPermaLink="true">http://topic.csdn.net/u/20070315/10/78d03595-b5fa-4853-ab02-37ed16c2ddb3.html</guid>
<category>ff</category>
<pubDate>Fri, 11 Jan 2008 06:27:18 GMT</pubDate>
<description><blockquote>12个球一个天平，现知道只有一个和其它的重量不同，问怎样称才能用三次就找到那个球。13个呢?(注意此题并未说明那个球的重量是轻是重，所以需要仔细考虑)</blockquote></description>
<dc:creator>Hill_Happy</dc:creator>
</item>
<item>
<title>Javascript 在Firefox中调整层的尺寸 @ 奴隶——生活的奴隶，计算机的奴隶！</title>
<link>http://www.x2blog.cn/jinhong618/?tid=12690</link>
<guid isPermaLink="true">http://www.x2blog.cn/jinhong618/?tid=12690</guid>
<category>divObj.style.cssText,=,&quot;500px&quot;,兼容IE,FF</category>
<pubDate>Wed, 09 Jan 2008 06:30:13 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>Rogues</dc:creator>
</item>
<item>
<title>CSS完美兼容IE6/IE7/FF的通用hack方法</title>
<link>http://blog.csdn.net/thomas_chen/archive/2007/10/30/1855702.aspx</link>
<guid isPermaLink="true">http://blog.csdn.net/thomas_chen/archive/2007/10/30/1855702.aspx</guid>
<category>CSS,IE7,FF,IE6</category>
<pubDate>Fri, 16 Nov 2007 18:56:53 GMT</pubDate>
<description><blockquote>CSS完美兼容IE6/IE7/FF的通用hack方法</blockquote></description>
<dc:creator>tkjune</dc:creator>
</item>
<item>
<title>GlassFish：开源的Java EE应用服务器 - 免费试读 - book.csdn.net</title>
<link>http://book.csdn.net/bookfiles/551/</link>
<guid isPermaLink="true">http://book.csdn.net/bookfiles/551/</guid>
<category>ff</category>
<pubDate>Sat, 10 Nov 2007 17:01:39 GMT</pubDate>
<description><blockquote>dsf</blockquote></description>
<dc:creator>fengye2009</dc:creator>
</item>
<item>
<title>景深的原理与应用 - Johnny.Deng的专栏 - CSDNBlog</title>
<link>http://blog.csdn.net/dbigbear/archive/2007/04/14/1564273.aspx</link>
<guid isPermaLink="true">http://blog.csdn.net/dbigbear/archive/2007/04/14/1564273.aspx</guid>
<category>FF</category>
<pubDate>Sun, 30 Sep 2007 10:09:25 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>HUANGZHIHB</dc:creator>
</item>
<item>
<title>ie和ff中对javascript的解释的区别 - 一个小泡的专栏 - CSDNBlog</title>
<link>http://blog.csdn.net/rjzou2006/archive/2007/04/20/1572704.aspx</link>
<guid isPermaLink="true">http://blog.csdn.net/rjzou2006/archive/2007/04/20/1572704.aspx</guid>
<category>ff</category>
<pubDate>Mon, 27 Aug 2007 16:16:37 GMT</pubDate>
<description><blockquote>ie和ff中对javascript</blockquote></description>
<dc:creator>daonidedie</dc:creator>
</item>
<item>
<title>COBOL从入门到精通 - CSDN读书频道,IT图书讨论专业社区 - book.csdn.net</title>
<link>http://club.book.csdn.net/book/16156.html</link>
<guid isPermaLink="true">http://club.book.csdn.net/book/16156.html</guid>
<category>ff</category>
<pubDate>Sun, 10 Jun 2007 05:49:53 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>aini7758521</dc:creator>
</item>
<item>
<title>JavaScript就这么回事4：表单 - 一步一步学习javascript</title>
<link>http://www.aaa.rm</link>
<guid isPermaLink="true">http://www.aaa.rm</guid>
<category>BB,CC,DD,EE,FF,GG,II,JJ,eijf,woeiru.q,wekrj,oweij</category>
<pubDate>Thu, 24 May 2007 07:35:18 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>lxtrayn</dc:creator>
</item>
<item>
<title>质数(java两个问题)</title>
<link>http://community.csdn.net/Expert/topicview.asp?id=5490061</link>
<guid isPermaLink="true">http://community.csdn.net/Expert/topicview.asp?id=5490061</guid>
<category>ff</category>
<pubDate>Sun, 06 May 2007 10:17:37 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>fanenli88</dc:creator>
</item>
<item>
<title>IE中setAttribute的疑惑。 - 木头''s world - 博客园</title>
<link>http://www.cnblogs.com/cosy/archive/2006/09/26/514757.html</link>
<guid isPermaLink="true">http://www.cnblogs.com/cosy/archive/2006/09/26/514757.html</guid>
<category>setAttribute,javascript,dom,IE,ff,onclick,event</category>
<pubDate>Thu, 26 Apr 2007 02:06:56 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>jaccho</dc:creator>
</item>
<item>
<title>好男人终究斗不过坏男人（恋爱必修课）----经典之作</title>
<link>http://community.csdn.net/Expert/topicview.asp?id=5375976</link>
<guid isPermaLink="true">http://community.csdn.net/Expert/topicview.asp?id=5375976</guid>
<category>ff</category>
<pubDate>Wed, 07 Mar 2007 01:42:12 GMT</pubDate>
<description><blockquote>fff</blockquote></description>
<dc:creator>xcxs98</dc:creator>
</item>
<item>
<title>开发人员如何成为架构师 - 冷圣子 - 博客园</title>
<link>http://www.cnblogs.com/JeffChen/archive/2007/02/22/653908.html</link>
<guid isPermaLink="true">http://www.cnblogs.com/JeffChen/archive/2007/02/22/653908.html</guid>
<category>ff</category>
<pubDate>Fri, 23 Feb 2007 05:56:28 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>rainsnow</dc:creator>
</item>
<item>
<title>C# 编码规范和编程好习惯</title>
<link>http://community.csdn.net/Expert/topicview.asp?id=5341606</link>
<guid isPermaLink="true">http://community.csdn.net/Expert/topicview.asp?id=5341606</guid>
<category>ff</category>
<pubDate>Fri, 09 Feb 2007 01:23:23 GMT</pubDate>
<description><blockquote>tt</blockquote></description>
<dc:creator>csShooter</dc:creator>
</item>
<item>
<title>昨天参加广东省高校软件设计大赛,有牛人,有SB,大家来看看SB的故事...</title>
<link>http://community.csdn.net/Expert/topicview.asp?id=5186431</link>
<guid isPermaLink="true">http://community.csdn.net/Expert/topicview.asp?id=5186431</guid>
<category>ff</category>
<pubDate>Wed, 17 Jan 2007 09:33:16 GMT</pubDate>
<description><blockquote>f</blockquote></description>
<dc:creator>andyanmy</dc:creator>
</item>
<item>
<title>ff</title>
<link>http://community.csdn.net/Expert/TopicView3.asp?id=5146634#reply</link>
<guid isPermaLink="true">http://community.csdn.net/Expert/TopicView3.asp?id=5146634#reply</guid>
<category>ff</category>
<pubDate>Fri, 10 Nov 2006 03:58:06 GMT</pubDate>
<description><blockquote>adf</blockquote></description>
<dc:creator>lzy622</dc:creator>
</item>
<item>
<title>求救　　关于ＦＯＲ循环．．．</title>
<link>http://community.csdn.net/Expert/topicview.asp?id=5129145</link>
<guid isPermaLink="true">http://community.csdn.net/Expert/topicview.asp?id=5129145</guid>
<category>ff</category>
<pubDate>Fri, 03 Nov 2006 11:01:24 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>yanjinde77</dc:creator>
</item>
<item>
<title>如何在C编的程序里加入鼠标</title>
<link>http://community.csdn.net/Expert/topicview.asp?id=3265290</link>
<guid isPermaLink="true">http://community.csdn.net/Expert/topicview.asp?id=3265290</guid>
<category>ff</category>
<pubDate>Thu, 12 Aug 2004 07:18:22 GMT</pubDate>
<description><blockquote></blockquote></description>
<dc:creator>reners</dc:creator>
</item>
</channel></rss>
