Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 108: | Line 108: | ||
x=r*Math.cos(Math.PI/180*rad); | x=r*Math.cos(Math.PI/180*rad); | ||
y=r*Math.sin(Math.PI/180*rad); | y=r*Math.sin(Math.PI/180*rad); | ||
- | circle.style.top=y+ | + | circle.style.top=y+190+"px"; |
- | circle.style.left=x+ | + | circle.style.left=x+190+"px"; |
k+=2; | k+=2; | ||
Line 124: | Line 124: | ||
x=r*Math.cos(Math.PI/180*rad); | x=r*Math.cos(Math.PI/180*rad); | ||
y=r*Math.sin(Math.PI/180*rad); | y=r*Math.sin(Math.PI/180*rad); | ||
- | circle.style.top=y+ | + | circle.style.top=y+190+"px"; |
- | circle.style.left=x+ | + | circle.style.left=x+190+"px"; |
if(rad==m){k-=2;} | if(rad==m){k-=2;} |
Revision as of 02:53, 3 September 2014