Team:Davidson-MissouriW/Team/Pictures
From 2010.igem.org
(Difference between revisions)
(New page: {{Template_Wiki}} <html><body id="team" onload="setPageSize()"> </body></html>) |
|||
Line 1: | Line 1: | ||
{{Template_Wiki}} | {{Template_Wiki}} | ||
<html><body id="team" onload="setPageSize()"> | <html><body id="team" onload="setPageSize()"> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | |||
+ | function setPageSize() { | ||
+ | len = document.getElementById('super_main_wrapper').offsetHeight; | ||
+ | document.getElementById('bodyContent').style.height = len + 'px'; | ||
+ | document.getElementById('SupWrapper').style.height = len + 'px'; | ||
+ | document.getElementById('news').style.height = len + 'px'; | ||
+ | } | ||
+ | |||
+ | function show(id){ | ||
+ | el=document.getElementById(curr); | ||
+ | curr = curr+id; | ||
+ | el2=document.getElementById(curr); | ||
+ | |||
+ | if(el.style.display == 'none'){ | ||
+ | el.style.display = 'block'; | ||
+ | window.location.hash="Students"; | ||
+ | } | ||
+ | else | ||
+ | el.style.display='none'; | ||
+ | if(el2.style.display == 'none'){ | ||
+ | el2.style.display = 'block'; | ||
+ | //window.location.hash="row2"; | ||
+ | } | ||
+ | else | ||
+ | el2.style.display='none'; | ||
+ | } | ||
+ | </script> | ||
</body></html> | </body></html> |
Revision as of 18:56, 26 October 2010