PDA

View Full Version : [Ext 2.0] - Making a div accordion



undefined
30 Aug 2007, 6:29 AM
Just wanted to if there is anyway of making a div accordion without actually adding a panel to it.

Like say i have two panels. Panel1 and Panel2.

Is there anyways i can render these two panels to a div and give them the accordion feel without actually adding a 3rd panel(with layout configured to accordion) to the div and adding Panel1 and Panel2 to it.

brian.moeskau
30 Aug 2007, 6:41 AM
Why?

undefined
30 Aug 2007, 7:58 AM
Well actaully making an application and wanted to keep it light. The collapsible property works but the problem was when one panel opens the other panels goes out of sight(cannot see it) while when i use the accordion it sticks to bottom.

As accordion was doing anyways i can just make the div's layout accordion without actually using an extra component.