/ext-4.0.7/examples/tabs/tabs-adv.html

https://bitbucket.org/srogerf/javascript · HTML · 38 lines · 30 code · 5 blank · 3 comment · 0 complexity · 20239f21659953c025cc0219aa0a53c1 MD5 · raw file

  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. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  8. <script type="text/javascript" src="../../bootstrap.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. <script type="text/javascript" src="tabs-adv.js"></script>
  15. </head>
  16. <body>
  17. <h1>Advanced Tabs</h1>
  18. <p>Note that the js and css is not minified so it is readable. See <a href="tabs-adv.js">tabs-adv.js</a> for the tab creation code.</p>
  19. <p>This TabPanel is built entirely with javascript and demonstrates:</p>
  20. <ul class="list">
  21. <li>Auto tab resizing</li>
  22. <li>Tab scrolling</li>
  23. <li>Tabs with icons</li>
  24. <li>Tab plugins (context menu)</li>
  25. <li>Adding tabs with JS</li>
  26. <li>Changing tab's closable property dynamically (via context menu)</li>
  27. </ul>
  28. <br>
  29. <div id="addButtonCt"></div>
  30. <br>
  31. <div id="tabs" style="margin:15px 0;"></div>
  32. </body>
  33. </html>