JavaScript语言参考手册 技术交流 :迷途知返 pwwang.com |
JavaScript手册
|
【目录】 【上一页】 【下一页】 【索引】
onMouseOverExecutes JavaScript code when a MouseOver event occurs; that is, once each time the mouse pointer moves over an object or area from outside that object or area.
语法onMouseOver="handlerText"参数
描述If the mouse moves from one area into another in a client-side image map, you'll get onMouseOut for the first area, then onMouseOver for the second.Area objects that use onMouseOver must include the HREF attribute within the AREA tag. You must return true within the event handler if you want to set the status or defaultStatus properties with onMouseOver. 使用的事件属性
示例By default, the HREF value of an anchor displays in the status bar at the bottom of the browser when a user places the mouse pointer over the anchor. In the following example, onMouseOver provides the custom message "Click this if you dare."
<A HREF="http://home.netscape.com/" See also示例 for Link. 参看onMouseOut要获得关于事件句柄的常规信息,请看“事件的常规信息”。 要获得关于事件对象的信息,请看事件。
【目录】 【上一页】 【下一页】 【索引】 |