Frist
we take one image vivekanand.jpg in smae folder
//
using with onmouseover and onmouseout in java script
<html>
<head>
<script language="javascript">
function
f1()
{
document.image1.height = 500;
document.image1.width = 500;
}
function
f2()
{
document.image1.height = 50;
document.image1.width = 50;
}
</script>
<title>onmouseover and onmouseout</title>
</head>
<body>
<form name="form1">
<img src="vivekanand.jpg"
height="50"
width="50"
name=image1 onmouseover="f1()"
onmouseout="f2()">
</form>
</body>
</html>
When mouse on image ................
0 comments:
Post a Comment