Mega Code Archive

 
Categories / ASP.Net / Asp Control
 

RectangleHotSpot for asp ImageMap

<%@ Page Language="C#" %> <html> <head>     <title>ImageMap Navigate</title> </head> <body>     <form id="form1" runat="server">     <div>          <asp:ImageMap         id="mapNavigate"         width="300"         height="300"         ImageUrl="http://www.rntsoft.com/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.rntsoft.com"              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>          </div>     </form> </body> </html>