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