tabs-adv.html
1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Advanced Tabs</title>
<!-- Ext includes -->
<script type="text/javascript" src="../../ext-all.js"></script>
<script type="text/javascript" src="../shared/include-theme.js"></script>
<!-- Shared example includes -->
<link rel="stylesheet" type="text/css" href="../shared/example.css" />
<script type="text/javascript" src="../shared/examples.js"></script>
<!-- Example includes -->
<link rel="stylesheet" type="text/css" href="tabs-adv.css" />
<!-- GC -->
<script type="text/javascript" src="tabs-adv.js"></script>
</head>
<body>
<h1>Advanced Tabs</h1>
<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>
<p>This TabPanel is built entirely with JavaScript and demonstrates:</p>
<ul class="list">
<li>Auto tab resizing</li>
<li>Tab scrolling</li>
<li>Tabs with icons</li>
<li>Tab plugins (context menu)</li>
<li>Adding tabs with JS</li>
<li>Changing a tab's closable property dynamically (via the context menu)</li>
<li>Disabling a tab (also via the context menu)</li>
</ul>
<br>
<div id="addButtonCt"></div>
<br>
<div id="tabs" style="margin:15px 0;"></div>
</body>
</html>