<html>
<body>
<div id="container">
</div>
</body>
</html>
// 막기
$('#container').on('scroll touchmove mousewheel', function(event) {
event.preventDefault();
event.stopPropagation();
return false;
});
// 풀기
$('#container').off('scroll touchmove mousewheel');
태그 : jquery






덧글