Talk:Emoji/Table

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

jquery.floatThead

[edit]

A solution keeping the table header in the view like this http://mkoryak.github.io/floatThead/ would be useful here. Well, this may be useful more widely in long tables on Wikipedia as well. You can search for more implementations on the web. I have not researched fully which is best, which is most backwards compatible or what is Commons policy on jQuery. Would it be possible to deploy it on Commons or should I just create a Greasemonkey addon for myself? — Preceding unsigned comment was added by 83.31.136.27 (talk) 19:12, 15 June 2020 (UTC)[reply]

As a quick hack I am running something like javascript:var theadtr=document.querySelector('table>tbody>tr');theadtr.style.position='fixed';theadtr.style.left='201px';theadtr.style.top='0';void(0); in the browser URI bar. — Preceding unsigned comment was added by 83.31.136.27 (talk) 19:36, 15 June 2020 (UTC)[reply]