Template:Iitm/clickhiding

From 2010.igem.org

(Difference between revisions)
Line 14: Line 14:
else // IE 4  
else // IE 4  
document.all.divs[i].visibility = 'visible';  
document.all.divs[i].visibility = 'visible';  
-
} if(divs[i].id.match([0-9])){  
+
} if(divs[i].id.match('\d')){  
if (document.getElementById)  
if (document.getElementById)  
divs[i].style.visibility="hidden";  
divs[i].style.visibility="hidden";  

Revision as of 21:10, 27 October 2010

clickhiding>