summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TImage/Home.page
blob: 5dbb754b9d3d1527471ccec6889e047417fcd425 (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
41
<com:TContent ID="body">

<h1>TImage Samples</h1>

<table class="sampletable">

<tr><td class="samplenote">
Image with only <tt>ImageUrl</tt> being set:
</td><td class="sampleaction">
<com:TImage ImageUrl=<%~hello_world.gif%> />
</td></tr>

<tr><td class="samplenote">
Image with <tt>AlterantiveText</tt> being set:
</td><td class="sampleaction">
<com:TImage
	ImageUrl=<%~hello_world.gif%>
	AlternateText="Hello World!"/>
</td></tr>

<tr><td class="samplenote">
Image with <tt>baseline</tt> alignment:
</td><td class="sampleaction">
Hello World! Hello World! Hello World! Hello World! Hello World! Hello World!
Hello World! Hello World! Hello World! Hello World! Hello World! Hello World!
Hello World! Hello World! Hello World! Hello World! Hello World! Hello World!
Hello World! Hello World! Hello World! Hello World! Hello World! Hello World!
<com:TImage ImageUrl=<%~hello_world.gif%> ImageAlign="baseline" />
</td></tr>

<tr><td class="samplenote">
Image with <tt>DescriptionUrl</tt>:
</td><td class="sampleaction">
<com:TImage
	ImageUrl=<%~hello_world.gif%>
	DescriptionUrl=<%~HelloWorld.html%> />
</td></tr>

</table>

</com:TContent>