Hey guys,
I am developing an Application (with jquery mobile and phonegap) that fits exactly the screens size so there is no content above and no content below the screen. But nevertheless its possible to scroll the whole page up and down - after scrolling the page goes back to normal view.
I dont want the app to be scrollable! How can I turn this behavior off?
Thanks in advance!
By searching the web I found this solution:
- <script language="javascript">
- document.ontouchmove = function(e){
- e.preventDefault();
- }
- </script>
but that doesn't seem to work.