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

m
m
Line 210: Line 210:
 
     <script>
 
     <script>
 
           var screen_900 = window.matchMedia("(max-width: 900px)");
 
           var screen_900 = window.matchMedia("(max-width: 900px)");
           var 1024screen = window.matchMedia("(min-width: 1024px)");
+
           var screen_1024 = window.matchMedia("(min-width: 1024px)");
           var 1280screen = window.matchMedia("(min-width: 1280px)");
+
           var screen_1280 = window.matchMedia("(min-width: 1280px)");
           var 1440screen = window.matchMedia("(min-width: 1440px)");
+
           var screen_1440 = window.matchMedia("(min-width: 1440px)");
           var 1680screen = window.matchMedia("(min-width: 1680px)");
+
           var screen_1680 = window.matchMedia("(min-width: 1680px)");
           var 1920screen = window.matchMedia("(min-width: 1920px)");
+
           var screen_1920 = window.matchMedia("(min-width: 1920px)");
 
           var position = 3500;
 
           var position = 3500;
  
Line 221: Line 221:
 
           });
 
           });
  
           if(900screen.matches) {
+
           if(screen_900.matches) {
 
             var timeoutVar = 0;
 
             var timeoutVar = 0;
           } else if(1024screen.matches) {
+
           } else if(screen_1024.matches) {
 
             position = 3000;
 
             position = 3000;
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
           } else if(1280screen.matches){
+
           } else if(screen_1280.matches){
 
             position = 3500;
 
             position = 3500;
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
           } else if(1440screen.matches){
+
           } else if(screen_1440.matches){
 
             position = 4500;
 
             position = 4500;
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
           } else if(1680screen.matches){
+
           } else if(screen_1680.matches){
 
             position = 5500;
 
             position = 5500;
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
           } else if(1920screen.matches){
+
           } else if(screen_1920.matches){
 
             position = 6500;
 
             position = 6500;
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);

Revision as of 16:49, 13 October 2018

Skip

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

Contact Us

Sponsors