3 <title>Accordion Layout</title>
4 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css"/>
8 <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
11 <script type="text/javascript" src="../../ext-all.js"></script>
13 <style type="text/css">
15 font: normal 12px verdana;
22 .empty .x-panel-body {
30 <script type="text/javascript">
31 Ext.onReady(function() {
33 var item1 = new Ext.Panel({
34 title: 'Accordion Item 1',
35 html: '<empty panel>',
39 var item2 = new Ext.Panel({
40 title: 'Accordion Item 2',
41 html: '<empty panel>',
45 var item3 = new Ext.Panel({
46 title: 'Accordion Item 3',
47 html: '<empty panel>',
51 var item4 = new Ext.Panel({
52 title: 'Accordion Item 4',
53 html: '<empty panel>',
57 var item5 = new Ext.Panel({
58 title: 'Accordion Item 5',
59 html: '<empty panel>',
63 var accordion = new Ext.Panel({
69 items: [item1, item2, item3, item4, item5]
72 var viewport = new Ext.Viewport({
79 bodyStyle:'background:#f1f1f1',
80 html:'<br/><br/><empty center panel>'
87 <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->