Team:Gifu

From 2014.igem.org

(Difference between revisions)
Line 44: Line 44:
$(document).ready(function () {
$(document).ready(function () {
-
kurukuru=setInterval(function(){
+
setInterval(function(){
rad+=1;
rad+=1;
-
if(rad>=360){rad-=0};
+
if(rad>=360){rad=0};
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(){
-
clearinterval(kurukuru)
+
if(rad>=360){rad-=1}
});
});

Revision as of 08:55, 31 August 2014

factory1