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.css"/>
7     <link rel="stylesheet" type="text/css" href="../../css/xtheme-slate.css"/>
8
9      
10   
11     <link rel="stylesheet" type="text/css" href="forms.css" />
12
13 <!-- Common Styles for the examples -->
14 <link rel="stylesheet" type="text/css" href="../examples.css" />
15
16
17
18 <style>
19  
20 .roodocs-formblock
21 {
22     border:4px solid #CCCCCC;
23     padding:5px 0pt 5px 10px;
24
25 </style>
26 </head>
27 <body>
28 <script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
29 <h1>HTML Editor example</h1>
30 <p>
31     These forms do not do anything and have very little validation. They solely demonstrate
32     how you can use Roo HtmlEditor
33 </p>
34
35 <p>The js is not minified so it is readable. See 
36 <button type="button" onclick="RooDocs.viewSource.show('/htmledit.js')">dynamic.js</button> and 
37 <button type="button" onclick="RooDocs.viewSource.show('/htmledit.html')">dynamic.html</button>
38 .</p>
39
40
41
42
43 <div style="width:345px;"  class="roodocs-formblock">
44     <h3>Display Form</h3>
45     <div id="form-ct5"></div>
46 </div>
47
48  
49
50 <div class="x-form-clear"></div>
51
52
53 <script type="text/javascript" src="../../roojs-all.js"></script>   
54 <script type="text/javascript" src="../../Roo/form/HtmlEditor.js"></script>        
55     
56 </body>
57 </html>