Team:Tsinghua-E/Template
From 2013.igem.org
(Difference between revisions)
(190 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | + | <style type="text/css"> | |
- | + | ||
- | + | #totop{ | |
- | # | + | position: fixed; |
+ | bottom: 15px; | ||
+ | right: 15px;} | ||
+ | #totop li | ||
{ | { | ||
- | + | width: 100px; | |
- | + | height: 106px; | |
- | + | padding: 0; | |
- | + | overflow: hidden; | |
- | + | display: block; | |
- | + | float: left; | |
- | + | ||
} | } | ||
- | + | </style> | |
- | + | <div> | |
- | + | <ul id="totop"> | |
- | + | <li onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="NaviTotop();"> | |
- | + | <img src="/wiki/images/a/a3/Flytotop.png" alt="Totop" /> | |
- | + | </li> | |
- | + | </ul> | |
- | + | </div> | |
- | + | ||
- | + | <script type="text/javascript" > | |
- | + | var PageScrollElem,PageScrollBody; | |
- | + | var PageScrollHand=null; | |
- | + | function PageScrollTotop() | |
- | + | ||
- | + | ||
- | + | ||
{ | { | ||
- | + | PageScrollElem = PageScrollElem * 0.7 - 0.5; | |
- | + | PageScrollBody = PageScrollBody * 0.7 - 0.5; | |
+ | if (PageScrollElem<=0) | ||
+ | { | ||
+ | PageScrollElem=0; | ||
+ | } | ||
+ | if (PageScrollBody<=0) | ||
+ | { | ||
+ | PageScrollBody=0; | ||
+ | } | ||
+ | if (PageScrollElem<=0){ | ||
+ | if (PageScrollBody<=0){ | ||
+ | PageScrollHand = null; | ||
+ | }} | ||
+ | if (PageScrollBody>0 || PageScrollElem>0) | ||
+ | { | ||
+ | PageScrollHand = setTimeout(PageScrollTotop,50); | ||
+ | } | ||
+ | document.documentElement.scrollTop=PageScrollElem; | ||
+ | document.body.scrollTop=PageScrollBody; | ||
} | } | ||
- | + | function NaviTotop() | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
{ | { | ||
- | + | PageScrollElem=document.documentElement.scrollTop; | |
- | + | PageScrollBody=document.body.scrollTop; | |
- | + | PageScrollTotop(); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | < | + | </script> |
- | + | </html> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | {{Team:Tsinghua-E/Template}} | ||
+ | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
+ | <style type="text/css"> | ||
+ | #content{height:3800px;} | ||
+ | p{font-size:120%} | ||
+ | .memberx {position:absolute;top:60px;left:5px;height:215px;width;300px;} | ||
+ | .memberx span{z-index:50;position:relative;width:453px;display:block;top:-215px;left:305px;color:#000000} | ||
+ | </style> | ||
- | < | + | <div class="tmc" style="height:3685px;"> |
- | < | + | </div> |
- | < | + | <div class="neirong" style="height:3665px;"> |
- | < | + | <h2>Animation of THU-E iGEM2013 Program</h2> |
- | + | <div align="center"> | |
- | + | <h2>Game</h2> | |
- | </ | + | <embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://tsinghua.hdskjz.com/UploadFile/20130926013202.swf" width="800" height="598" play="true" loop="true" menu="true"> |
- | + | <h2>Film tudou</h2> | |
- | </ | + | <iframe src="http://www.tudou.com/programs/view/html5embed.action?code=xnu4HoUwSKE&resourceId=106592079_06_05_99" allowtransparency="true" scrolling="no" border="0" frameborder="0" style="width:720px;height:576px;"></iframe> |
- | </ | + | <br/><br/> |
- | < | + | <h2>Outtakes youtube</h2> |
- | + | <iframe type="text/html" width="600" height="338" src="http://www.youtube.com/embed/3fGJitbrLjw" frameborder="0" allowfullscreen> | |
- | </ | + | </iframe> |
- | + | <h2>Film youtube</h2> | |
- | </ | + | <iframe type="text/html" width="720" height="576" src="http://www.youtube.com/embed/xiQzCoY7VCA" frameborder="0" allowfullscreen> |
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
</html> | </html> |
Latest revision as of 18:39, 27 September 2013