Image operations JScript

Sakthi.Singaravel
Posted by Sakthi.Singaravel under JavaScript category on | Points: 40 | Views : 1059
MouseOver, MouseOut: JScript

<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>

Comments or Responses

Login to post response