Template:BYU Provo
From 2011.igem.org
(Difference between revisions)
Cheddar3210 (Talk | contribs) |
Cheddar3210 (Talk | contribs) |
||
Line 32: | Line 32: | ||
</style> | </style> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | var leftMenu = document.getElementById('menubar').innerHTML; | ||
+ | document.getElementById('menubar').id = "menubar2"; | ||
+ | var rightMenu = document.getElementById('menubar').innerHTML; | ||
+ | |||
document.body.innerHTML = ""; | document.body.innerHTML = ""; | ||
document.body.style.padding = "10px"; | document.body.style.padding = "10px"; | ||
Line 38: | Line 42: | ||
setTimeout("document.getElementById('footer-box').style.width = '900px';", 100); | setTimeout("document.getElementById('footer-box').style.width = '900px';", 100); | ||
setTimeout("document.getElementById('footer-box').style.margin = '10px';", 100); | setTimeout("document.getElementById('footer-box').style.margin = '10px';", 100); | ||
+ | setTimeout("document.body.innerHTML = \"<div id=\'menubar\' class=\'left-menu noprint\'>\" + leftMenu + \"</div>\" + \"<div class=\'right-menu noprint\' id=\'menubar\'>\" + rightMenu + \"</div>\" + document.body.innerHTML;", 300); | ||
</script> | </script> | ||
Revision as of 20:20, 19 August 2011