Template:Biomod/2012/UTokyo/UT-Hongo/Begin: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 22: | Line 22: | ||
window.onload = function () { | window.onload = function () { | ||
var toc = document.getElementById('wiki-body').removeChild(document.getElementById('toc')); | var toc = document.getElementById('wiki-body').removeChild(document.getElementById('toc')); | ||
document.getElementById('wiki-toc').insertBefore(toc, document.getElementById("wiki- | document.getElementById('wiki-toc').insertBefore(toc, document.getElementById("wiki-toc").firstChild); | ||
document.getElementById('toctitle').removeChild(document.getElementById('toctitle').lastChild); | document.getElementById('toctitle').removeChild(document.getElementById('toctitle').lastChild); | ||
} | } | ||
Revision as of 11:37, 22 October 2012
<html>
<style>
ul.menu li.</html>{{{pagetype}}}<html> a {
color: cyan;
}
- wiki-toc {
width: 200px; margin-top: 6px; float: left;
}
- wiki-body {
margin-left: 200px; padding-left: 12px;
}
</style>
<script type="text/javascript">
window.onload = function () {
var toc = document.getElementById('wiki-body').removeChild(document.getElementById('toc'));
document.getElementById('wiki-toc').insertBefore(toc, document.getElementById("wiki-toc").firstChild);
document.getElementById('toctitle').removeChild(document.getElementById('toctitle').lastChild);
}
</script>
<html>
<html>
<a href="http://openwetware.org/index.php?title=Biomod/2012/UTokyo/UT-Hongo/</html>{{{pagename}}}<html>&action=edit">edit this page</a>
</html>