Template:CSS/UT-Tokyo
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 378: | Line 378: | ||
document.getElementById(str).style.top = "200px"; | document.getElementById(str).style.top = "200px"; | ||
document.getElementById(str).style.left = "50%"; | document.getElementById(str).style.left = "50%"; | ||
- | document.getElementById(str).style. | + | document.getElementById(str).style.paddingRight = "50px"; |
var rand = Math.floor(Math.random()*9)+1; | var rand = Math.floor(Math.random()*9)+1; | ||
var str = "circle0" + rand; | var str = "circle0" + rand; | ||
Line 384: | Line 384: | ||
document.getElementById(str).style.top = "300px"; | document.getElementById(str).style.top = "300px"; | ||
document.getElementById(str).style.left = "50%"; | document.getElementById(str).style.left = "50%"; | ||
- | document.getElementById(str).style. | + | document.getElementById(str).style.paddingRight = "100px"; |
var rand = Math.floor(Math.random()*9)+1; | var rand = Math.floor(Math.random()*9)+1; | ||
var str = "circle0" + rand; | var str = "circle0" + rand; | ||
Line 390: | Line 390: | ||
document.getElementById(str).style.top = "250px"; | document.getElementById(str).style.top = "250px"; | ||
document.getElementById(str).style.left = "50%"; | document.getElementById(str).style.left = "50%"; | ||
- | document.getElementById(str).style. | + | document.getElementById(str).style.paddingLeft = "50px"; |
var rand = Math.floor(Math.random()*9)+1; | var rand = Math.floor(Math.random()*9)+1; | ||
var str = "circle0" + rand; | var str = "circle0" + rand; | ||
Line 396: | Line 396: | ||
document.getElementById(str).style.top = "200px"; | document.getElementById(str).style.top = "200px"; | ||
document.getElementById(str).style.left = "50%"; | document.getElementById(str).style.left = "50%"; | ||
- | document.getElementById(str).style. | + | document.getElementById(str).style.paddingLeft = "100px"; |
var rand = Math.floor(Math.random()*9)+1; | var rand = Math.floor(Math.random()*9)+1; | ||
var str = "circle0" + rand; | var str = "circle0" + rand; | ||
Line 402: | Line 402: | ||
document.getElementById(str).style.top = "300px"; | document.getElementById(str).style.top = "300px"; | ||
document.getElementById(str).style.left = "50%"; | document.getElementById(str).style.left = "50%"; | ||
- | document.getElementById(str).style. | + | document.getElementById(str).style.paddingLeft = "150px"; |
} | } | ||
</script> | </script> |
Revision as of 13:15, 13 September 2014