Template:Template ZJU-China 2010

From 2010.igem.org

(Difference between revisions)
Line 159: Line 159:
text-align:center;
text-align:center;
-
}
 
-
 
-
#menubar1 a:hover{
 
-
color:#339;
 
}
}
Line 275: Line 271:
function showDiv(divid, menuid){
function showDiv(divid, menuid){
-
document.getElementById('sheet1').style.display = "none";
+
document.getElementById('sheet1').style.display = "none";  
document.getElementById('menubar1').style.backgroundImage = "url(https://static.igem.org/mediawiki/2010/1/18/Zjuigem_119.jpg)";
document.getElementById('menubar1').style.backgroundImage = "url(https://static.igem.org/mediawiki/2010/1/18/Zjuigem_119.jpg)";
 +
document.getElementById('menubar1').style.color = #FFF;
document.getElementById('sheet2').style.display = "none";
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('menubar2').style.backgroundImage = "url(https://static.igem.org/mediawiki/2010/1/18/Zjuigem_119.jpg)";
Line 287: Line 284:
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)";
 +
document.getElementById(menuid).style.color = #339;
}
}

Revision as of 01:48, 25 October 2010