-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.min.js
2 lines (2 loc) · 1.12 KB
/
main.min.js
1
2
!function(a){a(function(){function b(){var a=window,b="inner";return"innerWidth"in window||(b="client",a=document.documentElement||document.body),{width:a[b+"Width"],height:a[b+"Height"]}}function c(){var c=b().width;c>800?a(".hamburger").bigSlide({side:"right",push:".push"}):a(".hamburger").bigSlide({side:"right",push:".pushm"})}a(function(){a(".sprite-hide").load("img/sprite.svg")}),a(window).on("load",function(){c()}),coverVid(document.querySelector(".video-container video"),640,360),a(document).ready(function(){}),a(".hero-unit .red-box").click(function(){a("html, body").animate({scrollTop:a(".sales").offset().top}),event.preventDefault(),a("<audio></audio>").attr({src:"audio/smb3_pipe.wav",autoplay:"autoplay"}).appendTo("body")}),a(document).ready(function(){a(".image-frame").magnificPopup({type:"image",gallery:{enabled:!0}})}),a(".coin-box").click(function(){a("<audio></audio>").attr({src:"audio/smb3_coin.wav",autoplay:"autoplay"}).appendTo("body")}),a(".empty-box").click(function(){a("<audio></audio>").attr({src:"audio/smb3_bump.wav",autoplay:"autoplay"}).appendTo("body")})})}(jQuery);
//# sourceMappingURL=script.js.map