examples/form/htmledit2.html
authorAlan Knowles <alan@roojs.com>
Tue, 29 Apr 2014 04:05:20 +0000 (12:05 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 29 Apr 2014 04:05:20 +0000 (12:05 +0800)
examples/form/htmledit2.html

index e69de29..6dedeb2 100644 (file)
@@ -0,0 +1,75 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+        <title>Forms</title>
+        
+        <link rel="stylesheet" type="text/css" href="../../css/roojs-debug.css"/>
+        <link rel="stylesheet" type="text/css" href="../../css/xtheme-slate.css"/>
+         <link rel="stylesheet" type="text/css" href="../../css/inline-editor.css"/>
+       
+        <style>
+         
+        .roodocs-formblock
+        {
+            border:4px solid #CCCCCC;
+            padding:5px 0pt 5px 10px;
+        }
+        
+        
+        /** used in the example for pulldown styles **/
+        
+        TD.underline
+        {
+            border-bottom: 1px solid #222;
+        }
+        TD.double-underline
+        {
+            border-bottom: 3px double #222;
+        }
+        .headline
+        {
+            color: red;
+        }
+        
+        
+        </style>
+    </head>
+    <body>
+            
+        <h1>HTML Editor example</h1>
+        <p>
+            These forms do not do anything and have very little validation. They solely demonstrate
+            how you can use Roo HtmlEditor
+        </p>
+
+        <p>The js is not minified so it is readable. See 
+        <button type="button" onclick="RooDocs.viewSource.show('/htmledit.js')">htmledit.js</button> and 
+        <button type="button" onclick="RooDocs.viewSource.show('/htmledit.html')">htmledit.html</button>
+        .</p>
+
+
+
+
+        <div style="width:900px;"  class="roodocs-formblock">
+            <h3>Display Form</h3>
+            <div id="form-ct5"></div>
+        </div>
+
+         
+
+        <div class="x-form-clear"></div>
+
+
+        <script type="text/javascript" src="../../roojs-all.js"></script>   
+        <!-- testing new code.. -->
+        <script type="text/javascript" src="../../Roo/form/HtmlEditor.js"></script>        
+        <script type="text/javascript" src="../../Roo/form/HtmlEditor/ToolbarStandard.js"></script>
+          <script type="text/javascript" src="../../Roo/form/HtmlEditor/ToolbarContext.js"></script>        
+        <script type="text/javascript" src="../../Roo/menu/Item.js"></script>        
+        
+        <script type="text/javascript" src="../examples.js"></script>        
+        <script type="text/javascript" src="htmledit.js"></script>        
+    </body>
+</html>