Gifu/rensyuu

From 2014.igem.org

(Difference between revisions)
(Undo revision 406909 by Fukufuku (talk))
 
(80 intermediate revisions not shown)
Line 39: Line 39:
></img></a>
></img></a>
-
<img id="fukidasi1" src="https://static.igem.org/mediawiki/2014/9/9b/CmRNA_moji2.png" usemap="#projectjump"></img>
 
-
<img id="fukidasi2" src="https://static.igem.org/mediawiki/2014/5/5b/Note_moji2.png" usemap="#notejump"></img>
 
-
<img id="fukidasi3" src="https://static.igem.org/mediawiki/2014/4/40/Gifu_result_balloon.png" usemap="#resultjump"></img>
 
-
<img id="fukidasi4" src="https://static.igem.org/mediawiki/2014/7/71/Gifu_more_balloon.png" usemap="#morejump"></img>
 
-
<img id="fukidasi5" src="https://static.igem.org/mediawiki/2014/c/ce/Team_moji2.png" usemap="#teamjump" ></img>
 
-
<map name="projectjump">
 
-
<area href="https://2014.igem.org/Team:Gifu/Projects/Circular%26RNA" shape="rect" coords="94,136,320,271" alt="project">
 
-
</map>
 
-
<map name="notejump">
 
-
<area href="https://2014.igem.org/Team:Gifu/Protocol" shape="rect" coords="41,64,169,88" alt="protocols">
 
-
<area href="https://2014.igem.org/Team:Gifu/Notebook" shape="rect" coords="40,162,152,188" alt="calender">
 
-
</map>
 
-
<map name="resultjump">
 
-
<area href="https://2014.igem.org/Team:Gifu/Parts" shape="rect" coords="70,78,137,99" alt="parts">
 
-
<area href="https://2014.igem.org/Team:Gifu/Modeling" shape="rect" coords="86,126,196,146" alt="modeling">
 
-
</map>
 
-
<map name="morejump">
 
-
<area href="https://2014.igem.org/Gifu/discussion-safety" shape="rect" coords="126,45,208,66" alt="safety">
 
-
<area href="https://2014.igem.org/Team:Gifu/Judging_Form" shape="rect" coords="22,102,191,127" alt="judging form">
 
-
<area href="https://2014.igem.org/Team:Gifu/Human_Practice" shape="rect" coords="29,106,258,181" alt="Policy&amp; Practice">
 
-
</map>
 
-
<map name="teamjump">
 
-
<area href="https://2014.igem.org/Team:Gifu/Members%26Attributions" shape="rect" coords="65,51,267,99" alt="official">
 
-
<area href="https://2014.igem.org/Gifu/official_team_profile" shape="rect" coords="62,127,261,174" alt="member">
 
-
</map>
 
-
 
-
<img id="stopme" src="https://static.igem.org/mediawiki/2014/5/53/Pleasestopme.png"></img>
 
<div id="point"><p id="rib"></p>
<div id="point"><p id="rib"></p>
Line 73: Line 46:
<script type="text/javascript">
<script type="text/javascript">
<!--
<!--
-
var r=280;
+
var r=100;
-
var rad=0;
+
var rad=180;
var x;
var x;
var y;
var y;
var circle =document.getElementById("point") ;
var circle =document.getElementById("point") ;
var k=90;
var k=90;
-
var m;
+
var l;
-
var w;
+
var m=1;
-
var t;
+
var n=2;
-
function spin(){
+
function spinright(){
AAA=setInterval(function(){
AAA=setInterval(function(){
-
 
+
if(m==1){
-
if(rad==360){rad=0;}
+
r=200;
 +
if(rad==540){rad=0; m=0;}
else{rad+=2};
else{rad+=2};
x=r*Math.cos(Math.PI/180*rad);
x=r*Math.cos(Math.PI/180*rad);
Line 93: Line 67:
circle.style.left=x+390+"px";
circle.style.left=x+390+"px";
-
k+=2;
+
 
-
if(rad==360){k=90};
+
k+=1;
 +
 
circle.style.transform="rotate("+k+"deg)";
circle.style.transform="rotate("+k+"deg)";
 +
}
},7);
},7);
};
};
-
function catching(){
+
function spinleft(){
BBB=setInterval(function(){
BBB=setInterval(function(){
-
rad+=2;
+
if(m==0){
-
if(rad==m){rad-=2,k-=2};
+
r=100;
-
if(rad==360){rad=0};
+
if(rad==-360){rad=180; m=1;}
 +
else{rad-=2};
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+180+"px";
circle.style.top=y+180+"px";
-
circle.style.left=x+390+"px";
+
circle.style.left=x+120+"px";
 +
 
-
if(rad==m){k-=2;}
+
k-=2;
-
else{k+=2;};
+
if(rad==360){k=90};
if(rad==360){k=90};
circle.style.transform="rotate("+k+"deg)";
circle.style.transform="rotate("+k+"deg)";
 +
}
},7);
},7);
};
};
-
function stopmove1(){
 
-
clearInterval(AAA);
 
-
m=270;
 
-
catching();
 
-
};
 
