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