User:Macowell

From 2007.igem.org

(Difference between revisions)
m
(yay! got Austin's Toggle Extension working with our older version of mediawiki)
Line 41: Line 41:
</div>
</div>
-
The following should be hidable, someday...
+
It's finally hidable!  See Austin's [http://openwetware.org/wiki/OpenWetWare:Toggle Toggle Extension] page for examples!
-
{{hide|perhaps second time's the charm}}
+
{{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.}}

Revision as of 23:46, 28 August 2007

It's finally hidable! See Austin's [http://openwetware.org/wiki/OpenWetWare:Toggle Toggle Extension] page for examples!

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 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.