ADROTATOR controls can quickly implement advertising publishing
Change the code in the code about ADROTATOR
Among them, Ads.xml is a picture attribute file, the content is as follows
Advertisements>
Implement image on panel Click to have imagemap and imagebutton controls
ImageButton controls can get the mouse coordinate on the image, which is obtained on a particular area, as shown below
Protected Sub ImageButton1_Click (ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click Dim x As Integer = eX Dim y As Integer = eY Label2.Text = "X:" & x.ToString () & "Y:" & y.toString () IF Y> = 120 Then Label3.text = "You click on Springs!" Else: label3.text = "You click Sohu" end if End Sub
ImageButton controls can define a hot zone, and the hot zone can be rectangular, circular, or polygonal.