YesYo.com MintState Forums
뒤로    YesYo.com MintState BBS > Tech > ETC
검색
멤버이름    오토
비밀번호 
 

모바일웹에서 레이어를 띄우면 본창 스크롤 안되게 하는 방법

페이지 정보

작성자 MintState 댓글 0건 조회 7,546회 작성일 16-11-15 17:47

본문

모바일웹에서 레이어를 띄우면 본창 스크롤 안되게 하는 방법

적용
$("body").css({overflow:'hidden'}).bind('touchmove', function(e){e.preventDefault()});


풀어줄 때
$("body").unbind('touchmove');

댓글목록

등록된 댓글이 없습니다.

Total 71건 1 페이지
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™