Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 123: | Line 123: | ||
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+140+"px"; |
- | circle.style.left=x+ | + | circle.style.left=x+140+"px"; |
k+=2; | k+=2; | ||
Line 139: | Line 139: | ||
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+140+"px"; |
- | circle.style.left=x+ | + | circle.style.left=x+140+"px"; |
if(rad==m){k-=2;} | if(rad==m){k-=2;} |
Revision as of 02:21, 4 September 2014