`
蒋兆欣
  • 浏览: 13952 次
  • 性别: Icon_minigender_1
  • 来自: 徐州
社区版块
存档分类
最新评论

ExtJS的TabPanel在FF中重复加载Flash的解决方案

阅读更多

   这种问题只出现在FF上,在IE下是没有问题的,我一直没时间去搞,最后在国外的论坛找到了答案,

    访问该论坛的关于此话题的帖子  ,答案见7#和8#

   贴下代码就解决问题了,只是一句话而已!好多人啰嗦一大堆

		var southPanel = new Ext.TabPanel({
            region: 'south',
            activeTab: 0,
            id: 'center-south-panel',
            monitorResize: true,
            autoDestroy:true,
            layoutOnTabChange : true, 
            defaults:( {
            	autoScroll: true,
            	style:{position:'absolute'},  //这一句加上就木问题了
            	hideMode:'visibility'
            	}) ,
            split: true,
            height: ((document.body.clientHeight - 100) * 0.5),
            items:[this.createSouthManagePanel(), 
                   Home.ux.topo.createGraphViewPanel(),
                   Home.ux.gis.createGisMapPanel(),
                   Home.ux.design.createDesignPagePanel()]
        });

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics