Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / examples / panel / bubble-panel.js
diff --git a/examples/panel/bubble-panel.js b/examples/panel/bubble-panel.js
new file mode 100644 (file)
index 0000000..9c34bc3
--- /dev/null
@@ -0,0 +1,35 @@
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+Ext.onReady(function(){   
+    var title = new Ext.ux.BubblePanel({
+       bodyStyle: 'padding-left: 8px;color: #0d2a59',
+       renderTo: 'bubbleCt',
+       html: '<h3>Ext.ux.BubblePanel</h3',
+       width: 200,
+       autoHeight: true
+    });\r
+    var cp = new Ext.ux.BubblePanel({\r
+       renderTo: 'bubbleCt',\r
+       padding: 5,\r
+       width: 400,\r
+       autoHeight: true,
+       contentEl: 'bubble-markup'\r
+    });
+
+    var plainOldPanel = new Ext.Panel({
+        renderTo: 'panelCt',
+       padding: 5,
+       frame: true,
+       width: 400,
+       autoHeight: true,
+       title: 'Plain Old Panel',
+       html: Ext.example.bogusMarkup
+    });\r
+\r
+});\r
+\r
+