forum-search.html 1.7 KB

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