今天看到了這位朋友的文章: 表格拖動(dòng)(改進(jìn)加原創(chuàng)) , 寫(xiě)的很不錯(cuò), 試了一下無(wú)法在 FireFox 下運(yùn)行, 想起來(lái)已經(jīng)是 Google 雇員的 Emil A Eklund 好像已經(jīng)寫(xiě)過(guò)了一個(gè)使用非常簡(jiǎn)單的類(lèi)似組件, 兼容 IE 和 FireFox, 找到了它, 給大家推薦一下:
http://webfx.eae.net/dhtml/collist/columnlist.html
在線演示:
Demo
這些英文寫(xiě)的很淺顯, 隨便看看用起來(lái)就 OK 了.
還看到同志們關(guān)于 Firefox 中沒(méi)有定義 event 對(duì)象討論的熱火朝天, 但是 Emil 兄弟早就做了一些這方面的工作, 我需要的就是拿來(lái)用, 請(qǐng)瀏覽:
http://webfx.eae.net/dhtml/ieemu/ FF 下的 IE API 模擬.
Introduction
When it comes to DHTML Mozilla might be less powerful than IE4 but when it comes to JavaScript it just kicks ass. The first time a saw a setter being used with a prototype of the built-in HTMLElement constructor I was just blown away. One of my first thought at that time was that this was exactly what I needed to start emulating the IE DHTML Object Model for Mozilla.
The goal of this article is to emulate a lot of IE behaviors to work in Mozilla, both to make old IE specific scripts work in Mozilla but also to make it easier to create new scripts that work in both IE5 and Mozilla. The article is actually going to be a series of smaller articles, each one concentrating on a small part of the emulation.

文章來(lái)源:
http://m.tkk7.com/beansoft/archive/2007/02/03/97766.html