本文介绍了如何在Imagemap上显示一些图像部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的,
请帮我在图像地图控件中显示图像的某些部分,
有4部分图像, leftpartTop,LeftPartBottom,RightPaftTop,RightpartBottom
Dear All ,
Please help me for showing some part of image in imagemap control ,
There are 4 part of image , leftpartTop , LeftPartBottom , RightPaftTop, RightpartBottom
<div id="ImgDiv" runat="server" style="width:1000px;height:738px">
<asp:ImageMap ID="ImageMap1" runat="server" ImageAlign="Middle" ImageUrl="~/Images/Delhi_metro_rail_1stEng.png" BorderStyle="None" CssClass="imgArea" HotSpotMode="PostBack" Height="100%" Width="100%">
<asp:PolygonHotSpot AlternateText="Left Top " Coordinates="00,00,500,0,500,375,0,375" HotSpotMode="Navigate" PostBackValue="LeftTop" NavigateUrl="~/Equipment management/ZoomMap.aspx?region=LeftTop" />
<asp:PolygonHotSpot AlternateText="left Bottom" Coordinates="0,375,500,375,500,740,0,740" HotSpotMode="Navigate" TabIndex="1" PostBackValue="LeftBottom" NavigateUrl="~/Equipment management/ZoomMap.aspx?region=LeftBottom" />
<asp:PolygonHotSpot AlternateText="Right Top" Coordinates="500,0,1000,0,1000,375,500,375" HotSpotMode="Navigate" PostBackValue="RightTop" TabIndex="2" NavigateUrl="~/Equipment management/ZoomMap.aspx?region=RightTop" />
<asp:PolygonHotSpot AlternateText="Right bottom" Coordinates="500,375,1000,375,1000,740,500,740" HotSpotMode="Navigate" PostBackValue="RightBottom" TabIndex="3" NavigateUrl="~/Equipment management/ZoomMap.aspx?region=RightBottom" />
</asp:ImageMap>
</div>
我想点击rightBottom热点,然后在imagemap上显示rightBottom区域。
请查看并帮助我查看图像图上的零件...
谢谢
vilas
I want to click on rightBottom hotspot , then show the rightBottom area on imagemap.
Please check and help me for Viewing the part on imagemap ...
Thanks
vilas
推荐答案
这篇关于如何在Imagemap上显示一些图像部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!