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">Ext.onReady(function(){
\r
10 Ext.state.Manager.setProvider(
\r
11 new Ext.state.SessionProvider({state: Ext.appState}));
\r
13 var button = Ext.get('show-btn');
\r
15 button.on('click', function(){
\r
17 // tabs for the center
\r
18 var tabs = new Ext.TabPanel({
\r
22 defaults:{autoScroll:true},
\r
26 html: Ext.example.bogusMarkup
\r
28 title: 'Another Tab',
\r
29 html: Ext.example.bogusMarkup
\r
31 title: 'Closable Tab',
\r
32 html: Ext.example.bogusMarkup,
\r
37 // Panel for the west
\r
38 var nav = new Ext.Panel({
\r
39 title: 'Navigation',
\r
48 var win = new Ext.Window({
\r
49 title: 'Layout Window',
\r