summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TImageMap/Home.page
blob: 5e56aefd3f405828b8d24c91d4237e5b8708f8e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<com:TContent ID="body">

<h1>TImageMap Sample</h1>

<com:TImageMap
		ImageUrl=<%~hotspots.gif%>
		AlternateText="navigate buttons"
		OnClick="buttonClicked" >

<com:TCircleHotSpot
	HotspotMode="Navigate"
	NavigateUrl="http://www.pradosoft.com"
	AlternateText="Navigate to pradosoft.com"
	Target="_blank"
	X="80"
	Y="80"
	Radius="55" />

<com:TPolygonHotSpot
	HotspotMode="Inactive"
	AlternateText="Inactive area"
	Coordinates="200,137,255,95,313,137,291,204,219,204"
	/>

<com:TRectangleHotSpot
	HotspotMode="PostBack"
	PostBackValue="Welcome!"
	AlternateText="Postback button"
	Top="52"
	Left="172"
	Bottom="259"
	Right="339" />

</com:TImageMap>

<br/>

<com:TLabel ID="Result" />

</com:TContent>