Difference between revisions of "Team:Gifu/training"

(Undo revision 261060 by Fukufuku (talk))
 
(184 intermediate revisions by the same user not shown)
Line 58: Line 58:
 
</p>
 
</p>
  
 +
<div id="main">
 +
<img src="https://static.igem.org/mediawiki/2015/f/fe/Logo_b1_.png" width="800" height="236" vspace="10" hspace="40"></img>
 +
</div>
 +
<div id=base">
  
 
<div id="point1"><p id="rib"></p>
 
<div id="point1"><p id="rib"></p>
<img id="ribosome" src="https://static.igem.org/mediawiki/2014/5/5f/Gifu_ribosome_renew.png"></img>
 
</div>
 
<div id="point2"><p id="rib"></p>
 
 
<img id="ribosome" src="https://static.igem.org/mediawiki/2014/5/5f/Gifu_ribosome_renew.png"></img>
 
<img id="ribosome" src="https://static.igem.org/mediawiki/2014/5/5f/Gifu_ribosome_renew.png"></img>
 
</div>
 
</div>
Line 68: Line 69:
 
<script type="text/javascript">
 
<script type="text/javascript">
 
<!--
 
<!--
var r=200;
+
var r;
var rr=100;
+
var l=140;
var rad=270;
+
var rad=0;
var radd=0;
+
var radl=360;
 
var x;
 
var x;
var xx;
+
var xl;
 
var y;
 
var y;
var yy;
+
var yl;
var k=180;
+
var kl=270;
var kk=180;
+
var k=90;
 
var m=1;
 
var m=1;
var n=2;
+
var n=0;
 +
var circle = document.getElementById("point1");
 +
var circlel = document.getElementById("point2");
 +
var t=0;
 +
var tt=0;
 +
var ttt=0;
  
function spinright(){
+
 
 +
function spinright(r){
 
AAA=setInterval(function(){
 
AAA=setInterval(function(){
if(rad==540){rad=0; k=90;
+
if(rad==360){rad=0;}
}
+
 
else{rad+=2};
 
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);
document.getElementById("point1").style.top=y+380+"px";
+
circle.style.top=y+410+"px";
document.getElementById("point1").style.left=x+500+"px";
+
circle.style.left=x+380+"px";
 
+
  
 
k+=2;
 
k+=2;
 
+
if(rad==360){k=90};
document.getElementById("point1").style.transform="rotate("+k+"deg)";
+
circle.style.transform="rotate("+k+"deg)";
}
+
 
},7);
 
},7);
 
};
 
};
  
function spinleft(){
 
BBB=setInterval(function(){
 
if(radd==-360){radd=180;  kk=270;
 
  
else{radd-=2};
 
xx=r*Math.cos(Math.PI/180*radd);
 
yy=r*Math.sin(Math.PI/180*radd);
 
document.getElementById("point2").style.top=yy+380+"px";
 
document.getElementById("point2").style.left=xx+230+"px";
 
  
  
kk-=2;
+
$(document).ready(function () {
 +
spinright(280)
 +
});
  
document.getElementById("point2").style.transform="rotate("+kk+"deg)";
 
  
}
 
},7);
 
};
 
  
function kirikae(){
 
if(m==1){
 
document.getElementById("point1").style.visibility="hidden";
 
document.getElementById("point2").style.visibility="visible";
 
}
 
else{
 
document.getElementById("point1").style.visibility="hidden";
 
document.getElementById("point2").style.visibility="hidden";
 
}
 
if(m==0){
 
document.getElementById("point1").style.visibility="visible";
 
document.getElementById("point2").style.visibility="hidden";
 
}
 
else{
 
document.getElementById("point1").style.visibility="hidden";
 
document.getElementById("point2").style.visibility="hidden";
 
}
 
};
 
 
$(document).ready(function () {
 
spinright()
 
});
 
$(document).ready(function () {
 
spinleft()
 
});
 
  
 
//-->  
 
//-->  

Latest revision as of 17:28, 18 September 2015

https://static.igem.org/mediawiki/2015/d/d8/Logo_HOME.png https://static.igem.org/mediawiki/2015/a/a4/Logo_PROJECT.png https://static.igem.org/mediawiki/2015/archive/b/b9/20150720104417%21Logo_TEAM.png https://static.igem.org/mediawiki/2015/8/86/Logo_NOTE.png https://static.igem.org/mediawiki/2015/8/87/Logo_RESULT.png https://static.igem.org/mediawiki/2015/2/28/Logo_MORE.png

Circular mRNA approaches infinity by obtaining a link.