Team:UCL/Humans/Team
From 2014.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
<style> | <style> | ||
+ | |||
+ | .back-to-top { | ||
+ | position: fixed; | ||
+ | bottom: 0em; | ||
+ | right: 0.5em; | ||
+ | background-color: #AA8799; | ||
+ | text-decoration: none; | ||
+ | color: #000000; | ||
+ | display: none; | ||
+ | border-radius: 100px; | ||
+ | padding-bottom: 25px; | ||
+ | margin-bottom: -25px; | ||
+ | z-index: 99999; | ||
+ | } | ||
.textArena { | .textArena { | ||
Line 517: | Line 531: | ||
</div><!-- This div end tag should end the .textArena tag that defines light grey space. This is crucial--> | </div><!-- This div end tag should end the .textArena tag that defines light grey space. This is crucial--> | ||
+ | |||
+ | <a href="#" class="back-to-top"><img src="https://static.igem.org/mediawiki/2014/5/5d/Scroll_Up_Button.png" width="64" height="64"></a> | ||
+ | <script type="text/javascript"> | ||
+ | jQuery(document).ready(function() { | ||
+ | var offset = 220; | ||
+ | var duration = 500; | ||
+ | jQuery(window).scroll(function() { | ||
+ | if (jQuery(this).scrollTop() > offset) { | ||
+ | jQuery('.back-to-top').fadeIn(duration); | ||
+ | } else { | ||
+ | jQuery('.back-to-top').fadeOut(duration); | ||
+ | } | ||
+ | }); | ||
+ | jQuery('.back-to-top').click(function(event) { | ||
+ | event.preventDefault(); | ||
+ | jQuery('html, body').animate({scrollTop: 0}, duration); | ||
+ | return false; | ||
+ | }) | ||
+ | }); | ||
+ | </script> | ||
</div> | </div> |
Revision as of 13:38, 14 October 2014
Our team for this years iGEM competition consists of an eclectic mix of 21 post-graduate and undergraduate students studying a broad range of subjects in the biological and social sciences. Throughout the summer we received advice and assistance from a number of supervisors and collaborators as well as previous UCL iGEM participants. |
|