summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TImageMap/Home.page
blob: 99ba48aa69c38fcb6f4cf28202ffdfe2d94706b6 (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="https://github.com/pradosoft/prado"
	AlternateText="Navigate to Prado framework project page"
	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>