Template:CSS/UT-Tokyo
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 409: | Line 409: | ||
var str = "circle0" + rand3; | var str = "circle0" + rand3; | ||
document.getElementById(str).style.visibility = "visible"; | document.getElementById(str).style.visibility = "visible"; | ||
- | document.getElementById(str).style.top = " | + | document.getElementById(str).style.top = "320px"; |
document.getElementById(str).style.left = "50%"; | document.getElementById(str).style.left = "50%"; | ||
document.getElementById(str).style.marginLeft = "-30px"; | document.getElementById(str).style.marginLeft = "-30px"; | ||
Line 442: | Line 442: | ||
var str = "circle0" + rand6; | var str = "circle0" + rand6; | ||
document.getElementById(str).style.visibility = "visible"; | document.getElementById(str).style.visibility = "visible"; | ||
- | document.getElementById(str).style.top = " | + | document.getElementById(str).style.top = "440px"; |
document.getElementById(str).style.left = "50%"; | document.getElementById(str).style.left = "50%"; | ||
- | document.getElementById(str).style. | + | document.getElementById(str).style.marginLeft = "-120px"; |
}}}}} | }}}}} | ||
var rand7 = Math.floor(Math.random()*9)+1; | var rand7 = Math.floor(Math.random()*9)+1; |
Revision as of 14:41, 13 September 2014