Difference between revisions of "Team:TECHNION-ISRAEL/Experiments"

Line 9: Line 9:
 
<meta name="viewport" content="width=device-width, initial-scale=1">
 
<meta name="viewport" content="width=device-width, initial-scale=1">
 
 
 +
<script>
  
 +
//up arrow:
 +
$(document).ready(function(){
 +
$(window).scroll(function () {
 +
if ($(this).scrollTop() > 350) {
 +
$('#back-to-top').fadeIn();
 +
} else {
 +
$('#back-to-top').fadeOut();
 +
}
 +
});
 +
// scroll body to 0px on click
 +
$('#back-to-top').click(function () {
 +
$('#back-to-top').tooltip('hide');
 +
$('body,html').animate({
 +
scrollTop: 0
 +
}, 800);
 +
return false;
 +
});
 +
 +
$('#back-to-top').tooltip('show');
 +
 +
});
 +
 +
</script>
 
 
 
 
Line 204: Line 228:
 
</div>
 
</div>
 
</div>
 
</div>
 +
<a id="back-to-top" href="#" class="btn btn-lg back-to-top" role="button" title="Up" data-toggle="tooltip" data-placement="left"><img src="https://static.igem.org/mediawiki/2017/f/f9/T--TECHNION-ISRAEL--newUpAB.png" alt=""></a>
 
</body>
 
</body>
 
</html>
 
</html>
 
{{:Team:TECHNION-ISRAEL/sponsors}}
 
{{:Team:TECHNION-ISRAEL/sponsors}}

Revision as of 19:01, 30 October 2017

navbar

Protocols

My First Website