Using the ImageMap Control
The ImageMap control enables you to create a client-side image map. An image map displays an image. When you click different areas of the image, things happen.
For example, you can use an image map as a fancy navigation bar. In that case, clicking different areas of the image map navigates to different pages in your website.
You also can use an image map as an input mechanism. For example, you can click different product images to add a particular product to a shopping cart.
An ImageMap control is composed out of instances of the HotSpot class. A HotSpot defines the clickable regions in an image map. The ASP.NET Framework ships with three HotSpot classes:
• CircleHotSpot—
Enables you to define a circular region in an ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access