Team:Uppsala/Templates/top template

From 2014.igem.org

(Difference between revisions)
Line 105: Line 105:
     });
     });
})();
})();
-
 
-
</script>
 
-
 
-
<script>
 
-
 
-
$(document).ready(function (){
 
-
var stats = $('.back-to-top'),
 
-
    timer;
 
-
stats.hide();
 
-
 
-
$(function () {
 
-
$(window).scroll(function() {
 
-
stats.fadeIn();
 
-
clearTimeout(timer);
 
-
timer = setTimeout(function() {
 
-
stats.stop(true,true).fadeOut('slow');
 
-
}, 3000);
 
-
 
-
});
 
-
$('.back-to-top').click(function () {
 
-
$('body,html').animate({
 
-
scrollTop: 0
 
-
}, 800);
 
-
return false;
 
-
});
 
-
});
 
-
});
 
</script>
</script>

Revision as of 14:43, 15 July 2014

Project

Failed to load tracking. JS is probably not enabled

One - content
Two - content
Three - content
Four - content