原生js

JS中判斷鼠標按鍵的問題。  IE  左鍵是 window.event.button = 1  右鍵是 window.event.button = 2 中鍵是 window.event.button = 4 沒有按鍵動做window.event.button = 0css Firefox  左鍵是 event.button = 0  右鍵是 event.button = 2 中鍵是 event.b
相關文章
相關標籤/搜索