Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / docs / source / bubble-panel.html
1 <html>\r
2 <head>\r
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
6 </head>\r
7 <body  onload="prettyPrint();">\r
8     <pre class="prettyprint lang-js">Ext.onReady(function(){   
9     var title = new Ext.ux.BubblePanel({
10         bodyStyle: 'padding-left: 8px;color: #0d2a59',
11         renderTo: 'bubbleCt',
12         html: '<h3>Ext.ux.BubblePanel</h3',
13         width: 200,
14         autoHeight: true
15     });\r
16     var cp = new Ext.ux.BubblePanel({\r
17         renderTo: 'bubbleCt',\r
18         padding: 5,\r
19         width: 400,\r
20         autoHeight: true,
21         contentEl: 'bubble-markup'\r
22     });
23
24     var plainOldPanel = new Ext.Panel({
25         renderTo: 'panelCt',
26         padding: 5,
27         frame: true,
28         width: 400,
29         autoHeight: true,
30         title: 'Plain Old Panel',
31         html: Ext.example.bogusMarkup
32     });\r
33 \r
34 });\r
35 \r
36
37 </pre>    \r
38 </body>\r
39 </html>