August 1999
Intermediate to advanced
1488 pages
72h 53m
English
onMouseOver="command"
The onMouseOver event handler of the Layer object handles the events when the mouse cursor is moved over the layer area.
Listing 7.344 shows an example of the onMouseOver event handler.
<html>
<head>
<title> Using the onMouseOver event handler of the Layer object</title>
</head>
<body>
<script language="JavaScript">
<!-- Hide
// function displays a message everytime the mouse is moved over Layer 2
function showMsg1(){
document.form1.text1.value = "Mouse Moved over Layer 2 area.";
}
// End Hide --->
</script>
<layer id="layer1" width=200 height=200 color= bgcolor="yellow" TOP=170 LEFT=200 ... |
Read now
Unlock full access