Using jQuery, I would like to disable scrolling of the body:
My idea is to:
body{ overflow: hidden;}
I am using the following code to disable scrolling and it works fine
$('html').css({
'overflow': 'hidden',
'height': '100%'
});
except that on my android tablet, url address bar and top window tags remain visible, and when users scroll up and down, the window also scrolls for about 40px up and down, and shows/hides the url bar and the tags. Is there a way to prevent that and have scrolling fully disabled ?