Add new form element Roo.form.DayPicker, a row of 7 checkboxes for Mon-Sun.
[roojs1] / examples / form / dynamic.html
index e47af96..f1659c5 100644 (file)
@@ -1,24 +1,27 @@
-<!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">-->
+<!DOCTYPE html 
+      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
 <html>
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=utf8">
 <title>Forms</title>
    
      
-    <link rel="stylesheet" type="text/css" href="../../css/roojs-debug.css"/>
+    <link rel="stylesheet" type="text/css" href="../../css/roojs.css"/>
     <link rel="stylesheet" type="text/css" href="../../css/xtheme-slate.css"/> 
-
+    <link rel="stylesheet" type="text/css" href="../../css/daypicker.css"/> 
 
 
      <script type="text/javascript" src="../../roojs-debug.js"></script>   
        
+    <script type="text/javascript" src="../../Roo/form/DayPicker.js"></script>
   
-<script type="text/javascript" src="states.js"></script>
-<script type="text/javascript" src="dynamic.js"></script>
-<link rel="stylesheet" type="text/css" href="forms.css" />
-
-<!-- Common Styles for the examples -->
-<link rel="stylesheet" type="text/css" href="../examples.css" />
+    <script type="text/javascript" src="states.js"></script>
+    <script type="text/javascript" src="dynamic.js"></script>
+    <script type="text/javascript" src="../examples.js"></script>&nbsp;
+    
+    <!-- Common Styles for the examples -->
+    <link rel="stylesheet" type="text/css" href="../examples.css" />
 
 
 
 </style>
 </head>
 <body>
-<script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
-<h1>Dynamic Forms built with JavaScript</h1>
-<p>
-    These forms do not do anything and have very little validation. They solely demonstrate
-    how you can use Ext Forms to build and layout forms on the fly.
-</p>
-
-<p>The js is not minified so it is readable. See 
-<button type="button" onclick="RooDocs.viewSource.show('/dynamic.js')">dynamic.js</button> and 
-<button type="button" onclick="RooDocs.viewSource.show('/dynamic.html')">dynamic.html</button>
-.</p>
-
-
-
-
-<div style="width:345px;"  class="roodocs-formblock">
-    <h3>Display Form</h3>
-    <div id="form-ct5"></div>
-</div>
-
-
-<div class="roodocs-formblock" style="width:280px;height:170px">
-    <h3 style="margin-bottom:5px;">Simple Form</h3>
-    <div id="form-ct"></div>
-</div>
-<br/>
-
-<div style="width:565px;" class="roodocs-formblock">
     
-        <h3 style="margin-bottom:5px;">Multi-column and labels top</h3>
-        <div id="form-ct2"></div>
+    <h1>Dynamic Forms built with JavaScript</h1>
+    <p>
+        These forms do not do anything and have very little validation. They solely demonstrate
+        how you can use Ext Forms to build and layout forms on the fly.
+    </p>
     
-</div>
-
-
-
-<br/>
-<div style="width:345px;"  class="roodocs-formblock">
-    <h3>Fieldsets, labels right and complex fields</h3>
-    <div id="form-ct3"></div>
-</div>
-
-<br/>
-<div style="width:600px;" class="roodocs-formblock">
-        <h3 style="margin-bottom:5px;">Multi-column, nesting and fieldsets</h3>
-        <div id="form-ct4"> </div>
-</div>
-
-<div class="x-form-clear"></div>
+    <p>The js is not minified so it is readable. See 
+    <button type="button" onclick="RooDocs.viewSource.show('/dynamic.js')">dynamic.js</button> and 
+    <button type="button" onclick="RooDocs.viewSource.show('/dynamic.html')">dynamic.html</button>
+    .</p>
+    
+    
+    
+    
+    <div style="width:345px;"  class="roodocs-formblock">
+        <h3>Display Form</h3>
+        <div id="form-ct5"></div>
+    </div>
+    
+    
+    <div class="roodocs-formblock" style="width:325px;height:200px">
+        <h3 style="margin-bottom:5px;">Simple Form</h3>
+        <div id="form-ct"></div>
+    </div>
+    <br/>
+     
+    
+    <div style="width:565px;" class="roodocs-formblock">
+        
+            <h3 style="margin-bottom:5px;">Multi-column and labels top</h3>
+            <div id="form-ct2"></div>
+        
+    </div>
+    
+    
+    
+    <br/>
+    <div style="width:345px;"  class="roodocs-formblock">
+        <h3>Fieldsets, labels right and complex fields</h3>
+        <div id="form-ct3"></div>
+    </div>
+    
+    <br/>
+    <div style="width:600px;" class="roodocs-formblock">
+            <h3 style="margin-bottom:5px;">Multi-column, nesting and fieldsets</h3>
+            <div id="form-ct4"> </div>
+    </div>
+    
+    <div class="x-form-clear"></div>