Tuesday, 27 March 2012

mouseover and mouseout by using javascript

<html>
<head>
<script type="text/javascript">
function bigImg(x)
{
x.style.height="164";
x.style.width="164";
}

function normalImg(x)
{
x.style.height="32";
x.style.width="32";
}
</script>
</head>
<body>

<img onmousemove="bigImg(this)" onmouseout="normalImg(this)" border="0
src="smiley.gif" alt="Smiley" width="100" height="80" />



</body>
</html>

1 comment:

  1. great post, impressive , the way you explain mouseover is hats off , no doubt in it high demands in IT is java , and your looking for it then visit java course in pune , thanks for this valuable post

    ReplyDelete