X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6a7e4474cba9d8be4b2ec445e10f1691f7277c50:/examples/panel/panels.js diff --git a/examples/panel/panels.js b/examples/panel/panels.js index 04d127a7..572be44e 100644 --- a/examples/panel/panels.js +++ b/examples/panel/panels.js @@ -1,55 +1,55 @@ /*! - * Ext JS Library 3.1.1 - * Copyright(c) 2006-2010 Ext JS, LLC + * Ext JS Library 3.2.0 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ -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
' +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