diff options
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples')
4 files changed, 87 insertions, 0 deletions
| 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 @@ +<com:TContent ID="body">
 +
 +<h1>TImageMap Sample</h1>
 +
 +<com:TImageMap
 +		ImageUrl=<%~hotspots.gif%>
 +		AlternateText="navigate buttons"
 +		OnClick="buttonClicked" >
 +
 +<com:TCircleHotSpot
 +	HotspotMode="Navigate"
 +	NavigateUrl="http://www.pradosoft.com"
 +	AlternateText="Navigate to pradosoft.com"
 +	Target="_blank"
 +	X="80"
 +	Y="80"
 +	Radius="55" />
 +
 +<com:TPolygonHotSpot
 +	HotspotMode="Inactive"
 +	AlternateText="Inactive area"
 +	Coordinates="200,137,255,95,313,137,291,204,219,204"
 +	/>
 +
 +<com:TRectangleHotSpot
 +	HotspotMode="PostBack"
 +	PostBackValue="Welcome!"
 +	CausesValidation="true"
 +	ValidationGroup="Group1"
 +	AlternateText="Button 2"
 +	Top="52"
 +	Left="172"
 +	Bottom="259"
 +	Right="339" />
 +
 +</com:TImageMap>
 +
 +<br/>
 +
 +<com:TLabel ID="Result" />
 +
 +</com:TContent>
\ 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 @@ +<?php
 +
 +class Home extends TPage
 +{
 +	public function buttonClicked($sender,$param)
 +	{
 +		$this->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.gifBinary files differ new file mode 100644 index 00000000..dec647b1 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TImageMap/hotspots.gif 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 @@ +<com:TContent ID="body">
 +
 +<h1>TInlineFrame Samples</h1>
 +
 +<table class="sampletable">
 +
 +<tr><td class="samplenote">
 +Inline frame with default settings:
 +</td><td class="sampleaction">
 +<com:TInlineFrame FrameUrl="http://www.google.com/" />
 +</td></tr>
 +
 +<tr><td class="samplenote">
 +Inline frame customized with margins and align:
 +</td><td class="sampleaction">
 +<com:TInlineFrame
 +	MarginWidth="100"
 +	MarginHeight="100"
 +	Align="Right"
 +	FrameUrl="http://www.google.com/" />
 +</td></tr>
 +
 +<tr><td class="samplenote">
 +Inline frame without scrollbars and border:
 +</td><td class="sampleaction">
 +<com:TInlineFrame
 +	ScrollBars="None"
 +	ShowBorder="false"
 +	FrameUrl="http://www.google.com/" />
 +</td></tr>
 +
 +</table>
 +
 +</com:TContent>
\ No newline at end of file | 
