看板 Ajax 關於我們 聯絡資訊
廢話不多說先上網址:http://jsfiddle.net/kt8zE/7/ 小弟想做一個轉珠模擬器,但發現在ipad上無法用onmosedown加onmouseover去做到類似 畫圖的效果,他只會變成移動畫面,不知道有沒有其他的做法 -- Yoshino ▋╲∕ /╱ D 四糸乃 ▂▅ ▏ ∕ A 本命▁▄▇ ▂▅▎ . `﹀╴_ L ▃▆ ▂▅ /╲' ▎▊ ▎ ▂╲ \ \蘿莉萬歲/ ▎╱▅▂ ▃▅ ╲\ \四糸乃萬歲/ ‵﹉ "︿. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.193.74.170 ※ 文章網址: http://www.ptt.cc/bbs/Ajax/M.1400389697.A.1E2.html
iceblue7x:行動裝置有touch事件可用 http://goo.gl/uBnVO6 05/18 13:35
oToToT:我設了ontouch...還是會變成移動頁面0.0 05/18 15:09
oToToT:Code: http://jsfiddle.net/kt8zE/8/ 05/18 15:09
lyforever:ontouchstart ontouchend 05/18 18:57
沒錯我就是把 onmousedown => ontouchstart onmousemove => ontouchmove onmouseup => ontouchend 但他還是變成移動整個畫面 ※ 編輯: oToToT (123.193.74.170), 05/18/2014 20:47:38
mmis1000:http://goo.gl/6vwtR6 猜是沒有擋掉touchmove 05/18 22:23
mmis1000:導致焦點被scrollbar搶走 05/18 22:25