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

m
m
Line 209: Line 209:
  
 
     <script>
 
     <script>
           var smallscreen = window.matchMedia("(max-width: 900px)");
+
           var 900screen = window.matchMedia("(max-width: 900px)");
           var bigscreen = window.matchMedia("(min-width: 1300px)");
+
           var 1024screen = window.matchMedia("(min-width: 1024px)");
           var superscreen = window.matchMedia("(min-width: 2000px)");
+
           var 1280screen = window.matchMedia("(min-width: 1280px)");
 +
          var 1440screen = window.matchMedia("(min-width: 1440px)");
 +
          var 1680screen = window.matchMedia("(min-width: 1680px)");
 +
          var 1920screen = window.matchMedia("(min-width: 1920px)");
 
           var position = 3500;
 
           var position = 3500;
  
Line 218: Line 221:
 
           });
 
           });
  
           if(smallscreen.matches) {
+
           if(900screen.matches) {
 
             var timeoutVar = 0;
 
             var timeoutVar = 0;
           } else if(superscreen.matches) {
+
           } else if(1024screen.matches) {
             position = 8000;
+
             position = 3000;
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
           } else if(bigscreen.matches){
+
           } else if(1280screen.matches){
 +
            position = 3500;
 +
            var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 +
          } else if(1440screen.matches){
 
             position = 4500;
 
             position = 4500;
 +
            var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 +
          } else if(1680screen.matches){
 +
            position = 5500;
 +
            var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 +
          } else if(1920screen.matches){
 +
            position = 6500;
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 
             var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000);
 
           } else {
 
           } else {

Revision as of 16:46, 13 October 2018

Skip

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

Contact Us

Sponsors