You are on page 1of 1

<html>

<title>image hyperlink </title>


<script language="javascript">
function zoomout()
{
document.images.pic.height="600";
document.images.pic.width="200";

}
function zoomin()
{

}
</script>
<body>
<img id="pic" src="C:\Users\Student\Desktop\New folder\tulips.jpg" height=300
width=300>
<input type="button" value="fadein" onclick="zoomin()">
<input type="button" value="fadeout" onclick="zoomout()">
</body>
</html>

You might also like