Template:CSS/UT-Tokyo

From 2014.igem.org

(Difference between revisions)
Line 405: Line 405:
}
}
var rand3 = Math.floor(Math.random()*9)+1;
var rand3 = Math.floor(Math.random()*9)+1;
-
if(rand3 != rand1 && rand3 != rand2){
 
-
var str = "circle0" + rand;
 
-
document.getElementById(str).style.visibility = "visible";
 
-
document.getElementById(str).style.top = "350px";
 
-
document.getElementById(str).style.left = "50%";
 
-
document.getElementById(str).style.marginLeft = "-30px";
 
-
}
 
var rand4 = Math.floor(Math.random()*9)+1;
var rand4 = Math.floor(Math.random()*9)+1;
if(rand4 != rand1 && rand4 != rand2 && rand4 != rand3){
if(rand4 != rand1 && rand4 != rand2 && rand4 != rand3){

Revision as of 14:34, 13 September 2014