ScrollTableHeader is a Javascript class that keeps selected rows visible when the user scrolls the page - or in other rows makes the header of a table fixed. It does so intelligently, or in other words, by default it behaves just as you would expect it to.
The code was developed with performance as a priority as it is imperative that if you need such functionality, you are dealing with huge tables - ones that take up more than one screen. Unobtrusiveness and ease of implementation was the second goal. No global variables or functions are declared outside of the ScrollTableHeader class and usage is as simple as it could get.
SEE DEMO
Implementation:
When creating the HTML table, enclose each section of rows in a `
` tag and give it a unique ID.
In most cases you"d be enclosing all rows of the table, but this class supports more tha
毛海彬
6天前 下载了:
一个很好的汇编集成开发环境,支持多种汇编编译器。
毛海彬
6天前 下载了:
汇编语言编写的发声程序!
无密码.
希望能给初学汇编的人一点启发吧!...
毛海彬
6天前 下载了:
这是一个汇编的程序包,所包含了一般的汇编初学者所要参考的汇编小程序...
dybabc123
6天前 下载了:
这是一个旅行商问题的算法源程序
dybabc123
6天前 下载了:
unix下的ping代码源程序
dybabc123
6天前 下载了:
Three-dimensional finite-difference ground-water flow model 三维流体有限元源代码
dybabc123
6天前 下载了:
这是一个运用多种排序法对数据进行排序的程序,排序时间复杂性小,空间复杂性小,排序速度快.压缩包包括源程序文件,再vc中运行.
dybabc123
6天前 下载了:
介绍windows环境下命令行
dybabc123
6天前 下载了:
Thinking in java 3 习题答案
dybabc123
6天前 下载了:
这是一个通过字符串操作来实现文本加密解密的源程序,通过打乱原文本字符串的顺序,隐藏信息,通过解密,可以回复原字符正常顺序,达到加密解密的目的.压缩包包括源程序文件,再vc中运行.