$(function(){ skrollr.init(); $("body,.main_visual").addClass("on"); $(".section03 .more").mouseover(function(){ $(".section03 .conwrap.in-view .more circle").css("transition-delay","0s").css("stroke-dashoffset","200"); }); $(".section03 .more").mouseleave(function(){ $(".section03 .conwrap.in-view .more circle").css("stroke-dashoffset","0"); }); //visual height 모바일 높이 대응 function resetHeight(){ $('.section01').css('height', $(window).innerHeight()); } window.addEventListener("resize", resetHeight); resetHeight(); // 레이어팝업 var bg = $("#bg"); $(document).on('click',' #bg, .close ', function () { bg.fadeOut(); $('#video-popup div.inner').html(''); $('#video-popup').hide(); }); $('.play_btn').on('click', function(){ var dataUrl = $(this).attr('data-url'); if(dataUrl){ bg.show(); $('#video-popup').show(); $('#video-popup').html( '