X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/source/panels.html diff --git a/docs/source/panels.html b/docs/source/panels.html new file mode 100644 index 00000000..76849165 --- /dev/null +++ b/docs/source/panels.html @@ -0,0 +1,58 @@ + + + The source code + + + + +
Ext.onReady(function(){
+    var p = new Ext.Panel({
+        title: 'My Panel',
+        collapsible:true,
+        renderTo: 'panel-basic',
+        width:400,
+        html: Ext.example.bogusMarkup
+    });
+
+	// preventBodyReset: true
+	new Ext.Panel({
+		title: 'A Panel with W3C-suggested body-html styling',
+		preventBodyReset: true,
+		renderTo: 'panel-reset-true',
+		width: 400,
+		html: html.join('')
+	});
+
+	// preventBodyReset: false
+	new Ext.Panel({
+		title: 'Same panel as above with preventBodyReset: false',
+		normal: false,
+		renderTo: 'panel-reset-false',
+		width: 400,
+		html: html.join('')
+	});
+});
+
+// Some sample html
+var html = [
+	'

Heading One

', + '

Heading Two

', + '

This is a paragraph with STRONG, EMPHASIS and a Link

', + '', + '', + '', + '', + '', + '
Table Column OneTable Column Two
', + '', + '
    ', + '
  1. Ordered List-item One
  2. ', + '
  3. Ordered List-item Two
  4. ', + '
', + '
This is a blockquote
' +];
+ + \ No newline at end of file