EstebanDLPT (Talk | contribs) m |
EstebanDLPT (Talk | contribs) m |
||
Line 224: | Line 224: | ||
var timeoutVar = 0; | var timeoutVar = 0; | ||
} else if(screen_1024.matches) { | } else if(screen_1024.matches) { | ||
+ | window.alert("1024"); | ||
position = 3450; | position = 3450; | ||
var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | ||
} else if(screen_1280.matches){ | } else if(screen_1280.matches){ | ||
− | alert("1280"); | + | window.alert("1280"); |
position = 4500; | position = 4500; | ||
var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | ||
} else if(screen_1440.matches){ | } else if(screen_1440.matches){ | ||
− | alert("1440"); | + | window.alert("1440"); |
position = 6000; | position = 6000; | ||
var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | ||
} else if(screen_1680.matches){ | } else if(screen_1680.matches){ | ||
− | alert("1680"); | + | window.alert("1680"); |
position = 6500; | position = 6500; | ||
var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); |
Revision as of 17:00, 13 October 2018