코드정리 7

스크롤바 숨기고 동작안하게 했다가 풀기

script // 스크롤바 숨기고 동작안하게 했다가 풀기 $("header").toggleClass("active"); if ($("header").hasClass("active")) { $("header").on("scroll touchmove mousewheel", function (event) { event.preventDefault(); event.stopPropagation(); return false; }); } else { $("header").off("scroll touchmove mousewheel"); } $("body").toggleClass("scrollBar"); css .scrollBar { -ms-overflow-style: none; /* IE and Edge */ scrol..

코드정리 2022.12.17