please dont rip this site

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Link.onmouseover() Handler

Name

Link.onmouseover() Handler---invoked when the mouse goes over a link

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

<A onMouseOver="handler-statements">    a definition of the handler
<AREA onMouseOver="handler-statements"> another definition; Navigator 3.0 only
link.onmouseover  a reference to the handler
link.onmouseover();   an explicit invocation of the handler

Description

onmouseover() is an event-handler function invoked when the user moves the mouse over a hypertext link. This event handler is defined by the onMouseOver attribute of the HTML <A> or <AREA> tag that defines the hypertext link. The value of this attribute may be any number of JavaScript statements, separated by semicolons. These statements will be executed when the user moves the mouse over the link.

By default, the browser displays the URL that a hypertext link refers to in the status line whenever the mouse goes over the link. The onmouseover() event handler is invoked before the URL is displayed. If the handler returns true, then the browser will not display the URL. Thus, an event-handler function that returns true can display a custom message in the status line by setting the Window.status property to any desired value itself.

Note that while this event handler returns true to tell the browser not to perform its default action (displaying the URL of a link), the onclick() event handler of the Link object must return false to tell the browser not to take its default action (following the link). This incompatibility exists for historical reasons. The standard for Form and form element event handlers is to return false to prevent the browser from performing a default action.

See Also

"Link", "Link.onmouseout()"


Previous Home Next
Link.onmouseout() Book Index Link.pathname

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell

file: /Techref/language/JAVA/SCRIPT/definitive/refp_201.htm, 5KB, , updated: 2019/10/14 15:00, local time: 2024/12/24 08:04,
TOP NEW HELP FIND: 
18.191.192.113:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.ecomorder.com/Techref/language/JAVA/SCRIPT/definitive/refp_201.htm"> [Chapter 21] Reference: Link.onmouseover()</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to massmind.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .