2 * Ext JS Library 2.2.1
\r
3 * Copyright(c) 2006-2009, Ext JS, LLC.
\r
4 * licensing@extjs.com
\r
6 * http://extjs.com/license
\r
9 Ext.onReady(function(){
\r
11 var tabs = new Ext.TabPanel({
\r
13 resizeTabs:true, // turn on tab resizing
\r
16 enableTabScroll:true,
\r
19 defaults: {autoScroll:true},
\r
20 plugins: new Ext.ux.TabCloseMenu()
\r
23 // tab generation code
\r
30 title: 'New Tab ' + (++index),
\r
32 html: 'Tab Body ' + (index) + '<br/><br/>'
\r
33 + Ext.example.bogusMarkup,
\r
42 }).render(document.body, 'tabs');
\r