Difference between revisions of "Team:Gifu/training"
(226 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
width: 110%; | width: 110%; | ||
− | background-color: | + | background-color:transparent; |
position: absolute; | position: absolute; | ||
top: -10%; | top: -10%; | ||
Line 28: | Line 28: | ||
left: -180px; | left: -180px; | ||
} | } | ||
+ | |||
+ | .firstHeading { | ||
+ | visibility: hidden; | ||
+ | display:none; | ||
+ | background-color:#000000; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
Line 34: | Line 41: | ||
<body> | <body> | ||
+ | |||
<div class="example"> | <div class="example"> | ||
− | + | ||
− | + | ||
<p align="center"> | <p align="center"> | ||
<a href="https://2015.igem.org/Team:Gifu" target="_top"><img src="https://static.igem.org/mediawiki/2015/d/d8/Logo_HOME.png" border="0" alt="https://static.igem.org/mediawiki/2015/d/d8/Logo_HOME.png" width="150" height="55"onmouseover="this.src='https://static.igem.org/mediawiki/2015/8/8e/Logo_HOME3.png';" onmouseout="this.src='https://static.igem.org/mediawiki/2015/d/d8/Logo_HOME.png';"></a> | <a href="https://2015.igem.org/Team:Gifu" target="_top"><img src="https://static.igem.org/mediawiki/2015/d/d8/Logo_HOME.png" border="0" alt="https://static.igem.org/mediawiki/2015/d/d8/Logo_HOME.png" width="150" height="55"onmouseover="this.src='https://static.igem.org/mediawiki/2015/8/8e/Logo_HOME3.png';" onmouseout="this.src='https://static.igem.org/mediawiki/2015/d/d8/Logo_HOME.png';"></a> | ||
Line 50: | Line 57: | ||
<a href="https://2015.igem.org/Team:Gifu/More/" target="_top"><img src="https://static.igem.org/mediawiki/2015/2/28/Logo_MORE.png" border="0" alt="https://static.igem.org/mediawiki/2015/2/28/Logo_MORE.png" width="150" height="55"onmouseover="this.src='https://static.igem.org/mediawiki/2015/b/b4/Logo_MORE2.png';" onmouseout="this.src='https://static.igem.org/mediawiki/2015/2/28/Logo_MORE.png';"></a> | <a href="https://2015.igem.org/Team:Gifu/More/" target="_top"><img src="https://static.igem.org/mediawiki/2015/2/28/Logo_MORE.png" border="0" alt="https://static.igem.org/mediawiki/2015/2/28/Logo_MORE.png" width="150" height="55"onmouseover="this.src='https://static.igem.org/mediawiki/2015/b/b4/Logo_MORE2.png';" onmouseout="this.src='https://static.igem.org/mediawiki/2015/2/28/Logo_MORE.png';"></a> | ||
</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> | <img id="ribosome" src="https://static.igem.org/mediawiki/2014/5/5f/Gifu_ribosome_renew.png"></img> | ||
</div> | </div> | ||
Line 61: | Line 69: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
<!-- | <!-- | ||
− | var r= | + | var r; |
− | var rad= | + | var l=140; |
+ | var rad=0; | ||
+ | var radl=360; | ||
var x; | var x; | ||
+ | var xl; | ||
var y; | var y; | ||
− | var | + | var yl; |
− | var | + | var kl=270; |
+ | var k=90; | ||
var m=1; | var m=1; | ||
− | var n= | + | 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==360){rad=0;} | |
− | + | ||
− | + | ||
− | + | ||
− | if(rad== | + | |
− | } | + | |
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); | ||
− | + | circle.style.top=y+410+"px"; | |
− | + | circle.style.left=x+380+"px"; | |
− | + | ||
k+=2; | k+=2; | ||
− | + | if(rad==360){k=90}; | |
− | + | circle.style.transform="rotate("+k+"deg)"; | |
− | + | ||
},7); | },7); | ||
}; | }; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | document. | + | $(document).ready(function () { |
+ | spinright(280) | ||
+ | }); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
//--> | //--> | ||
Line 152: | Line 124: | ||
</div> | </div> | ||
+ | </div> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 17:28, 18 September 2015