找本参考书:
这些都是Event的参数,但一些只在IE4.0+上有用。
clientX X location in a window
x X location in a positioned item
offsetX X location in a container
screenX X location in the screen
以上还有一个相对应的Y。
还有好几个:
shiftKey Keyboard modifier keys
srcElement Element the event was targeted to
type Type of event that occurred
wheelDelta The distance the wheel button rolled
keyCode Keyboard key that caused the event
button Mouse button that caused the event
找本书!
Inside JavaScript
By Steven Holzner
Publisher : New Riders Publishing
Pub Date : August 31, 2002
ISBN : 0-7357-1285-9
Pages : 1100