--- /dev/null
+<html>\r
+<head>\r
+ <title>The source code</title>\r
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
+</head>\r
+<body onload="prettyPrint();">\r
+ <pre class="prettyprint lang-js">Ext.onReady(function(){\r
+ var p = new Ext.Panel({\r
+ title: 'My Panel',\r
+ collapsible:true,\r
+ renderTo: 'panel-basic',\r
+ width:400,\r
+ html: Ext.example.bogusMarkup\r
+ });\r
+\r
+ // preventBodyReset: true\r
+ new Ext.Panel({\r
+ title: 'A Panel with W3C-suggested body-html styling',\r
+ preventBodyReset: true,\r
+ renderTo: 'panel-reset-true',\r
+ width: 400,\r
+ html: html.join('')\r
+ });\r
+\r
+ // preventBodyReset: false\r
+ new Ext.Panel({\r
+ title: 'Same panel as above with preventBodyReset: false',\r
+ normal: false,\r
+ renderTo: 'panel-reset-false',\r
+ width: 400,\r
+ html: html.join('')\r
+ });\r
+});\r
+\r
+// Some sample html\r
+var html = [\r
+ '<h1>Heading One</h1>',\r
+ '<h2>Heading Two</h2>',\r
+ '<p>This is a paragraph with <strong>STRONG</strong>, <em>EMPHASIS</em> and a <a href="#">Link</a></p>',\r
+ '<table>',\r
+ '<tr>',\r
+ '<td>Table Column One</td>',\r
+ '<td>Table Column Two</td>',\r
+ '</tr>',\r
+ '</table>',\r
+ '<ul>',\r
+ '<li>Un-ordered List-item One</li>',\r
+ '<li>Un-ordered List-item One</li>',\r
+ '</ul>',\r
+ '<ol>',\r
+ '<li>Ordered List-item One</li>',\r
+ '<li>Ordered List-item Two</li>',\r
+ '</ol>',\r
+ '<blockquote>This is a blockquote</blockquote>'\r
+];</pre> \r
+</body>\r
+</html>
\ No newline at end of file