Template:Iitm/clickhiding

From 2010.igem.org

(Difference between revisions)
Line 29: Line 29:
if (document.getElementById){  
if (document.getElementById){  
obj = document.getElementById(id);  
obj = document.getElementById(id);  
-
obj.style.visibility = "visible";  
+
obj.style.display = "";  
}  
}  
}
}
Line 35: Line 35:
if (document.getElementById){  
if (document.getElementById){  
obj = document.getElementById(id);  
obj = document.getElementById(id);  
-
obj.style.visibility = "hidden";  
+
obj.style.display = "none";  
}  
}  
}
}

Revision as of 21:38, 27 October 2010

clickhiding>