From 3b7fe6b02f47ab6af284b6a188632cc1622e86cc Mon Sep 17 00:00:00 2001
From: "ctrlaltca@gmail.com" <>
Date: Wed, 8 Jun 2011 16:33:16 +0000
Subject: added accordion control from #213
---
.../protected/pages/Controls/Accordion.page | 55 ++++++++++++++++++++++
.../pages/Controls/Samples/TAccordion/Home.page | 28 +++++++++++
.../pages/Controls/Samples/TAccordion/Home.php | 7 +++
.../protected/pages/Controls/Standard.page | 4 ++
4 files changed, 94 insertions(+)
create mode 100644 demos/quickstart/protected/pages/Controls/Accordion.page
create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.page
create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.php
(limited to 'demos/quickstart/protected/pages')
diff --git a/demos/quickstart/protected/pages/Controls/Accordion.page b/demos/quickstart/protected/pages/Controls/Accordion.page
new file mode 100644
index 00000000..c4637c4b
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Accordion.page
@@ -0,0 +1,55 @@
+
+TAccordion displays an accordion control. Users can click on the view headers to switch among different accordion views. Each accordion view is an independent panel that can contain arbitrary content.
+
+A TAccordion control consists of one or several TAccordionView controls representing the possible accordion views. At any time, only one accordion view is visible (active), which is specified by any of the following properties:
+
+If both ActiveViewIndex and ActiveViewID are set, the latter takes precedence.
+
+TAccordion uses CSS to specify the appearance of the accordion headers and panels. By default, an embedded CSS file will be published which contains the default CSS for TAccordion. You may also use your own CSS file by specifying the CssUrl property. The following properties specify the CSS classes used for elements in a TAccordion:
+
+To use TAccordion, write a template like following:
+ Please choose a color:
+ Click on the following button to see if we keep your input after postback.
+ TAccordion
+
+
+
+
+
+
+TAccordion Samples
+
+View 1
+ View 2
+ View 3
+
* the tutorial for this control is not completed yet.