Examples - add htmleditor resizable example
[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="states.js"></script>
23     <script type="text/javascript" src="dynamic.js"></script>
24     <script type="text/javascript" src="../examples.js"></script>&nbsp;
25     
26     <!-- Common Styles for the examples -->
27     <link rel="stylesheet" type="text/css" href="../examples.css" />
28
29
30
31 <style>
32  
33 .roodocs-formblock
34 {
35     border:4px solid #CCCCCC;
36     padding:5px 0pt 5px 10px;
37
38 </style>
39 </head>
40 <body>
41     
42     <h1>Dynamic Forms built with JavaScript</h1>
43     <p>
44         These forms do not do anything and have very little validation. They solely demonstrate
45         how you can use Ext Forms to build and layout forms on the fly.
46     </p>
47     
48     <p>The js is not minified so it is readable. See 
49     <button type="button" onclick="RooDocs.viewSource.show('/dynamic.js')">dynamic.js</button> and 
50     <button type="button" onclick="RooDocs.viewSource.show('/dynamic.html')">dynamic.html</button>
51     .</p>
52     
53     
54     
55     
56     <div style="width:345px;"  class="roodocs-formblock">
57         <h3>Display Form</h3>
58         <div id="form-ct5"></div>
59     </div>
60     
61     
62     <div class="roodocs-formblock" style="width:325px;height:200px">
63         <h3 style="margin-bottom:5px;">Simple Form</h3>
64         <div id="form-ct"></div>
65     </div>
66     <br/>
67      
68     
69     <div style="width:565px;" class="roodocs-formblock">
70         
71             <h3 style="margin-bottom:5px;">Multi-column and labels top</h3>
72             <div id="form-ct2"></div>
73         
74     </div>
75     
76     
77     
78     <br/>
79     <div style="width:345px;"  class="roodocs-formblock">
80         <h3>Fieldsets, labels right and complex fields</h3>
81         <div id="form-ct3"></div>
82     </div>
83     
84     <br/>
85     <div style="width:600px;" class="roodocs-formblock">
86             <h3 style="margin-bottom:5px;">Multi-column, nesting and fieldsets</h3>
87             <div id="form-ct4"> </div>
88     </div>
89     
90     <div class="x-form-clear"></div>
91
92
93
94 </body>
95 </html>