[問題] ipad上無法連續mousedown,mouseover

看板Ajax作者 (よしの)時間10年前 (2014/05/18 13:08), 10年前編輯推噓0(006)
留言6則, 4人參與, 最新討論串1/1
廢話不多說先上網址: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

05/18 13:35, , 1F
行動裝置有touch事件可用 http://goo.gl/uBnVO6
05/18 13:35, 1F

05/18 15:09, , 2F
我設了ontouch...還是會變成移動頁面0.0
05/18 15:09, 2F

05/18 15:09, , 3F
05/18 15:09, 3F

05/18 18:57, , 4F
ontouchstart ontouchend
05/18 18:57, 4F
沒錯我就是把 onmousedown => ontouchstart onmousemove => ontouchmove onmouseup => ontouchend 但他還是變成移動整個畫面 ※ 編輯: oToToT (123.193.74.170), 05/18/2014 20:47:38

05/18 22:23, , 5F
http://goo.gl/6vwtR6 猜是沒有擋掉touchmove
05/18 22:23, 5F

05/18 22:25, , 6F
導致焦點被scrollbar搶走
05/18 22:25, 6F
文章代碼(AID): #1JU4117Y (Ajax)