X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..f5240829880f87e0cf581c6a296e436fdef0ef80:/examples/panel/panels.js diff --git a/examples/panel/panels.js b/examples/panel/panels.js index fd970f45..c7f05826 100644 --- a/examples/panel/panels.js +++ b/examples/panel/panels.js @@ -1,55 +1,55 @@ /*! - * Ext JS Library 3.0.0 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.3.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 = [ - '
This is a paragraph with STRONG, EMPHASIS and a Link
', - 'Table Column One | ', - 'Table Column Two | ', - '
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 = [ + '
This is a paragraph with STRONG, EMPHASIS and a Link
', + 'Table Column One | ', + 'Table Column Two | ', + '
This is a blockquote' ]; \ No newline at end of file