tabs-adv.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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>Advanced Tabs</title>
  6. <!-- Ext includes -->
  7. <script type="text/javascript" src="../../ext-all.js"></script>
  8. <script type="text/javascript" src="../shared/include-theme.js"></script>
  9. <!-- Shared example includes -->
  10. <link rel="stylesheet" type="text/css" href="../shared/example.css" />
  11. <script type="text/javascript" src="../shared/examples.js"></script>
  12. <!-- Example includes -->
  13. <link rel="stylesheet" type="text/css" href="tabs-adv.css" />
  14. <!-- GC -->
  15. <script type="text/javascript" src="tabs-adv.js"></script>
  16. </head>
  17. <body>
  18. <h1>Advanced Tabs</h1>
  19. <p>Note that the JS and CSS are not minified so they are readable. See <a href="tabs-adv.js">tabs-adv.js</a> for the tab creation code.</p>
  20. <p>This TabPanel is built entirely with JavaScript and demonstrates:</p>
  21. <ul class="list">
  22. <li>Auto tab resizing</li>
  23. <li>Tab scrolling</li>
  24. <li>Tabs with icons</li>
  25. <li>Tab plugins (context menu)</li>
  26. <li>Adding tabs with JS</li>
  27. <li>Changing a tab's closable property dynamically (via the context menu)</li>
  28. <li>Disabling a tab (also via the context menu)</li>
  29. </ul>
  30. <br>
  31. <div id="addButtonCt"></div>
  32. <br>
  33. <div id="tabs" style="margin:15px 0;"></div>
  34. </body>
  35. </html>