BeanSoft's Java Blog
免费电子书/视频《MyEclipse 6 Java 开发中文教程》作者刘长炯官方博客

今天看到了这位朋友的文章: 表格拖动(改进加原创) , 写的很不错, 试了一下无法在 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.

posted on 2007-02-03 17:47 BeanSoft 阅读(2689) 评论(3)  编辑  收藏 所属分类: Web
Comments
  • # re: 表格拖动, 排序, 固定表头3合一的纯 JS 表格组件
    赵海
    Posted @ 2007-10-28 23:26
    版主:
    您好! 非常感谢你提供源代码代码。2007-10-26日下午,无意中看到你的文章,真是如雨得水啦,在此之前,只是目睹过126邮箱可以实现该功能,而你的文章是第二个。我一直以JSP为主,我的QQ号 380462843 email:zhaohai@314.com 。  回复  更多评论   
  • # re: 表格拖动, 排序, 固定表头3合一的纯 JS 表格组件
    小鞠
    Posted @ 2008-02-05 20:28
    真是个不错的javascript表格组件,谢谢!  回复  更多评论   
  • # re: 表格拖动, 排序, 固定表头3合一的纯 JS 表格组件[未登录]
    test
    Posted @ 2008-11-04 10:30
    那个表格好像在FF下并不能够正常运行哦  回复  更多评论   



标题  
姓名  
主页
验证码 *  
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
 
 
相关链接:
网站导航: