实现浮表头的jQuery插件:jquery.floatThead
jquery.floatThead 实现了一个个浮动/锁定 的表头,不需要特别的 CSS,支持窗口和溢出滚动。
特性:
- Floats the table header - so that the user can always see it
- Supports tables with inner scroll bars, or window scrolling
- Horizontal or vertical scrolling
- Doesn't clone the
thead
- so your events stay bound - Doesn't mess with your styles
- Works on any table
- Requires no special css
- Works with datatables out of the box
要求:
- jQuery 1.8.x or better (code is 1.9+ compliant) or jQuery 1.7.x + jQuery UI core
- Internet Exploder 8 - 11, FireFox 10+ or Chrome15+
- Add this meta tag into your header to placate IE:
<meta http-equiv="X-UA-Compatible" content="IE=10; IE=9; IE=8; IE=7; IE=EDGE" />
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!