Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 58: | Line 58: | ||
k+=2; | k+=2; | ||
if(k>=360){k=0}; | if(k>=360){k=0}; | ||
- | circle.style.transform="rotate("+ | + | circle.style.transform="rotate("+k+"deg)"; |
},10); | },10); | ||
}); | }); | ||
Line 76: | Line 76: | ||
else{k+=2;}; | else{k+=2;}; | ||
if(k==360){k=0}; | if(k==360){k=0}; | ||
- | circle.style.transform="rotate("+ | + | circle.style.transform="rotate("+k+"deg)"; |
},10); | },10); | ||
Line 95: | Line 95: | ||
k+=2; | k+=2; | ||
if(k>=360){k=0}; | if(k>=360){k=0}; | ||
- | circle.style.transform="rotate("+ | + | circle.style.transform="rotate("+k+"deg)"; |
},10); | },10); |
Revision as of 11:54, 1 September 2014