Quote:
Originally Posted by V42
I just got a rejection email for this reason. In case it helps anyone else, I figured out a solution that works for my needs. This solution is based on the javascript approach described earlier in this thread by MrMidi. The difference is that it disables scrolling/rubberbanding only when the content can fit entirely within the web view. If the content is larger than will fit, scrolling & rubberbanding are allowed.
Code:
<html>
<head>
<script>
document.ontouchmove = function(event) {
if (document.body.scrollHeight == document.body.clientHeight) event.preventDefault();
}
</script>
</head>
<body>
<p>No scrolling for you!</p>
</body>
</html>
|
Cool, thank. I'll try that out.