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