网页图片特效
小弟我想要一个图片特效:图片随鼠标滚珠的上下滚动而变化大小.
怎么实现,大家帮帮忙!
<script language = "JavaScript">
function bbimg(o){
var zoom=parseInt(o.style.zoom, 10)||100;zoom+=event.wheelDelta/12;
if(zoom>0) o.style.zoom=zoom+'%';
return false;}
</script>
<IMG src="images/lhd/xianjin2006/wmdw.jpg" width="350" height="234" align="textTop" border="0" onmousewheel="return bbimg(this)" onload="javascript:if(this.width>screen.width-600)
this.style.width=screen.width-600;">