I am working on mobile application for web browser. I want to disable vertical scroll when popup(not browser alerts ie created popup using css) is open.
I am using css to disable vertical scroll
body{overflow:hidden;
}
so it will hide the scroll or we can say disable scroll, its working fine for web browser
http://www.enggheads.com/#!question/1420697656675 Here is my website link
Try this.
body{
overflow-y:hidden;
position:relative;
}
-y is for vertical scrolling
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.