Team:UT-Tokyo/Template/LabNote

From 2012.igem.org

(Difference between revisions)
m
m
 
(6 intermediate revisions not shown)
Line 3: Line 3:
</p>
</p>
<style type="text/css">
<style type="text/css">
-
.LabNote h3 a{
+
 
 +
#bodyContent .LabNote h3 a{
color:#224488;}
color:#224488;}
-
.LabNote h3:hover, .LabNote h3:active{
+
#bodyContent .LabNote h3:hover, #bodyContent .LabNote h3:active{
-
color:#224488;
+
color:#448822;
border-color:#eeee66;}
border-color:#eeee66;}
 +
#bodyContent .LabNote div.Weeks{
 +
display:none;
 +
margin-left:20px;}
</style>
</style>
Line 15: Line 19:
function ShowNote( boxid ) {
function ShowNote( boxid ) {
   var target = document.getElementById(boxid);
   var target = document.getElementById(boxid);
-
   if( target.style.display != "none" ) {
+
   if( target.style.display != "block" ) {
-
       target.style.display = "none";
+
       target.style.display = "block";
   }
   }
   else{
   else{
-
       target.style.display = "block";
+
       target.style.display = "none";
   }
   }
}
}

Latest revision as of 15:15, 25 September 2012