progress-bar.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4. <title>ProgressBar</title>
  5. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  6. <!-- GC -->
  7. <!-- LIBS -->
  8. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  9. <!-- ENDLIBS -->
  10. <script type="text/javascript" src="../../ext-all.js"></script>
  11. <script type="text/javascript" src="progress-bar.js"></script>
  12. <link rel="stylesheet" type="text/css" href="progress-bar.css" />
  13. <!-- Common Styles for the examples -->
  14. <link rel="stylesheet" type="text/css" href="../examples.css" />
  15. </head>
  16. <body>
  17. <script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
  18. <h1>Progress Bar</h1>
  19. <p>The example shows how to use the ProgressBar class. The js is not minified so it is readable.
  20. See <a href="progress-bar.js">progress-bar.js</a>.
  21. </p>
  22. <p>
  23. <b>Basic Progress Bar</b><br />
  24. Deferred rendering, dynamic show/hide and built-in progress text:
  25. <button id="btn1">Show</button><br />
  26. <div class="status" id="p1text">Nothing to see here.</div>
  27. <div id="p1" style="width:300px;"></div>
  28. </p>
  29. <p>
  30. <b>Additional Options</b><br />
  31. Rendered on page load, left-aligned text and % width:
  32. <button id="btn2">Show</button><br />
  33. <div id="p2" style="width:50%;"></div>
  34. </p>
  35. <p>
  36. <b>Waiting Bar</b><br />
  37. Wait for a long operation to complete (example will stop after 5 secs):
  38. <button id="btn3">Show</button><br />
  39. <div id="p3"></div>
  40. <span class="status" id="p3text">Ready</span>
  41. </p>
  42. <p>
  43. <b>Custom Styles</b><br />
  44. Rendered like Windows XP with custom progress text element:
  45. <button id="btn4">Show</button><br />
  46. <div id="p4" style="width:300px;"></div>
  47. <div class="status"><b>Status:</b> <span id="p4text"></span></div>
  48. </p>
  49. </body>
  50. </html>