Difference between revisions of "Template:INSA-UPS France/script scroll"

Line 18: Line 18:
 
         return ((elemBottom <= docViewBottom) && (elemTop >= docViewTop));
 
         return ((elemBottom <= docViewBottom) && (elemTop >= docViewTop));
 
     }
 
     }
 
+
/*
 
     $(document).ready(function(){
 
     $(document).ready(function(){
 
       if (window.innerWidth>600){
 
       if (window.innerWidth>600){
Line 33: Line 33:
 
               $('body').removeClass('header-fixed');
 
               $('body').removeClass('header-fixed');
 
           }
 
           }
          /*if (isScrolledIntoView('footer')){
 
            $(".backToTop").hide(500);
 
          }*/
 
 
         });
 
         });
 
       }
 
       }
 
     });
 
     });
  
/*
+
 
 
     $(document).ready(function(){
 
     $(document).ready(function(){
 
         $('.icon').click(function(e){
 
         $('.icon').click(function(e){

Revision as of 12:50, 2 June 2017