[jquery.footHovzer] new plugin for mw-log-console and mw-debug-toolbar
authorKrinkle <krinkle@users.mediawiki.org>
Wed, 4 Jan 2012 01:28:01 +0000 (01:28 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Wed, 4 Jan 2012 01:28:01 +0000 (01:28 +0000)
commit2bed75d951ce77dd22ebf8059fad3f173c856c0b
tree4576499b7c8cc3be5e25cc6b2ff68dd39aeb0610
parenta3fb088ceba427bfe7d4029d39fdfeb7e20d8459
[jquery.footHovzer] new plugin for mw-log-console and mw-debug-toolbar
* Previously mw.log and mw.Debug both were in a fixed container on the bottom, overlapping each other. mw.log did increase the body's padding-bottom to account for the height so that all content is still visible, but it was still a problem when mw.Debug came along.
* This plugin adds a single fixed position element to bottom of the body, to which other stuff like mw.log and mw.Debug can append a non-fixed position container. That will take care of it.
* Method update() will re-check the padding and scroll position and fix where needed
* Reduces code a little bit
resources/Resources.php
resources/jquery/jquery.footHovzer.css [new file with mode: 0644]
resources/jquery/jquery.footHovzer.js [new file with mode: 0644]
resources/mediawiki/mediawiki.debug.css
resources/mediawiki/mediawiki.debug.js
resources/mediawiki/mediawiki.log.js