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 Ext.state.Manager.setProvider(
\r
12 new Ext.state.SessionProvider({state: Ext.appState}));
\r
14 var button = Ext.get('show-btn');
\r
16 button.on('click', function(){
\r
18 // tabs for the center
\r
19 var tabs = new Ext.TabPanel({
\r
21 margins : '3 3 3 0',
\r
27 title : 'Bogus Tab',
\r
28 html : Ext.example.bogusMarkup
\r
30 title : 'Another Tab',
\r
31 html : Ext.example.bogusMarkup
\r
33 title : 'Closable Tab',
\r
34 html : Ext.example.bogusMarkup,
\r
39 // Panel for the west
\r
40 var nav = new Ext.Panel({
\r
41 title : 'Navigation',
\r
46 margins : '3 0 3 3',
\r
47 cmargins : '3 3 3 3'
\r
50 var win = new Ext.Window({
\r
51 title : 'Layout Window',
\r