Template:Template ZJU-China 2010

From 2010.igem.org

(Difference between revisions)
Line 277: Line 277:
document.getElementById(divid).style.display = "block";
document.getElementById(divid).style.display = "block";
document.getElementById(menuid).style.backgroundImage = "url(https://static.igem.org/mediawiki/2010/a/a7/Zjuigem_myupdate_03.jpg)";
document.getElementById(menuid).style.backgroundImage = "url(https://static.igem.org/mediawiki/2010/a/a7/Zjuigem_myupdate_03.jpg)";
-
 
}
}
 +
 +
function showDiv1(){
 +
 +
document.getElementById('sheet1').style.display = "none";
 +
document.getElementById('menubar1').style.backgroundImage = "url(https://static.igem.org/mediawiki/2010/a/a7/Zjuigem_myupdate_03.jpg)";
 +
document.getElementById('sheet2').style.display = "none";
 +
document.getElementById('menubar2').style.backgroundImage = "url(https://static.igem.org/mediawiki/2010/1/18/Zjuigem_119.jpg)";
 +
document.getElementById('sheet3').style.display = "none";
 +
document.getElementById('menubar3').style.backgroundImage = "url(https://static.igem.org/mediawiki/2010/1/18/Zjuigem_119.jpg)";
 +
document.getElementById('sheet4').style.display = "none";
 +
document.getElementById('menubar4').style.backgroundImage = "url(https://static.igem.org/mediawiki/2010/1/18/Zjuigem_119.jpg)";
 +
document.getElementById('sheet5').style.display = "none";
 +
document.getElementById('menubar5').style.backgroundImage = "url(https://static.igem.org/mediawiki/2010/1/18/Zjuigem_119.jpg)";
 +
}
function hackIGEM(){
function hackIGEM(){
Line 305: Line 318:
     <div id="menubar0">
     <div id="menubar0">
             <div id="menubar1">
             <div id="menubar1">
-
             <a href="https://2010.igem.org/Team:ZJU-China" title="Home" onMouseOver="showDiv('sheet1', 'menubar1')">Home</a>
+
             <a href="https://2010.igem.org/Team:ZJU-China" title="Home" onMouseOver="showDiv1()">Home</a>
-
                 <!--<div id="sheet1">
+
                 <div id="sheet1">
-
                     </div>-->
+
                     </div>
             </div>
             </div>
             <div id="menubar2">
             <div id="menubar2">

Revision as of 01:07, 25 October 2010