[導入]表格拖動, 排序, 固定表頭3合一的純 JS 表格組件

          今天看到了這位朋友的文章: 表格拖動(改進加原創) , 寫的很不錯, 試了一下無法在 FireFox 下運行, 想起來已經是 Google 雇員的 Emil A Eklund 好像已經寫過了一個使用非常簡單的類似組件, 兼容 IE 和 FireFox, 找到了它, 給大家推薦一下:

          http://webfx.eae.net/dhtml/collist/columnlist.html

          在線演示:

          Demo

          這些英文寫的很淺顯, 隨便看看用起來就 OK 了.

          還看到同志們關于 Firefox 中沒有定義 event 對象討論的熱火朝天, 但是 Emil 兄弟早就做了一些這方面的工作, 我需要的就是拿來用, 請瀏覽:

          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.



          BeanSoft 2007-02-03 17:47 發表評論

          文章來源:http://www.aygfsteel.com/beansoft/archive/2007/02/03/97766.html

          posted on 2007-08-17 16:29 陳貴波 閱讀(1537) 評論(2)  編輯  收藏

          評論

          # re: [導入]表格拖動, 排序, 固定表頭3合一的純 JS 表格組件 2011-02-24 17:20 weiweiok

          可惜不支持chrome等webkit核心瀏覽器。。要不然還是挺完美的。。  回復  更多評論   

          # re: [導入]表格拖動, 排序, 固定表頭3合一的純 JS 表格組件 2012-07-26 12:42 njl_041x

          很不錯的一個表格插件,但仍然有些問題,比如表格必須定寬,或者單元格必須定寬,否則表頭就會表現的差一些(具體為:表頭浮動起來,造成表頭列寬與表體列寬不等)。但有些時候我們需要表格的100%變寬。  回復  更多評論   


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          <2025年7月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          導航

          統計

          常用鏈接

          留言簿(16)

          隨筆分類(12)

          隨筆檔案(13)

          文章分類

          新聞分類(1)

          新聞檔案(30)

          相冊

          常去論壇

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 胶州市| 翁源县| 兴海县| 沽源县| 乌恰县| 商南县| 宜黄县| 泽普县| 奉贤区| 洛浦县| 宿松县| 远安县| 都安| 阳曲县| 甘南县| 武夷山市| 平乐县| 酒泉市| 苍梧县| 梧州市| 阳山县| 宁远县| 黑龙江省| 宁陵县| 开封市| 南昌县| 含山县| 嘉义县| 武汉市| 承德县| 宣城市| 澜沧| 十堰市| 阿瓦提县| 新龙县| 辽阳县| 东明县| 萨嘎县| 尼勒克县| 鄂托克前旗| 惠水县|