Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<com:TContent ID="body" >
2
 
3
<h1 id="3101">TImageMap</h1>
4
<com:DocLink ClassPath="System.Web.UI.WebControls.TImageMap" />
5
 
6
<p id="360270" class="block-content">
7
<tt>TImageMap</tt> represents an image on a Web page with predefined hotspot regions that can respond differently to users' clicks on them. Depending on the <tt>HotSpotMode</tt> of the hotspot region, clicking on the hotspot may trigger a postback or navigate to a specified URL.
8
</p>
9
<p id="360271" class="block-content">
10
Each hotspot is described using a <tt>THotSpot</tt> object and is maintained in the <tt>HotSpots</tt> collection in <tt>TImageMap</tt>. A hotspot can be a circle, rectangle, polygon, etc.
11
</p>
12
<p id="360272" class="block-content">
13
Hotspots can be added to <tt>TImageMap</tt> via its <tt>HotSpots</tt> property or in a template like the following,
14
</p>
15
<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code_360106">
16
&lt;com:TImageMap ... &gt;
17
  &lt;com:TCircleHotSpot ... /&gt;
18
  &lt;com:TRectangleHotSpot ... /&gt;
19
  &lt;com:TPolygonHotSpot ... /&gt;
20
&lt;/com:TImageMap&gt;
21
</com:TTextHighlighter>
22
 
23
<com:RunBar PagePath="Controls.Samples.TImageMap.Home" />
24
 
25
<div class="last-modified">$Id: ImageMap.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>