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

 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
<script src="https://2015.igem.org/Template:IONIS_Paris/JS_Page3?action=raw&ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Template:IONIS_Paris/JS_Page3?action=raw&ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Template:IONIS_Paris/JS_Page4?action=raw&ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Template:IONIS_Paris/JS_Page4?action=raw&ctype=text/javascript"></script>
<script src="http://thebootstrapthemes.com/live/thebootstrapthemes-photography/assets/respond/respond.js"></script>
+
<script src="https://2015.igem.org/Template:IONIS_Paris/JS_Page5?action=raw&ctype=text/javascript"></script>
<script src="http://thebootstrapthemes.com/live/thebootstrapthemes-photography/assets/gallery/jquery.blueimp-gallery.min.js"></script>
+
<script src="https://2015.igem.org/Template:IONIS_Paris/JS_Page6?action=raw&ctype=text/javascript"></script>
  
 
<script  type="text/javascript">
 
<script  type="text/javascript">
Line 76: Line 76:
 
});
 
});
  
//Fullscreen
+
//GOTOP
  
$(document).ready(function () {
 
  $("#banner").height(screenheight);
 
  $("#banner").width(screenwidth);
 
});
 
  
 +
 +
  $(document).ready(function(){
 +
   
 +
    $(".gototop").hide();
 +
     
 +
    // faire apparaitre #gototop
 +
    $(function () {
 +
        $(window).scroll(function () {
 +
            if ($(this).scrollTop() > 450 ) {
 +
                $('.gototop').fadeIn(300);
 +
            } else {
 +
                $('.gototop').fadeOut(300);
 +
            }
 +
    });
 +
   
 +
 +
    });
 +
});
  
 
</script>
 
</script>

Latest revision as of 15:33, 16 September 2015