summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TImage
diff options
context:
space:
mode:
authorxue <>2006-01-20 04:20:39 +0000
committerxue <>2006-01-20 04:20:39 +0000
commit138dbc23381a82eaf17a2685cc3bdb54ad8b7f51 (patch)
tree273ff3e0fa183830178d8f51dff4643010baccd3 /demos/quickstart/protected/pages/Controls/Samples/TImage
parent381d966198453626832c97447deb54f9cc4b06dd (diff)
Added TImage and THyperLink demos.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TImage')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TImage/HelloWorld.html8
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TImage/Home.page41
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TImage/hello_world.gifbin0 -> 1602 bytes
3 files changed, 49 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TImage/HelloWorld.html b/demos/quickstart/protected/pages/Controls/Samples/TImage/HelloWorld.html
new file mode 100644
index 00000000..3a319a1b
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TImage/HelloWorld.html
@@ -0,0 +1,8 @@
+<html>
+<head>
+<title>Hello World!</title>
+</head>
+<body>
+This is Hello World long description file!
+</body>
+</html> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TImage/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TImage/Home.page
new file mode 100644
index 00000000..5dbb754b
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TImage/Home.page
@@ -0,0 +1,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> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TImage/hello_world.gif b/demos/quickstart/protected/pages/Controls/Samples/TImage/hello_world.gif
new file mode 100644
index 00000000..bc81443c
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TImage/hello_world.gif
Binary files differ