<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>通过鼠标滑轮缩放图像</title>
    
    
    
    <style type="text/css">
        .style1
        {
            font-size: xx-large;
            font-family: 华文新魏;
            font-weight: bold;
            color: #FF0000;
            border-left-color: #ACA899;
            border-right-color: #C0C0C0;
            border-top-color: #ACA899;
            border-bottom-color: #C0C0C0;
        }
    </style>
    
<script language="javascript">
function bigimg(O){
var zoom=parseInt(O.style.zoom,10)||100;
zoom+=event.wheelDelta/12;
if(zoom>0)O.style.zoom=zoom+'%';
return false;
}
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    

    
        <table style="width:450px;" align="center">
            <tr>
                <td align ="center" >
                    <span class="style1">通过鼠标滑轮缩放图像</span><br />
                    -------------------------------------------------------------------------</td>
            </tr>
            <tr>
                <td align ="center">
                    <img alt="" src="1759.jpg"  onmousewheel="return bigimg(this)"  style="height: 200px; width: 235px" /></td>
            </tr>
        </table>
    

    
    </div>
    </form>
</body>
</html>
