Team:WHU-China
From 2013.igem.org
(Difference between revisions)
IgnatzZeng (Talk | contribs) |
IgnatzZeng (Talk | contribs) |
||
Line 87: | Line 87: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(window).scroll(function () { | ||
+ | var scrollPos = $(window).scrollTop(); | ||
+ | if (scrollPos > 100) { | ||
+ | $(".mainiGEM").addClass("sticktotop"); | ||
+ | } else { | ||
+ | $(".mainiGEM").removeClass("sticktotop"); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <div class="mainiGEM"> | ||
+ | <a title="iGEM Main Page" href="https://2013.igem.org/Main_Page"> | ||
+ | <img src="https://static.igem.org/mediawiki/2013/b/b0/Back_to_IGEM.png" style="width:80px;height:60px;position:fixed;top:10px;right:0px;z-index:1000;"/></a> | ||
+ | </div> | ||
+ | |||
<div class="link"> | <div class="link"> | ||
</html> | </html> | ||
{{:Team:WHU-China/templates/standardpage_footer}} | {{:Team:WHU-China/templates/standardpage_footer}} |
Revision as of 15:17, 23 September 2013