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();

你可能感兴趣的:(iframe,layout,ExtJs)