我正在使用名为maphilight的外部JS函数(http://davidlynch.org/projects/maphilight/docs/)
在imageMap上使用它时会非常精彩,除非将imageMap放在modalPopupExtender中,这使得它根本不可见..
我不知道问题是什么,所以任何帮助都绝对是太棒了,因为我把头发拉过来!
谢谢! :)
使用maphighlight js:
<asp:ImageMap id="mapAssets" runat="server" HotSpotMode="Navigate" ImageUrl="image" ClientIDMode="Static" style="opacity:0.3; filter:alpha(opacity=40);" >
<asp:RectangleHotSpot Top="390" Left="367" Right="707" Bottom="609" AlternateText=".." HotSpotMode="PostBack" />
</asp:ImageMap>
不工作JS:
<asp:Button ID="btnabc" runat="server" />
<cc1:ModalPopupExtender runat="server" ID="ModalPopupExtender1" TargetControlID="btnabc" PopupControlID="pnltest"
CancelControlID="btnCancel" ClientIDMode="Static" >
</cc1:ModalPopupExtender>
<asp:Panel id="pnltest" runat="server" BackColor="Transparent" style="opacity:0.4;">
<asp:ImageMap id="mapAssets" runat="server" HotSpotMode="Navigate" ImageUrl="image" ClientIDMode="Static" style="opacity:0.3; filter:alpha(opacity=40);" >
<asp:RectangleHotSpot Top="390" Left="367" Right="707" Bottom="609" AlternateText="..." HotSpotMode="PostBack" />
</asp:ImageMap>
</asp:Panel>