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
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js">Ext.onReady(function(){
\r
9 var p = new Ext.Panel({
\r
12 renderTo: 'panel-basic',
\r
14 html: Ext.example.bogusMarkup
\r
17 // preventBodyReset: true
\r
19 title: 'A Panel with W3C-suggested body-html styling',
\r
20 preventBodyReset: true,
\r
21 renderTo: 'panel-reset-true',
\r
26 // preventBodyReset: false
\r
28 title: 'Same panel as above with preventBodyReset: false',
\r
30 renderTo: 'panel-reset-false',
\r
38 '<h1>Heading One</h1>',
\r
39 '<h2>Heading Two</h2>',
\r
40 '<p>This is a paragraph with <strong>STRONG</strong>, <em>EMPHASIS</em> and a <a href="#">Link</a></p>',
\r
43 '<td>Table Column One</td>',
\r
44 '<td>Table Column Two</td>',
\r
48 '<li>Un-ordered List-item One</li>',
\r
49 '<li>Un-ordered List-item One</li>',
\r
52 '<li>Ordered List-item One</li>',
\r
53 '<li>Ordered List-item Two</li>',
\r
55 '<blockquote>This is a blockquote</blockquote>'
\r