mkoryak/floatThead
Fixed <thead>. Doesn't need any custom css/html. Does what position:sticky can't observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 97
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5091
- days_rel: n/a
- days_push: 21
- n_releases_24m: 0
Adoption not part of the score
1213 stars · 193 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A jQuery plugin that floats/fixed the table header (thead) while scrolling, requiring no custom CSS or HTML changes. It supports window scrolling, overflow container scrolling, horizontal and vertical scrolling, and handles cases where CSS position:sticky does not work.
Use cases
- keep table header visible while scrolling a long table
- fixed table header inside a scrollable container
- sticky thead without writing custom CSS
- float table header with horizontal and vertical scrolling
- make DataTables have a sticky header
- sticky header when position:sticky doesn't work in my scroll setup
When to choose
- you use jQuery and need a proven, battle-tested sticky table header
- your scroll parent is non-standard (body scrolls but table is in a container, or mixed horizontal/vertical scroll parents)
- you need dynamic sticky top offsets or sticky state callbacks
- you must support older browsers without position:sticky support
When to avoid
- you are not using jQuery and can rely on native CSS position:sticky
- you are building a modern framework app where a framework-specific solution fits better
- you need a dependency-free vanilla JS solution
Facets
plugin · maturity maintenance
ui-components animation web-development frontend browser jquery-plugin sticky-table-header fixed-header scrolling responsive-tables javascript
3 sources
- readme: https://github.com/mkoryak/floatThead · fetched 2026-08-28 · 15a9a9c30f89
- homepage: https://mkoryak.github.io/floatThead/ · fetched 2026-08-29 · b3b66ea7b717
- registry_npm: https://registry.npmjs.org/floatthead · fetched 2026-08-29 · 642c28c20404
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mkoryak/floatThead | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="mkoryak/floatThead")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem