View source for MediaWiki:StickyTableHeaders.js
From Ephinea PSO Wiki
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
/******************************************************
* Usage: *
* - Add the `sticky` class to the table element. *
* - Add the `sticky-main` class to a header row *
* to define it as the main header. *
* - Optionally, add the `sticky-sub` class to any *
* header rows to define them as sub-headers. *
* *
* Example: *
* {| class="wikitable sticky" *
* |- class="sticky-main" *
* ! Name *
* ! Color *
* ! Score *
* *
* |- class="sticky-sub" *
* ! colspan=3 | Fruits *
* |- *
* | Banana || Yellow || 10 *
* |- *
000
1:0
Return to MediaWiki:StickyTableHeaders.js.