You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.9 KiB

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