html table隐藏表头,用jquery 固定HTML TABLE表头

何修能
2023-12-01

引用的Jquery 插件: jquery.fixedheadertable.js

http://fixedheadertable.com/

https://github.com/golovko/Fixed-Header-Table

-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”>

FixedHeaderTable Test

$(document).ready(function() {

//設定固定表的表格

$(‘#myTable01′).fixedHeaderTable({ footer: false, cloneHeadToFoot: false, altClass: ‘odd’, autoShow: true });

});

BrowserVisitsPages/VisitAvg. Time on Site% New VisitsBounce Rate

Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%Firefox1,9903.1100:04:2270.00%32.61%

可以更改CSS文件改变大小或颜色等.

 类似资料: