Floating header plugin
This plugin makes sure the THEAD of a table always is visible. This is done by cloning the THEAD element and displaying it on top of the table when the original header is outside the viewport.
The plugin is tested on: FF, Chrome, Opera, IE 6, IE 7/8
NOTE:As expected there are still some strangeness on IE6, if you're good at IE6-compatibility please A) drop me a line B) send me a patch.
Usage
Example usage of the plugin.
jQuery("#table").floatHeader(); Options
Customization options available for the plugin. Please take a look at the project page for the most recent updates to these options.
- fadeOut
- The length of the fade out animation in ms. Default: 250
- fadeIn
- The length of the face in animation in ms. Default: 250
- floatClass
- The class of the div that contains the floating header. The style should contain an appropriate z-index value. Default: ‘floatHeader’
- cbFadeOut
- A callback that is called when the floating header should be faded out. The method is called with the wrapped header as argument.
- cbFadeIn
- A callback that is called when the floating header should be faded in. The method is called with the wrapped header as argument.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 1.1.1-min | 2009-Dec-12 | 2.04 KB | Recommended for 1.3.x | ||
