国务院关于推进物联网有序健康发展的指导意
Appearance
百度 此地一为别,不是孤蓬万里,而是千帆竞发,百舸争流天寒心暖,纸短情长。
JavaScript Console Tests
[edit | edit source]Test x,y
window.onmouseover = function(){document.title = [event.x,event.y];};
Test offsetX,offsetY
window.onmouseover = function(){document.title = [event.offsetX,event.offsetY];};
Test clientX,clientY
window.onmouseover = function(){document.title = [event.clientX,event.clientY];};
Test pageX,pageY
window.onmouseover = function(){document.title = [event.pageX,event.pageY];};
References
[edit | edit source]Further reading
[edit | edit source]- JavaScript Events
- offsetX Property
- CSS Object Model: Extensions to the mouseevent Interface
- Creating an HTML5 Canvas Painting Application
- DOM Events Portability: Not that Hard