作者oToToT (よしの)
看板Ajax
標題[問題] ipad上無法連續mousedown,mouseover
時間Sun May 18 13:08:11 2014
廢話不多說先上網址:
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
→ oToToT:我設了ontouch...還是會變成移動頁面0.0 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:導致焦點被scrollbar搶走 05/18 22:25