23ebd7d98a1a4eb4fd456c47136aaf2ef940520f
[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         
20         
21         /** used in the example for pulldown styles **/
22         
23         TD.underline
24         {
25             border-bottom: 1px solid #222;
26         }
27         TD.double-underline
28         {
29             border-bottom: 3px double #222;
30         }
31         .headline
32         {
33             color: red;
34         }
35         
36         
37         </style>
38     </head>
39     <body>
40             
41         <h1>HTML Editor example</h1>
42         <p>
43             These forms do not do anything and have very little validation. They solely demonstrate
44             how you can use Roo HtmlEditor
45         </p>
46
47         <p>The js is not minified so it is readable. See 
48         <button type="button" onclick="RooDocs.viewSource.show('/htmledit.js')">htmledit.js</button> and 
49         <button type="button" onclick="RooDocs.viewSource.show('/htmledit.html')">htmledit.html</button>
50         .</p>
51
52
53
54
55         <div style="width:900px;"  class="roodocs-formblock">
56             <h3>Display Form</h3>
57             <div id="form-ct5"></div>
58         </div>
59
60          
61
62         <div class="x-form-clear"></div>
63
64
65         <script type="text/javascript" src="../../roojs-debug.js"></script>   
66         <!-- testing new code.. -->
67         <script type="text/javascript" src="../../Roo/DomHelper.js"></script>
68         <script type="text/javascript" src="../../Roo/lib/UndoManager.js"></script>
69         <script type="text/javascript" src="../../Roo/lib/Range.js"></script>
70         <script type="text/javascript" src="../../Roo/lib/Selection.js"></script>
71         <script type="text/javascript" src="../../Roo/htmleditor/KeyEnter.js"></script>        
72           <script type="text/javascript" src="../../Roo/HtmlEditorCore.js"></script>        
73         <script type="text/javascript" src="../../Roo/form/HtmlEditor.js"></script>        
74         <script type="text/javascript" src="../../Roo/form/HtmlEditor/ToolbarStandard.js"></script>
75         <script type="text/javascript" src="../../Roo/htmleditor/Block.js"></script>
76         <script type="text/javascript" src="../../Roo/htmleditor/BlockTable.js"></script>
77         <script type="text/javascript" src="../../Roo/htmleditor/BlockFigure.js"></script>
78         <script type="text/javascript" src="../../Roo/htmleditor/BlockTd.js"></script>
79         <script type="text/javascript" src="../../Roo/htmleditor/FilterBlock.js"></script>
80         <script type="text/javascript" src="../../Roo/htmleditor/Tidy.js"></script>
81         <script type="text/javascript" src="../../Roo/htmleditor/TidyEntities.js"></script>
82         <script type="text/javascript" src="../../Roo/htmleditor/TidySerializer.js"></script>
83         <script type="text/javascript" src="../../Roo/htmleditor/TidyWriter.js"></script>
84
85         <script type="text/javascript" src="../../Roo/form/HtmlEditor/ToolbarContext.js"></script>
86         <script type="text/javascript" src="../../Roo/menu/Item.js"></script>        
87         
88         <script type="text/javascript" src="../examples.js"></script>        
89         <script type="text/javascript" src="htmledit.js"></script>        
90     </body>
91 </html>