extjs实现左侧tab

layout  =   new  Ext.BorderLayout(document.body,  {

                            center: 
{
                                titlebar: 
false,
                                tabPosition: 
'left'
                            }


                        }
);

                        layout.beginUpdate();
                        
                        var iframe 
=  Ext.DomHelper.append( document.body, 
                            
{tag: 'iframe', frameBorder: 0, src: 'BusiLineView.html' } );
            
                        layout.add( 
' center ' new  Ext.ContentPanel( iframe,  ... ));
                        layout.add(
' center ' new  Ext.ContentPanel( ' panel-bk ' {title: '板块', closable: false} ));
                        layout.add(
' center ' new  Ext.ContentPanel( ' panel-fund ' ... ));
                        layout.getRegion(
' center ' ).showPanel( 0 );
                        layout.endUpdate();

extjs实现左侧tab_第1张图片

你可能感兴趣的:(Ext,Ajax,框架)