How to set Accordion Height

Hi,

is it possible to set Accordion height? i've used my code 'setHeight' for set fixed height. its working fine when i expand second time. First attempt it takes full height.. my code mentioned as below
layout:'accordion',
layoutConfig:{
animate:true,
fitHeight:true,
collapseFirst :true,
},
items:[
{
contentEl: 'Acc1',
title:'Acc1',
border:false,
height:35,
autoScroll:true,
listeners:{
beforeexpand:function(){
this.body.setHeight(35);
}
}
},
{
contentEl: 'Acc2',
title:'Acc2',
border:false,
height:70,
autoScroll:true,
listeners:{
beforeexpand:function(){
this.body.setHeight(70);
}
}
}
]

Thanks.




#If you have any other info about this subject , Please add it free.#
Your name:
E-mail:
Telphone:

Your comments:


If you have any other info about How to set Accordion Height , Please add it free.

7 January 2009 | cameltoepants.com | edit