examples/form/htmledit.html
[roojs1] / examples / form / htmledit.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
2         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
3 <html>
4     <head>
5         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6         <title>Forms</title>
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          <link rel="stylesheet" type="text/css" href="../../css/inline-editor.css"/>
11        
12         <style>
13          
14         .roodocs-formblock
15         {
16             border:4px solid #CCCCCC;
17             padding:5px 0pt 5px 10px;
18         } 
19         </style>
20     </head>
21     <body>
22             
23         <h1>HTML Editor example</h1>
24         <p>
25             These forms do not do anything and have very little validation. They solely demonstrate
26             how you can use Roo HtmlEditor
27         </p>
28
29         <p>The js is not minified so it is readable. See 
30         <button type="button" onclick="RooDocs.viewSource.show('/htmledit.js')">htmledit.js</button> and 
31         <button type="button" onclick="RooDocs.viewSource.show('/htmledit.html')">htmledit.html</button>
32         .</p>
33
34
35
36
37         <div style="width:900px;"  class="roodocs-formblock">
38             <h3>Display Form</h3>
39             <div id="form-ct5"></div>
40         </div>
41
42          
43
44         <div class="x-form-clear"></div>
45
46
47         <script type="text/javascript" src="../../roojs-all.js"></script>   
48         <!-- testing new code.. -->
49         <script type="text/javascript" src="../../Roo/form/HtmlEditor.js"></script>        
50         <script type="text/javascript" src="../../Roo/form/HtmlEditor/ToolbarStandard.js"></script>
51           <script type="text/javascript" src="../../Roo/form/HtmlEditor/ToolbarContext.js"></script>        
52         <script type="text/javascript" src="../../Roo/menu/Item.js"></script>        
53         
54         <script type="text/javascript" src="../examples.js"></script>        
55         <script type="text/javascript" src="htmledit.js"></script>        
56     </body>
57 </html>