首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 制作HTML表头智能滚动随着页类

制作HTML表头智能滚动随着页类

资 源 简 介

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
VIP VIP
0.177132s