摘要: event代表事件的状态,例如触发event对象的元素、鼠标的位置及状态、按下的键等等。 event对象只在事件发生的过程中才有效。 event的某些属性只对特定的事件有意义。比如,fromElement 和 toElement 属性只对 onmouseover 和 onmouseout 事件有意义。 例子 下面的例子检查鼠标是否在链接上单击,并且,如果shift键被按下,就取消链接的跳转。 c... 阅读全文
posted @ 2007-10-03 16:28 yellowwood 阅读(980) 评论(1) 推荐(0)
摘要: src:http://www.aspxuexi.com/html/dhtml/2007-8-30/elementFromPoint.htm 语法: oElement = document . elementFromPoint ( iX , iY ) 参数: iX : 必选项。整数(Integer)。单位:象素(Pixel)。定位横坐标偏移量。 iY : 必选项。整数(Integer)。... 阅读全文
posted @ 2007-10-03 16:05 yellowwood 阅读(1543) 评论(0) 推荐(0)
摘要: 取得鼠标所在位置的对象 table1 table2 table3 table4 table5 table6 鼠标当前在: 阅读全文
posted @ 2007-10-03 13:51 yellowwood 阅读(627) 评论(0) 推荐(0)
摘要: 原文:http://www.it130.cn/Article/FAQ/Web-kaifa/JavaScript/2007-3-20/2007032017013900.html 所属分类:Web 开发 JavaScript ---------------------------------------------------------------------- parentNode、parent... 阅读全文
posted @ 2007-10-03 13:42 yellowwood 阅读(10847) 评论(2) 推荐(0)
Never Give UP