iphone Programming Glossary: e.touches
iphone's safari touchmove event not working http://stackoverflow.com/questions/3531997/iphones-safari-touchmove-event-not-working the code is not showing anything in #info '#movieShow' .bind 'touchmove' function e e.preventDefault '#info' .text e.touches 0 .pageX javascript jquery iphone safari share improve this question Try using e.originalEvent.touches '#movieShow'..
Embed Google Maps on page without overriding iPhone scroll behavior http://stackoverflow.com/questions/7534888/embed-google-maps-on-page-without-overriding-iphone-scroll-behavior page finger scrolling var dragFlag false map.addEventListener touchstart function e dragFlag true start events touch e.touches 0 .pageY e.clientY true map.addEventListener touchend function dragFlag false true map.addEventListener touchmove function.. touchend function dragFlag false true map.addEventListener touchmove function if dragFlag return end events touch e.touches 0 .pageY e.clientY window.scrollBy 0 start end true I have also tried replacing map.addEventListener with document.getElementById.. a basic javascript error in my use of the code from the solution linked above. The key was start events touch e.touches 0 .pageY e.clientY The user must have been setting the events variable somewhere outside the presented code since it looks..
|