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