Hi!
Im an using this meta-tag:
meta name="viewport" content="minimum-scale=1.0, width=device-width,
height=460, maximum-scale=1.0, user-scalable=no"
and and the body tag has the following style:
width: 320px;
height: 460px;
overflow: hidden;
The javascript
document.addEventListener("touchmove", function(e){e.preventDefault
();}, false);
should prevent the rubber-band scrolling behavior of Mobile Safari.
And it works, except for the following situation:
You have a textarea and the user touches the textarea, holds and drags
up or down. In this situation the rubber-band scrolling is active,
despite the js.
So, the problem is not about, that there would be anything to scroll,
but about the rubber-band effect.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---