Difference between revisions of "Template:IONIS Paris/JS"

Line 76: Line 76:
 
});
 
});
  
//Fullscreen
+
//GOTOP
  
$(document).ready(function () {
 
  $("#banner").height(screenheight);
 
  $("#banner").width(screenwidth);
 
});
 
  
 +
 +
    $(".gototop").hide();
 +
$(function () {
 +
$(window).scroll(function () {
 +
if ($(this).scrollTop() > 400 ) {
 +
$('.gototop').fadeIn(500);
 +
} }
 +
 +
});
  
 
</script>
 
</script>

Revision as of 15:20, 16 September 2015