Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / examples / form / forum-search.html
1 <html>
2 <head>
3     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4     <title>ComboBox - Live Search</title>
5
6     <!-- ExtJS -->
7     <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
8     <script type="text/javascript" src="../../bootstrap.js"></script>
9
10     <!-- Shared -->
11     <link rel="stylesheet" type="text/css" href="../shared/example.css" />
12
13     <!-- Example -->
14     <script type="text/javascript" src="forum-search.js"></script>
15     <style type="text/css">
16         .search-item {
17             padding: 5px 10px;
18             white-space: normal;
19             color: #555;
20             text-decoration: none;
21             display: block;
22             overflow: hidden;
23         }
24
25         .search-item h3 {
26             display: block;
27             font: inherit;
28             font-weight: bold;
29             color: #222;
30         }
31
32         .search-item h3 span {
33             float: right;
34             font-weight: normal;
35             margin:0 0 5px 5px;
36             width: 100px;
37             clear: none;
38         }
39
40         html, body {
41             border: 0;
42         }
43     </style>
44 </head>
45 <body>
46
47 <h1>Combo with Templates and Ajax</h1>
48
49 <p>This is a more advanced example that shows how you can combine <!--paging, -->Ext.Template and a
50 remote data store to create a "live search" feature. Try searching for terms like "form", or "grid".</p>
51
52 <p>Each item in the resulting list is a link which may be clicked to navigate to the found forum thread.</p>
53
54 <p>The js is not minified so it is readable. See <a href="forum-search.js">forum-search.js</a>.</p>
55
56 </body>
57 </html>