Template:CSS/UT-Tokyo

From 2014.igem.org

(Difference between revisions)
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 = "200px";
+
document.getElementById(str).style.top = "280px";
-
document.getElementById(str).style.left = "50%";
+
document.getElementById(str).style.right = "50%";
-
document.getElementById(str).style.paddingRight = "50px";
+
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 = "300px";
+
document.getElementById(str).style.top = "580px";
-
document.getElementById(str).style.left = "50%";
+
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 = "250px";
+
document.getElementById(str).style.top = "350px";
document.getElementById(str).style.left = "50%";
document.getElementById(str).style.left = "50%";
-
document.getElementById(str).style.paddingLeft = "50px";
+
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 = "200px";
+
document.getElementById(str).style.top = "270px";
document.getElementById(str).style.left = "50%";
document.getElementById(str).style.left = "50%";
-
document.getElementById(str).style.paddingLeft = "100px";
+
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 = "300px";
+
document.getElementById(str).style.top = "50px";
document.getElementById(str).style.left = "50%";
document.getElementById(str).style.left = "50%";
-
document.getElementById(str).style.paddingLeft = "150px";
+
document.getElementById(str).style.paddingLeft = "350px";
}
}
</script>
</script>

Revision as of 13:23, 13 September 2014