Created
November 30, 2010 02:02
-
-
Save itissid/721004 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sbAccordian = new Ext.Panel({ | |
title: 'Manage Something', | |
layout:'accordion', | |
layoutConfig: { | |
// layout-specific configs go here | |
titleCollapse: false, | |
animate: true | |
//activeOnTop: true | |
}, | |
items: [{ | |
title: 'Manage pages', | |
html: '<p>Buttons here...</p>' | |
},{ | |
title: 'Manage pages', | |
html: '<p>Buttons here...</p>' | |
} | |
] | |
}) | |
//View port... | |
var vp = new Ext.Viewport({ | |
layout:'border', | |
id : 'sbvp', | |
defaults : { | |
frame : true, | |
split : true | |
}, | |
items:[ | |
{ //Accordian layout embedded in this ... | |
id:'sbookdata', | |
width : 330, | |
//maxWidth : 450, | |
autoScroll:true, | |
region:'west', | |
collapsible: true, | |
collapseMode : 'mini', | |
items: sbAccordian | |
},{ | |
xtype : 'container', | |
id:'sbookpage', | |
region:'center', | |
title: 'Page Display', | |
items:tabPanel | |
} | |
] | |
}); | |
vp.show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment