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