Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 47: | Line 47: | ||
rad+=1; | rad+=1; | ||
- | if(rad>=360){rad-= | + | if(rad>=360){rad-=1}; |
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); | ||
Line 60: | Line 60: | ||
$(".menu1").mouseover(function(){ | $(".menu1").mouseover(function(){ | ||
- | if(rad>=360){rad | + | if(rad>=360){rad=0} |
}); | }); | ||
Revision as of 08:57, 31 August 2014