Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / examples / form / custom-form.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>Custom Form Fields</title>
6
7     <!-- ExtJS -->
8     <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
9     <style type="text/css">
10         #search-results a {
11             color: #385F95;
12             font:bold 11px tahoma, arial, helvetica, sans-serif;
13             text-decoration:none;
14         }
15         
16         #search-results a:hover {
17             text-decoration:underline;
18         }
19         
20         #search-results p {
21             margin:3px !important;
22         }
23         
24         .search-item {
25             font:normal 11px tahoma, arial, helvetica, sans-serif;
26             padding:3px 10px 3px 10px;
27             border:1px solid #fff;
28             border-bottom:1px solid #eeeeee;
29             white-space:normal;
30             color:#555;
31         }
32         .search-item h3 {
33             display:block;
34             font:inherit;
35             font-weight:bold;
36             color:#222;
37         }
38
39         .search-item h3 span {
40             float: right;
41             font-weight:normal;
42             margin:0 0 5px 5px;
43             width:100px;
44             display:block;
45             clear:none;
46         }
47         
48         .x-form-clear-trigger {
49             background-image: url(../../resources/themes/images/default/form/clear-trigger.gif);
50         }
51         
52         .x-form-search-trigger {
53             background-image: url(../../resources/themes/images/default/form/search-trigger.gif);
54         }
55     </style>
56     <script type="text/javascript" src="../../bootstrap.js"></script>
57
58     <!-- Shared -->
59     <link rel="stylesheet" type="text/css" href="../shared/example.css" />
60
61     <!-- Example -->
62     <script type="text/javascript" src="custom-form.js"></script>
63 </head>
64 <body>
65 <p>
66     <b>Custom Form Fields</b><br />
67     Ext provides many types of form fields to build interactive and rich forms. However, it also
68     provides a complete framework for building new types of fields quickly. The search field below
69     is an example.
70 </p>
71 <p>The js is not minified so it is readable. See <a href="custom-form.js">custom-form.js</a>.</p>
72
73 <div id="search-panel">
74 </div>
75
76 </body>
77 </html>