[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/demos/quickstart/protected/pages/Controls/ -> ImageMap.page (source)

   1  <com:TContent ID="body" >
   2  
   3  <h1 id="3101">TImageMap</h1>
   4  <com:DocLink ClassPath="System.Web.UI.WebControls.TImageMap" />
   5  
   6  <p>
   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>
  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>
  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">
  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  </com:TContent>


Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7