Template:CSS/UT-Tokyo

From 2014.igem.org

(Difference between revisions)
Line 366: Line 366:
visibility:hidden;
visibility:hidden;
width:100px;
width:100px;
 +
position:absolute;
}
}
Line 375: Line 376:
var str = "circle0" + rand;
var str = "circle0" + rand;
document.getElementById(str).style.visibility = "visible";
document.getElementById(str).style.visibility = "visible";
 +
document.getElementById(str).style.top = "200px";
 +
document.getElementById(str).style.left = "50%";
 +
document.getElementById(str).style.padding-right = "50px";
 +
var rand = Math.floor(Math.random()*9)+1;
 +
var str = "circle0" + rand;
 +
document.getElementById(str).style.visibility = "visible";
 +
document.getElementById(str).style.top = "300px";
 +
document.getElementById(str).style.left = "50%";
 +
document.getElementById(str).style.padding-right = "100px";
 +
var rand = Math.floor(Math.random()*9)+1;
 +
var str = "circle0" + rand;
 +
document.getElementById(str).style.visibility = "visible";
 +
document.getElementById(str).style.top = "250px";
 +
document.getElementById(str).style.left = "50%";
 +
document.getElementById(str).style.padding-left = "50px";
 +
var rand = Math.floor(Math.random()*9)+1;
 +
var str = "circle0" + rand;
 +
document.getElementById(str).style.visibility = "visible";
 +
document.getElementById(str).style.top = "200px";
 +
document.getElementById(str).style.left = "50%";
 +
document.getElementById(str).style.padding-left = "100px";
 +
var rand = Math.floor(Math.random()*9)+1;
 +
var str = "circle0" + rand;
 +
document.getElementById(str).style.visibility = "visible";
 +
document.getElementById(str).style.top = "300px";
 +
document.getElementById(str).style.left = "50%";
 +
document.getElementById(str).style.padding-left = "150px";
}
}
</script>
</script>

Revision as of 13:12, 13 September 2014