Gifu/rensyuu

From 2014.igem.org

(Difference between revisions)
(Undo revision 406909 by Fukufuku (talk))
 
(69 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 spinright(){
function spinright(){
AAA=setInterval(function(){
AAA=setInterval(function(){
-
 
+
if(m==1){
-
if(rad==360){rad=0;}
+
r=200;
-
else{rad-=2};
+
if(rad==540){rad=0; m=0;}
 +
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);
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 spinleft(){
function spinleft(){
-
BBB=setINterval(function(){
+
BBB=setInterval(function(){
-
 
+
if(m==0){
-
if(rad==0){rad=360;}
+
r=100;
-
else{rad+=-2};
+
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";
 +
 
k-=2;
k-=2;
-
if(rad==0){k=90};
+
if(rad==360){k=90};
circle.style.transform="rotate("+k+"deg)";
circle.style.transform="rotate("+k+"deg)";
 +
 +
}
},7);
},7);
};
};
 +
 +
$(document).ready(function () {
$(document).ready(function () {
spinright()
spinright()
});
});
 +
$(document).ready(function () {
 +
spinleft()
 +
});
 +

Latest revision as of 10:39, 9 September 2015

factory1