UI PROBLEM One of the things that irritates me about long tables is the headings scroll off the top of the screen leaving untitled columns.
JAVASCRIPT SOLUTION So I've written a jQuery plug-in to freeze the <THEAD> part if it is about to be scrolled off the top of the screen. It floats above the base z-index. There is a demonstration/download here: http://vulpeculox.net/misc/jsjq/headHolder/index.htm
IMPLEMENTING I've done the grunt work and have no idea how to go about getting it through the implementation process. (No time and no inclination for learning all that stuff for a single tiny project.) So if there's anyone who thinks it is worthwhile then it's all yours.
Peter Fox wrote:
UI PROBLEM One of the things that irritates me about long tables is the headings scroll off the top of the screen leaving untitled columns.
JAVASCRIPT SOLUTION So I've written a jQuery plug-in to freeze the <THEAD> part if it is about to be scrolled off the top of the screen. It floats above the base z-index. There is a demonstration/download here: http://vulpeculox.net/misc/jsjq/headHolder/index.htm
IMPLEMENTING I've done the grunt work and have no idea how to go about getting it through the implementation process. (No time and no inclination for learning all that stuff for a single tiny project.) So if there's anyone who thinks it is worthwhile then it's all yours.
Hi Peter,
Thanks for working on this. It looks interesting.
With so many good ideas and so few developer resources, unfortunately it's unlikely that others will have the time or inclination to work on this. You can sign up for a free developer account here and get started contributing in minutes: https://www.mediawiki.org/wiki/Gerrit.
It's great that you're using jQuery as MediaWiki/Wikimedia development already loads this library. You'll just want to be sure that you're testing with a compatible library version and that you're following JavaScript coding conventions (https://www.mediawiki.org/wiki/CC/JS).
Lastly, be sure that any enhancement tool that you write can degrade gracefully if JavaScript is unavailable.
Thanks again for working on this!
MZMcBride
wikitech-l@lists.wikimedia.org