sitelink1  
sitelink2  
sitelink3  
sitelink4 http://1 
extra_vars4 ko 
extra_vars5 http://backtothecode.blogspot.com/2009/10/javascript-touch-and-gesture-events.html 
extra_vars6 sitelink1 

JavaScript Touch and Gesture Events iPhone and Android

There are quite a few sites that describe the touch and gesture events that can be used in the mobile version of WebKit running on iPhone and iPod Touch. There is, however, not so much info with regards to Android. I've placed a few links at the bottom of this article that contain information used to compile this brief explanation. 
Touch events are a bit like mouse events, but there are some very important differences when it comes to touch vs. mouse: 
  • A touch is very hard to keep steady whilst a mouse can stay at a fixed position - this means that we go from a touchStart event directly to a touchMove event. Unlike a mouse where a mouseDown event is likely to fire without being followed up by a mouseMove event.
  • There is no mouseOver equivalent since a touch can be discontinuous, i.e., we can get from point A to point B without the need of drawing a continuous line between these points.
  • A touch is an averaged point taken from the surface area in contact with the pointing device (your finger) translated to pixel coordinates - like finding the centre of a circle. A mouse is very precise and there is no averaging that needs to be done. What I'm trying to say is that a touch is not as accurate as a mouse.
번호 제목 글쓴이 날짜 조회 수
226 각 브라우저 별 User Agent 정보 황제낙엽 2011.02.22 1278
225 CORS(Cross-Origin Resource Sharing) - 4 file 황제낙엽 2017.03.07 1224
224 자바스크립트의 쉬프트 연산자 (Shift Operator) 와 음수 (Negative) 이야기 황제낙엽 2012.05.31 1120
223 iframe auto resize (cross browsing) 황제낙엽 2011.05.13 1075
222 Javascript CORS/XSS 극복하는(피하는) 방법 file 황제낙엽 2017.07.31 1033
221 [JavaScript Tutorials] Introducing the closure (해석중) 황제낙엽 2009.04.10 1031
220 Memory leak 및 성능 측정 도구 file 황제낙엽 2011.11.23 1006
219 입력받은 날짜와 현재 날짜와의 비교 함수 황제낙엽 2019.08.02 938
218 SelectBox 밑에 CheckBox가 포함된 리스트 만들기 file 황제낙엽 2007.01.16 884
217 JavaScript Reserved Words 황제낙엽 2011.11.28 880
216 Javascript 를 사용하여 Binary File 읽기 황제낙엽 2010.09.29 857
215 현재 document 의 host 와 port 를 얻는 방법 황제낙엽 2023.10.03 828
» JavaScript Touch and Gesture Events iPhone and Android 황제낙엽 2012.04.12 827
213 Javascript ArrayBuffer ? Binary handling in javascript 황제낙엽 2012.03.19 817
212 url encode & decode 황제낙엽 2011.10.30 816
211 JavaScript Array.push Performance 황제낙엽 2011.11.21 782
210 String Performance: Getting Good Performance from Internet Explorer (IE7) 황제낙엽 2011.11.24 769
209 Defining classes and inheritance (클래스 정의와 상속) 황제낙엽 2011.03.24 769
208 자바스크립트로 서버의 XML파일을 접근 (실패했슴) 황제낙엽 2005.12.11 761
207 call() and apply() methods in Javascript 황제낙엽 2011.10.07 753