文件名称:table-fixed-header:当页面滚动时,保持表格标题可见。 支持rowspan和colspan。 表格标题会在到达屏幕顶部时被修复。 twitter bootstrap的示例
文件大小:60KB
文件格式:ZIP
更新时间:2024-04-15 16:23:50
CSS
滚动时,冻结页面顶部的表标题。 jQuery插件,用于在滚动页面时“冻结”表标题,否则标题将消失。 在此处查看LIVE示例 对于仅启用表格主体独立滚动的解决方案,不是。 您可能想看看可Chrome化的或其他。 老实说,我们也尝试过这些方法,但是它们不能很好地处理带有colspans和rowpans的大表。 与多个标题行和colspan一起使用 使用:colspan => 1和:rowspan => 2可以使用多个tr和th。 这就是我们需要的自己。 参见example.html.haml #例子 打开example.html来检查行为。 html是使用haml example.html.haml > example.html从HAML生成的 #用法 在路径中包含javascript或coffeescript文件。 将CSS类“ table-fixed-header”添加到表中
【文件预览】:
table-fixed-header-master
----bottom-sticker.js(1KB)
----jquery-1.7.2.min.js(93KB)
----duplicate_rows.js(244B)
----table-fixed-header.js(2KB)
----horizontal-scroll-issue (fixed).html(6KB)
----table-fixed-header.css(559B)
----example.html(3KB)
----bottom-sticker.min.js(716B)
----bootstrap-2.3.2.css(124KB)
----example.html.haml(2KB)
----README.md(2KB)
----horizontal-scroll-issue.html(8KB)