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.

60 lines
1.7 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Custom Spinner Widget Example</title>
  6. <!-- ** CSS ** -->
  7. <!-- base library -->
  8. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  9. <!-- overrides to base library -->
  10. <link rel="stylesheet" type="text/css" href="../ux/css/Spinner.css" />
  11. <!-- page specific -->
  12. <style type="text/css">
  13. /* global css */
  14. body {
  15. padding:0 2em 3em;
  16. font: normal 12px arial, helvetica, sans-serif;
  17. color: #282828;
  18. }
  19. </style>
  20. <!-- ** Javascript ** -->
  21. <!-- ExtJS library: base/adapter -->
  22. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  23. <!-- ExtJS library: all widgets -->
  24. <script type="text/javascript" src="../../ext-all.js"></script>
  25. <!-- overrides to base library -->
  26. <!-- extensions -->
  27. <script type="text/javascript" src="../ux/Spinner.js"></script>
  28. <script type="text/javascript" src="../ux/SpinnerField.js"></script>
  29. <!-- page specific -->
  30. <script type="text/javascript" src="spinner.js"></script>
  31. </head>
  32. <body>
  33. <h1>Custom Spinner Widget Example</h1>
  34. <p>This example demonstrates a Custom Spinner Widget</p>
  35. <p>The Custom Spinner Widget utilizes the
  36. <a href="../ux/Spinner.js">Ext.ux.Spinner</a>
  37. and
  38. <a href="../ux/SpinnerField.js">Ext.ux.form.SpinnerField</a>
  39. classes.</p>
  40. <p>The js is not minified so it is readable. See <a href="spinner.js">spinner.js</a>.</p>
  41. <div id="form-ct" style="margin-top:1em"></div>
  42. </body>
  43. </html>