examples/form/dynamic.html
[roojs1] / examples / form / dynamic.html
1 <!DOCTYPE html 
2       PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
4 <html>
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf8">
7 <title>Forms</title>
8    
9      
10     <link rel="stylesheet" type="text/css" href="../../css/roojs.css"/>
11     <link rel="stylesheet" type="text/css" href="../../css/xtheme-slate.css"/> 
12     <link rel="stylesheet" type="text/css" href="../../css/daypicker.css"/> 
13
14
15      <script type="text/javascript" src="../../roojs-debug.js"></script>   
16        
17     <script type="text/javascript" src="../../Roo/form/DayPicker.js"></script>
18     <!-- for testing -->
19       <script type="text/javascript" src="../../Roo/form/HtmlEditor.js"></script>
20         <script type="text/javascript" src="../../Roo/form/HtmlEditor/ToolbarStandard.js"></script>
21
22         <script type="text/javascript" src="../../Roo/form/ComboBoxArray.js"></script>
23
24
25     <script type="text/javascript" src="states.js"></script>
26     <script type="text/javascript" src="dynamic.js"></script>
27     <script type="text/javascript" src="../examples.js"></script>&nbsp;
28     
29     <!-- Common Styles for the examples -->
30     <link rel="stylesheet" type="text/css" href="../examples.css" />
31
32
33
34 <style>
35  
36 .roodocs-formblock
37 {
38     border:4px solid #CCCCCC;
39     padding:5px 0pt 5px 10px;
40
41 </style>
42 </head>
43 <body>
44     
45     <h1>Dynamic Forms built with JavaScript</h1>
46     <p>
47         These forms do not do anything and have very little validation. They solely demonstrate
48         how you can use Ext Forms to build and layout forms on the fly.
49     </p>
50     
51     <p>The js is not minified so it is readable. See 
52     <button type="button" onclick="RooDocs.viewSource.show('/dynamic.js')">dynamic.js</button> and 
53     <button type="button" onclick="RooDocs.viewSource.show('/dynamic.html')">dynamic.html</button>
54     .</p>
55     
56     
57     
58     
59     <div style="width:345px;"  class="roodocs-formblock">
60         <h3>Display Form</h3>
61         <div id="form-ct5"></div>
62     </div>
63     
64     
65     <div class="roodocs-formblock" style="width:325px;height:200px">
66         <h3 style="margin-bottom:5px;">Simple Form</h3>
67         <div id="form-ct"></div>
68     </div>
69     <br/>
70      
71     
72     <div style="width:565px;" class="roodocs-formblock">
73         
74             <h3 style="margin-bottom:5px;">Multi-column and labels top</h3>
75             <div id="form-ct2"></div>
76         
77     </div>
78     
79     
80     
81     <br/>
82     <div style="width:345px;"  class="roodocs-formblock">
83         <h3>Fieldsets, labels right and complex fields</h3>
84         <div id="form-ct3"></div>
85     </div>
86     
87     <br/>
88     <div style="width:600px;" class="roodocs-formblock">
89             <h3 style="margin-bottom:5px;">Multi-column, nesting and fieldsets</h3>
90             <div id="form-ct4"> </div>
91     </div>
92     
93     <div class="x-form-clear"></div>
94
95
96
97 </body>
98 </html>