Template:CSS/UT-Tokyo
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 376: | 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 = " | + | document.getElementById(str).style.top = "280px"; |
- | document.getElementById(str).style. | + | document.getElementById(str).style.right = "50%"; |
- | document.getElementById(str).style.paddingRight = " | + | document.getElementById(str).style.paddingRight = "380px"; |
var rand = Math.floor(Math.random()*9)+1; | var rand = Math.floor(Math.random()*9)+1; | ||
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 = " | + | document.getElementById(str).style.top = "580px"; |
- | document.getElementById(str).style. | + | document.getElementById(str).style.right = "50%"; |
document.getElementById(str).style.paddingRight = "100px"; | 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; | ||
document.getElementById(str).style.visibility = "visible"; | document.getElementById(str).style.visibility = "visible"; | ||
- | document.getElementById(str).style.top = " | + | document.getElementById(str).style.top = "350px"; |
document.getElementById(str).style.left = "50%"; | document.getElementById(str).style.left = "50%"; | ||
- | document.getElementById(str).style.paddingLeft = " | + | document.getElementById(str).style.paddingLeft = "0px"; |
var rand = Math.floor(Math.random()*9)+1; | var rand = Math.floor(Math.random()*9)+1; | ||
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 = " | + | document.getElementById(str).style.top = "270px"; |
document.getElementById(str).style.left = "50%"; | document.getElementById(str).style.left = "50%"; | ||
- | document.getElementById(str).style.paddingLeft = " | + | document.getElementById(str).style.paddingLeft = "400px"; |
var rand = Math.floor(Math.random()*9)+1; | var rand = Math.floor(Math.random()*9)+1; | ||
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 = " | + | document.getElementById(str).style.top = "50px"; |
document.getElementById(str).style.left = "50%"; | document.getElementById(str).style.left = "50%"; | ||
- | document.getElementById(str).style.paddingLeft = " | + | document.getElementById(str).style.paddingLeft = "350px"; |
} | } | ||
</script> | </script> |
Revision as of 13:23, 13 September 2014