You have been tasked with creating a web application that enables users to interact with an image of a circle.
The web application consists of an ASP.NET web page with an ImageButton element displaying the circle image. Upon clicking the circle image, JavaScript functions are invoked to determine the coordinates of the click, identify the quadrant, and calculate the distance from the center. The results are then displayed to the user.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Circle Interaction</title> <script type="text/javascript"> // JavaScript functions for circle interaction </script> </head> <body> <form id="form1" runat="server"> <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="circle.png" OnClientClick="getClickCoordinates(event); return false;" /> <div id="quadrantInfo" runat="server"></div> <div id="distanceInfo" runat="server"></div> </form> </body> </html>