Code For Increase & Decrease Image Size...


 

<html>

<head>

    <title>Sample Code</title>

    <script language='javascript'>

    function zoomIncrease()

    {

        document.getElementById('i1').style.height=200;

        document.getElementById('i1').style.width=250;

    }

    function zoomDecrease()

    {

        document.getElementById('i1').style.height=100;

        document.getElementById('i1').style.width=150;

    }

    </script>

</head>

    <body>

    <FORM name="windowEvent">

        <img src="D:\Art\551005.JPG" name="i1" height="100" width="150" onmouseover='zoomIncrease();' onmouseout='zoomDecrease();'> </img>

    </FORM>

    </body>

</html>

Search This Blog

Link Within Related Posts Plugin for WordPress, Blogger...