Hi!

I want to create a web application where no scrolling is possible. I
do this with the following code:

document.addEventListener("touchmove", function(e){e.preventDefault
();}, false);

This should prevent user scrolling, but it fails, when the user
"touchmoves" over a textarea or text input field. I tried to add the
event listener to the textarea, but this had no effect.

Is there a way to effectively disable any scrolling?

Thank you in advance,
Andi

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to