The data on YGOCounter is in early stage. We're looking for your contribution!. If you find this site useful, kindly share with your friends and playgroups.


The chat feature is just implemented. Feel free to join or read the chat log here.

MediaWiki:Sticky header/StickyTableHeadersFix.js: Difference between revisions

From YGOCounter
2026-01-12 https://en.wikipedia.org/wiki/User:Jroberson108/StickyTableHeadersFix.js
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 11: Line 11:


   // Load CSS from the associated stylesheet.
   // Load CSS from the associated stylesheet.
   mw.loader.load(
   mw.loader.load('//ygocounter.com/w/index.php?title=MediaWiki:Sticky_header/StickyTableHeadersFix.css&action=raw&ctype=text/css',
'https://ygocounter.com/wiki/StickyTableHeadersFix.css&action=raw&ctype=text/css',
     'text/css'
     'text/css'
   );
   );
})();
})();

Latest revision as of 23:03, 16 January 2026

/**

* Makes table headers sticky on small screens for Template:Sticky header
* and MediaWiki:Gadget-StickyTableHeaders.css.
* 
* See documentation:
* {@link https://en.wikipedia.org/wiki/User:Jroberson108/StickyTableHeadersFix}
*/

(function stickyTableHeadersFix() {

 'use strict';
 // Load CSS from the associated stylesheet.
 mw.loader.load('//ygocounter.com/w/index.php?title=MediaWiki:Sticky_header/StickyTableHeadersFix.css&action=raw&ctype=text/css',
   'text/css'
 );

})();