javascript - Prevent window scrolling without using overflow:hidden -
i'm trying disable scrolling on page , want without using overflow:hidden because repaints whole page when disable overflow:hidden. since want disable touch devices need more disabling mouse movement , if disable touchmove i'm not able scroll horizontally or perform other movements touch. maybe using window.onscroll = function(){//some code here} ?? hint how this?
Comments
Post a Comment