From b6e539162ea75250932b83def2c28d00041f96af Mon Sep 17 00:00:00 2001
From: xue <>
Date: Fri, 31 Mar 2006 22:13:53 +0000
Subject: Added TImageMap and TInlineFrame demos.
---
.../protected/pages/Controls/ImageMap.page | 19 ++++++++++
.../protected/pages/Controls/InlineFrame.page | 18 +++++++++
.../pages/Controls/Samples/TImageMap/Home.page | 42 +++++++++++++++++++++
.../pages/Controls/Samples/TImageMap/Home.php | 11 ++++++
.../pages/Controls/Samples/TImageMap/hotspots.gif | Bin 0 -> 3563 bytes
.../pages/Controls/Samples/TInlineFrame/Home.page | 34 +++++++++++++++++
.../protected/pages/Controls/Standard.page | 4 +-
7 files changed, 126 insertions(+), 2 deletions(-)
create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TImageMap/Home.page
create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TImageMap/Home.php
create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TImageMap/hotspots.gif
create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TInlineFrame/Home.page
(limited to 'demos/quickstart')
diff --git a/demos/quickstart/protected/pages/Controls/ImageMap.page b/demos/quickstart/protected/pages/Controls/ImageMap.page
index 0d7d65b1..997faad6 100644
--- a/demos/quickstart/protected/pages/Controls/ImageMap.page
+++ b/demos/quickstart/protected/pages/Controls/ImageMap.page
@@ -3,4 +3,23 @@
TImageMap
+
+TImageMap represents an image on a Web page with predefined hotspot regions that can respond differently to users' clicks on them. Depending on the HotSpotMode of the hotspot region, clicking on the hotspot may trigger a postback or navigate to a specified URL.
+
+
+Each hotspot is described using a THotSpot object and is maintained in the HotSpots collection in TImageMap. A hotspot can be a circle, rectangle, polygon, etc.
+
+
+Hotspots can be added to TImageMap via its HotSpots property or in a template like the following,
+
+
+<com:TImageMap ... >
+ <com:TCircleHotSpot ... />
+ <com:TRectangleHotSpot ... />
+ <com:TPolygonHotSpot ... />
+</com:TImageMap>
+
+
+
+
\ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/InlineFrame.page b/demos/quickstart/protected/pages/Controls/InlineFrame.page
index ea89a690..56e3f382 100644
--- a/demos/quickstart/protected/pages/Controls/InlineFrame.page
+++ b/demos/quickstart/protected/pages/Controls/InlineFrame.page
@@ -3,4 +3,22 @@
TInlineFrame
+
+TInlineFrame displays an inline frame (<iframe>) on a Web page. The location of the frame content is specified by the FrameUrl property.
+
+
+The appearance of a TInlineFrame may be customized with the following properties, in addition to those inherited from TWebControl.
+
+
+ - Align - the alignment of the frame.
+ - DescriptionUrl - the URI of a long description of the frame's contents.
+ - MarginWidth and MarginHeight - the number of pixels to use as the left/right margins and top/bottom margins, respectively.
+ - ScrollBars - whether scrollbars are provided for the inline frame. By default, it is Auto, meaning the scroll bars appear as needed. Setting it as None or Both to explicitly hide or show the scroll bars.
+
+
+
+The following samples show TInlineFrame with different property settings. The Google homepage is used as the frame content.
+
+
+
\ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TImageMap/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TImageMap/Home.page
new file mode 100644
index 00000000..bf291456
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TImageMap/Home.page
@@ -0,0 +1,42 @@
+
+
+TImageMap Sample
+
+
+ AlternateText="navigate buttons"
+ OnClick="buttonClicked" >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TImageMap/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TImageMap/Home.php
new file mode 100644
index 00000000..b8e17941
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TImageMap/Home.php
@@ -0,0 +1,11 @@
+Result->Text="Your post value is : ".$param->PostBackValue;
+ }
+}
+
+?>
\ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TImageMap/hotspots.gif b/demos/quickstart/protected/pages/Controls/Samples/TImageMap/hotspots.gif
new file mode 100644
index 00000000..dec647b1
Binary files /dev/null and b/demos/quickstart/protected/pages/Controls/Samples/TImageMap/hotspots.gif differ
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TInlineFrame/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TInlineFrame/Home.page
new file mode 100644
index 00000000..90f3f5a1
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TInlineFrame/Home.page
@@ -0,0 +1,34 @@
+
+
+TInlineFrame Samples
+
+
+
+
+Inline frame with default settings:
+ |
+
+ |
+
+
+Inline frame customized with margins and align:
+ |
+
+ |
+
+
+Inline frame without scrollbars and border:
+ |
+
+ |
+
+
+
+
\ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Standard.page b/demos/quickstart/protected/pages/Controls/Standard.page
index 026d3d1a..d2b36d1c 100644
--- a/demos/quickstart/protected/pages/Controls/Standard.page
+++ b/demos/quickstart/protected/pages/Controls/Standard.page
@@ -51,11 +51,11 @@
TImageButton represents a click button that has an image as the background. It is mainly used to trigger page postback.
- *
+
TImageMap represents an image on a Web page with clickable hotspot regions.
- *
+
TInlineFrame represents an <iframe> HTML element on a Web page.
--
cgit v1.2.3