3 <title>The source code</title>
\r
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js">
9 Ext.onReady(function() {
11 // Create our instance of tabScrollerMenu
12 var scrollerMenu = new Ext.ux.TabScrollerMenu({
20 title : 'Exercising scrollable tabs with a tabscroller menu',
25 enableTabScroll : true,
29 plugins : [ scrollerMenu ],
32 title : 'our first tab'
38 // Add a bunch of tabs dynamically
41 for (var i = 1; i <= tabLimit; i++) {
42 var title = 'Tab # ' + i;
43 Ext.getCmp('myTPanel').add({
45 html : 'Hi, i am tab ' + i,