Dhtml onmouseover onmouseout event | how to display dialog box when mouse in and mouse out in javascript

onmouseover this is event it will fire when mouseover the object
onmouseout in these event it will fire when mouseout the object
These mouseover and mouseout it used to display the message box when mouse in and mouse out the specific item
<html>
<head><title>STUDENTWEBSITE</title>
<script language="javascript">

function fnover()
{
alert("Mouse ovesr");
}
function fnout()
{
alert("Mouse out");
}
</script>
</head>
<body>
<img src="1.jpg" onmouseover="fnover()" onmouseout="fnout()">
</body>
</html>

Dhtml onmouseover onmouseout event  how to display dialog box when mouse in and mouse out in javascript


Post a Comment

0 Comments