User:Macowell
From 2007.igem.org
(Difference between revisions)
m |
m |
||
Line 68: | Line 68: | ||
{{hide|Yay! Got Austin's [http://openwetware.org/wiki/OpenWetWare:Toggle Toggle Extension] working on our old version of mediawiki! I imported several javascript functions from the openwetware's [http://openwetware.org/skins/common/wikibits.js wikibits.js] into iGEM07's [[MediaWiki:Monobook.js]] file, allowing javascript in [[MediaWiki:Monobook.js]] (above the last couple of lines) to register an Onload Hook in the manner I presume is standard for more recent mediawiki versions. I didn't mess with our [https://2007.igem.org/wiki/skins/common/wikibits.js wikibits.js] file. | {{hide|Yay! Got Austin's [http://openwetware.org/wiki/OpenWetWare:Toggle Toggle Extension] working on our old version of mediawiki! I imported several javascript functions from the openwetware's [http://openwetware.org/skins/common/wikibits.js wikibits.js] into iGEM07's [[MediaWiki:Monobook.js]] file, allowing javascript in [[MediaWiki:Monobook.js]] (above the last couple of lines) to register an Onload Hook in the manner I presume is standard for more recent mediawiki versions. I didn't mess with our [https://2007.igem.org/wiki/skins/common/wikibits.js wikibits.js] file. | ||
'''note:''' based on a look at any page's source, it appears that the [MediaWiki:Monobook.js]] file is being loaded before the [https://2007.igem.org/wiki/skins/common/wikibits.js wikibits.js] file - this is probably wrong.}} | '''note:''' based on a look at any page's source, it appears that the [MediaWiki:Monobook.js]] file is being loaded before the [https://2007.igem.org/wiki/skins/common/wikibits.js wikibits.js] file - this is probably wrong.}} | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Revision as of 21:59, 22 October 2007
Styling Mediawiki with CSS - tips on how to use your own css and javascript files to modify how your pages looks to everyone
description of project description
It's finally hidable! See Austin's Toggle Extension page for examples!
Yay! Got Austin's Toggle Extension working on our old version of mediawiki! I imported several javascript functions from the openwetware's wikibits.js into iGEM07's MediaWiki:Monobook.js file, allowing javascript in MediaWiki:Monobook.js (above the last couple of lines) to register an Onload Hook in the manner I presume is standard for more recent mediawiki versions. I didn't mess with our wikibits.js file.
note: based on a look at any page's source, it appears that the [MediaWiki:Monobook.js]] file is being loaded before the wikibits.js file - this is probably wrong.