statusbar-demo.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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>Ext.ux.StatusBar Examples</title>
  6. <!-- Ext -->
  7. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  8. <script type="text/javascript" src="../../ext-all.js"></script>
  9. <link rel="stylesheet" type="text/css" href="../ux/statusbar/css/statusbar.css" />
  10. <link rel="stylesheet" type="text/css" href="../../examples/shared/example.css" />
  11. <!-- GC -->
  12. <style>
  13. body .x-panel {
  14. margin-bottom:20px;
  15. }
  16. </style>
  17. <script type="text/javascript" src="statusbar-demo.js"> </script>
  18. </head>
  19. <body>
  20. <h1>StatusBar Examples</h1>
  21. <p>Here are several examples of using and customizing the <a href="../ux/statusbar/StatusBar.js">Ext.ux.StatusBar</a> component.</p>
  22. <p>Note that the js is not minified so it is readable. See <a href="statusbar-demo.js">statusbar-demo.js</a>.</p>
  23. <h2>Basic StatusBar</h2>
  24. <p>This is a simple StatusBar with a few standard Toolbar items included.</p>
  25. <div id="basic"></div>
  26. <h2>Right-Aligned StatusBar</h2>
  27. <p>This is a simple StatusBar that has the status element right-aligned. Any StatusBar items will be added in
  28. exactly the same order on the left side of the bar.</p>
  29. <div id="right-aligned"></div>
  30. <h2>Status Window</h2>
  31. <p>You can add a StatusBar to a window in exactly the same way.</p>
  32. <div id="window" style="margin-bottom:20px;"></div>
  33. <h2>Customizing the Look and Feel</h2>
  34. <p>This is a standard StatusBar with some custom CSS styles applied and some event handling in place to
  35. handle the TextArea's keypress events. Notice that after you've stopped typing for a few seconds a
  36. simulated auto-save process will begin.</p>
  37. <div id="word-proc"></div>
  38. </body>
  39. </html>