<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>图片根据鼠标滑轮自由放大缩小</title>
<script>
function resizepic(thispic)
{
if(thispic.width>570) thispic.width=570;
}
function bbimg(o)
{
var zoom=parseInt(o.style.zoom, 10)||100;
zoom+=event.wheelDelta/12;
if (zoom>0) o.style.zoom=zoom+'%';
return false;
}
/*function CheckComment(){
fcm.submit();
fcm.s.disabled=true;
}
function AddFav()
{
window.external.AddFavorite(location.href,document.title)
}
*/
</script>
</head>
<body>
<div style="width:640px;overflow: hidden;"><IMG onmousewheel="return bbimg(this)" alt="" src="http://himg.baidu.com/sys/portrait/item/25414143b0b2bbd5bfe1cdf84e00.jpg" οnlοad=resizepic(this) border=0></div>
</body>
</html>