Difference between revisions of "Team:Tec-Monterrey/sandbox"

m
m
Line 211: Line 211:
 
           var smallscreen = window.matchMedia("(max-width: 900px)");
 
           var smallscreen = window.matchMedia("(max-width: 900px)");
 
           var bigscreen = window.matchMedia("(min-width: 2000px)");
 
           var bigscreen = window.matchMedia("(min-width: 2000px)");
           var position: 3000;
+
           var position = 3000;
 
          
 
          
 
           $(window).on('beforeunload', function(){
 
           $(window).on('beforeunload', function(){
Line 220: Line 220:
 
             var timeoutVar = 0;
 
             var timeoutVar = 0;
 
           } else if(bigscreen.matches){
 
           } else if(bigscreen.matches){
             position: 5000;
+
             position = 5000;
 
           } else {
 
           } else {
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);

Revision as of 23:40, 12 October 2018

Skip

E. coding
Tec-Monterrey
Seccion Acevedo Interactive Entertainement System Co. S.A. de C.V. Ind.

Contact Us

Sponsors