ASP.Net/Asp Control/RectangleHotSpot
RectangleHotSpot for asp ImageMap
<source lang="csharp">
<%@ Page Language="C#" %> <html> <head>
<title>ImageMap Navigate</title>
</head> <body>
<form id="form1" runat="server">
<asp:ImageMap id="mapNavigate" width="300" height="300" ImageUrl="http://www.nfex.ru/style/logo.png" Runat="server"> <asp:RectangleHotSpot NavigateUrl="Home.aspx" Left="0" Top="0" Right="100" Bottom="50" AlternateText="Navigate to Home" /> <asp:RectangleHotSpot NavigateUrl="http://www.nfex.ru" Left="100" Top="0" Right="200" Bottom="50" AlternateText="Navigate to Products" /> <asp:RectangleHotSpot NavigateUrl="http://www.google.ca" Left="200" Top="0" Right="300" Bottom="50" AlternateText="Navigate to Services" /> </asp:ImageMap>
</form>
</body> </html>
</source>