Categories
Uncategorized

Scrollable Tables Version 2

The second version of the Scrollable Tables project cleans up deficiencies from the first version, adds accessibility support, and is generally all-round awesome.

If you have ever been frustrated by table headers scrolling off the page of your website, you can use the supplied JavaScript code to take care of the problem for you. Or use it as a tutorial on how to deal with the issue yourself.

Categories
Uncategorized

Scrollable HTML Tables

Making HTML tables scrollable with frozen header rows takes more effort than it should. I’ve written a JavaScript function that handles most common cases with a minimum of fuss.

Code and documentation are publicly available at: https://github.com/cvickery/scrollable_tables