본문 바로가기
모바일개발

모바일 레이어 팝업 띄울때 스크롤 막기

by 긴자손 2016. 2. 3.
728x90
반응형

레이어 띄울때

$("body").bind('touchmove', function(e){e.preventDefault()});


레이어 닫을때
$("body").unbind('touchmove');


위와 같이 사용하면 된다.

728x90
반응형