<script language="javascript" type="text/javascript">
function Zoom()
{
var hX=document.all.bb.height*1.5;
var hY=document.all.bb.width*1.5;
document.getElementById("bb").style.height=hX;
document.getElementById("bb").style.width=hY;
}
</script>
点按牛放大
<input id="Button2" type="button" onclick="javascript:Zoom();" value="button" />
点图象放大.
<img id="bb" alt="" src="桃园仙谷游.JPG" style="height:200px; width:400px; zoom:1" onclick="this.style.zoom=eval(this.style.zoom)+0.1" />
制作图片热点:
<map name="Map" id="Map">
<area shape="rect" coords="191,102,240,129" href="#" onblur="this." alt="eeeeeeee" /><area shape="circle" coords="319,116,25" href="#" alt="vvvvv" /><area shape="poly" coords="455,131,450,114,425,77,455,72,490,80,518,108" href="#" alt="ccccc" />
</map>
<asp:Image ID="Image1" runat="server" ImageUrl="~/Web/Image/公司级.gif"
Width="667px" usemap="#Map" />