3 * Copyright(c) 2006-2009 Ext JS, LLC
5 * http://www.extjs.com/license
7 Ext.onReady(function(){
9 var tabs = new Ext.TabPanel({
11 resizeTabs:true, // turn on tab resizing
17 defaults: {autoScroll:true},
18 plugins: new Ext.ux.TabCloseMenu()
21 // tab generation code
28 title: 'New Tab ' + (++index),
30 html: 'Tab Body ' + (index) + '<br/><br/>'
31 + Ext.example.bogusMarkup,
40 }).render(document.body, 'tabs');