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 var button = Ext.get('show-btn');
\r
12 button.on('click', function(){
\r
13 // create the window on the first click and reuse on subsequent clicks
\r
15 win = new Ext.Window({
\r
16 applyTo:'hello-win',
\r
23 items: new Ext.TabPanel({
\r
24 applyTo: 'hello-tabs',
\r
27 deferredRender:false,
\r
36 handler: function(){
\r