forum-search.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  7. <!-- GC -->
  8. <!-- LIBS -->
  9. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  10. <!-- ENDLIBS -->
  11. <script type="text/javascript" src="../../ext-all.js"></script>
  12. <script type="text/javascript" src="forum-search.js"></script>
  13. <link rel="stylesheet" type="text/css" href="combos.css" />
  14. <!-- Common Styles for the examples -->
  15. <link rel="stylesheet" type="text/css" href="../examples.css" />
  16. <style type="text/css">
  17. p { width:650px; }
  18. </style>
  19. </head>
  20. <body>
  21. <script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
  22. <p>
  23. <b>Combo with Templates and Ajax</b><br />
  24. This is a more advanced example that shows how you can combine paging, Ext.Template and a remote data store
  25. to create a "live search" feature.
  26. </p>
  27. <p>The js is not minified so it is readable. See <a href="forum-search.js">forum-search.js</a>.</p>
  28. <!-- The box wrap markup embedded instead of using Element.boxWrap() -->
  29. <div style="width:600px;">
  30. <div class="x-box-tl"><div class="x-box-tr"><div class="x-box-tc"></div></div></div>
  31. <div class="x-box-ml"><div class="x-box-mr"><div class="x-box-mc">
  32. <h3 style="margin-bottom:5px;">Search the Ext Forums</h3>
  33. <input type="text" size="40" name="search" id="search" />
  34. <div style="padding-top:4px;">
  35. Live search requires a minimum of 4 characters.
  36. </div>
  37. </div></div></div>
  38. <div class="x-box-bl"><div class="x-box-br"><div class="x-box-bc"></div></div></div>
  39. </div>
  40. </body>
  41. </html>