|
<html>
<head>
<title> Using the onMouseOut event handler of the Link object</title>
</head>
<body>
<script language="JavaScript">
<!--
function showMsg(){
alert("The Mouse cursor was removed from the link");
}
-->
</script>
Click the mouse button while the cursor is on the link.
<form name="form1">
<a href=http://www.java2s.com
onMouseOut='showMsg()'>
http://www.java2s.com</a>
</form>
</body>
</html>
|