0°
window.event对象
2011年06月06日 | 作者: 米豆网 - 1000seo |
描述
event代表事件的状态,例如触发event对象的元素、鼠标的位置及状态、按下的键等等。
event对象只在事件发生的过程中才有效。
event的某些属性只对特定的事件有意义。比如,fromElement 和 toElement 属性只对 onmouseover 和 onmouseout 事件有意义。
例子
下面的例子检查鼠标是否在链接上单击,并且,如果shift键被按下,就取消链接的跳转。
<HTML>
<HEAD><TITLE>Cancels Links</TITLE>
<SCRIPT LANGUA......
最新评论
我改过之后为什么还是不行
I have those files in t
This is really fangsnat
Times are chnnaigg for
Okay I'm convcnied. L
Fiaylln! This is just
Superbly ilnimulating d
Your answer lifts the i
好文章,内容完美无缺.禁止
不错的文章,内容无懈可击
不管用啊~
我只有锄头
这个有用,感谢了
加油,挺不错的!
第一次来,觉得不错。喜欢
Love it! Fast shippin