jQuery Automatic Fixed Table Header Plugin freezeheader.js
Add-ons

Plugin Description: freezeheader.js is a simple jQuery table plugin for fixing table headers. It provides three different fixed-header table effects.
Quick Tutorial
This is a simple jQuery plugin for freezing the header row of an HTML table.
Include the JS file from the archive and the jQuery file.
1 | <script src="js/jquery.freezeheader.js"></script> |
Usage
Create a table with a fixed header at the top of the browser:
1 2 3 | $(document).ready(function () { $("#tableid").freezeHeader();}) |
Create a table with a fixed header and a scrollbar:
1 2 3 | $(document).ready(function () { $("#tableid").freezeHeader({ 'height': '300px' });}) |
评论