Line 13: | Line 13: | ||
$("#main-container #button").height() * 1.05 | $("#main-container #button").height() * 1.05 | ||
) | ) | ||
+ | if ( | ||
+ | $("#main-container #button").height() >= | ||
+ | 2 * $(window).height() && | ||
+ | $("#main-container #button").width() >= 2 * $(window).width() | ||
+ | ) { | ||
+ | $("#main-container #button").css("pointer-events", "none") | ||
+ | } | ||
}, 25) | }, 25) | ||
}) | }) | ||
Line 63: | Line 70: | ||
) | ) | ||
} | } | ||
− | animatethis($("#main-container #CenterCell"), 5000, 2, -1, -3, 1) | + | // animatethis($("#main-container #CenterCell"), 5000, 2, -1, -3, 1) |
− | animatethis($("#main-container #button"), 5000, 2, -1, -3, 1) | + | // animatethis($("#main-container #button"), 5000, 2, -1, -3, 1) |
− | animatethis($("#main-container #Small1Cell"), 3000, -2, 2, -1, 2) | + | // animatethis($("#main-container #Small1Cell"), 3000, -2, 2, -1, 2) |
− | animatethis($("#main-container #Small2Cell"), 4000, -1, 3, 2, 1) | + | // animatethis($("#main-container #Small2Cell"), 4000, -1, 3, 2, 1) |
− | animatethis($("#main-container #Small3Cell"), 5500, 3, -1, 2, -1) | + | // animatethis($("#main-container #Small3Cell"), 5500, 3, -1, 2, -1) |
− | animatethis($("#main-container #Small4Cell"), 4500, -2, 2, -2, 2) | + | // animatethis($("#main-container #Small4Cell"), 4500, -2, 2, -2, 2) |
− | animatethis($("#main-container #Big1Cell"), 2000, -3, -1, 2, -2) | + | // animatethis($("#main-container #Big1Cell"), 2000, -3, -1, 2, -2) |
− | animatethis($("#main-container #Big2Cell"), 6000, 2, -1, 2, -1) | + | // animatethis($("#main-container #Big2Cell"), 6000, 2, -1, 2, -1) |
}) | }) | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 18:43, 11 October 2018