Name
Link.onmouseover: event handler invoked when the mouse goes over a link â DOM Level 0
Synopsis
Function onmouseover
Description
The onmouseover
property of
a Link object specifies an event-handler function that is invoked
when the user moves the mouse over a hypertext link. When the user
holds the mouse over a hyperlink, the browser displays the URL for
that link in the status line. In older browsers, it is possible to
prevent this default action and display your own text in the status
line. For security reasons (to help prevent phishing attacks, for
example) most modern browsers have disabled this capability.
See Also
Element.addEventListener(
)
, Link.onmouseout
,
MouseEvent
; Chapter 17
Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.