Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / examples / window / hello.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
2 <html>\r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
5     <title>Hello World Window Example</title>\r
6     <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />\r
7 \r
8     <!-- GC -->\r
9         <!-- LIBS -->\r
10         <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>\r
11         <!-- ENDLIBS -->\r
12 \r
13     <script type="text/javascript" src="../../ext-all.js"></script>\r
14 \r
15     <script language="javascript" src="hello.js"></script>\r
16 \r
17 <!-- Common Styles for the examples -->\r
18 <link rel="stylesheet" type="text/css" href="../shared/examples.css" />\r
19 \r
20     <style type="text/css">\r
21     .x-panel-body p {\r
22         margin:10px;\r
23         font-size:12px;\r
24     }\r
25     </style>\r
26 </head>\r
27 <body>\r
28 <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->\r
29 \r
30 <h1>Hello World Window</h1>\r
31 <p>This example shows how to create a very simple modal Window with "autoTabs" from existing markup.</p>\r
32 <input type="button" id="show-btn" value="Hello World" /><br /><br />\r
33 <p>Note that the js is not minified so it is readable. See <a href="hello.js">hello.js</a> for the full source code.</p>\r
34 \r
35 <div id="hello-win" class="x-hidden">\r
36     <div class="x-window-header">Hello Dialog</div>\r
37     <div id="hello-tabs">\r
38         <!-- Auto create tab 1 -->\r
39         <div class="x-tab" title="Hello World 1">\r
40             <p>Hello...</p>\r
41         </div>\r
42         <!-- Auto create tab 2 -->\r
43         <div class="x-tab" title="Hello World 2">\r
44             <p>... World!</p>\r
45         </div>\r
46     </div>\r
47 </div>\r
48 </body>\r
49 </html>\r