-
function stopmove2(){
 
-
clearInterval(AAA);
 
-
m=342;
 
-
catching();
 
-
};
 
-
function stopmove3(){
+
$(document).ready(function () {
-
clearInterval(AAA);
+
spinright()
-
m=54;
+
-
catching();
+
-
};
+
-
 
+
-
function stopmove4(){
+
-
clearInterval(AAA);
+
-
m=126;
+
-
catching();
+
-
};
+
-
 
+
-
function stopmove5(){
+
-
clearInterval(AAA);
+
-
m=198;
+
-
catching();
+
-
};
+
-
 
+
-
function startmove(){
+
-
clearInterval(BBB);
+
-
spin();
+
-
};
+
-
 
+
-
 
+
-
function sakujo(){
+
-
setTimeout(function(){
+
-
$("#rib").css("visibility","hidden");
+
-
},3000);
+
-
};
+
-
 
+
-
$(function(){
+
-
$("#menu1").mouseover(
+
-
  function(){
+
-
  $("#stopme").css("visibility","hidden")
+
-
  $("#fukidasi1").css("visibility","visible")
+
-
  $("#fukidasi2").css("visibility","hidden")
+
-
  $("#fukidasi3").css("visibility","hidden")
+
-
  $("#fukidasi4").css("visibility","hidden")
+
-
  $("#fukidasi5").css("visibility","hidden")
+
});
});
-
}); 
+
$(document).ready(function () {
-
 
+
spinleft()
-
$(function(){
+
-
$("#menu2").mouseover(
+
-
  function(){
+
-
  $("#stopme").css("visibility","hidden")
+
-
  $("#fukidasi2").css("visibility","visible")
+
-
  $("#fukidasi1").css("visibility","hidden")
+
-
  $("#fukidasi3").css("visibility","hidden")
+
-
  $("#fukidasi4").css("visibility","hidden")
+
-
  $("#fukidasi5").css("visibility","hidden")
+
});
});
-
}); 
 
-
 
 
-
$(function(){
 
-
$("#menu3").mouseover(
 
-
  function(){
 
-
  $("#stopme").css("visibility","hidden")
 
-
  $("#fukidasi3").css("visibility","visible")
 
-
  $("#fukidasi1").css("visibility","hidden")
 
-
  $("#fukidasi2").css("visibility","hidden")
 
-
  $("#fukidasi4").css("visibility","hidden")
 
-
  $("#fukidasi5").css("visibility","hidden")
 
-
});
 
-
}); 
 
-
$(function(){
 
-
$("#menu4").mouseover(
 
-
  function(){
 
-
  $("#stopme").css("visibility","hidden")
 
-
  $("#fukidasi4").css("visibility","visible")
 
-
  $("#fukidasi1").css("visibility","hidden")
 
-
  $("#fukidasi2").css("visibility","hidden")
 
-
  $("#fukidasi3").css("visibility","hidden")
 
-
  $("#fukidasi5").css("visibility","hidden")
 
-
});
 
-
}); 
 
-
 
-
$(function(){
 
-
$("#menu5").mouseover(
 
-
  function(){
 
-
  $("#stopme").css("visibility","hidden")
 
-
  $("#fukidasi5").css("visibility","visible")
 
-
  $("#fukidasi1").css("visibility","hidden")
 
-
  $("#fukidasi2").css("visibility","hidden")
 
-
  $("#fukidasi3").css("visibility","hidden")
 
-
  $("#fukidasi4").css("visibility","hidden")
 
-
});
 
-
}); 
 
-
 
-
$(function(){
 
-
$("#rail").mouseout(
 
-
  function(){
 
-
  $("#stopme").css("visibility","visible")
 
-
  $("#fukidasi1").css("visibility","hidden")
 
-
  $("#fukidasi2").css("visibility","hidden")
 
-
  $("#fukidasi3").css("visibility","hidden")
 
-
  $("#fukidasi4").css("visibility","hidden")
 
-
  $("#fukidasi5").css("visibility","hidden")
 
-
});
 
-
});
 
-
 
-
 
-
$(document).ready(function () {
 
-
spin()
 
-
});
 

Latest revision as of 10:39, 9 September 2015

factory1