日期:2014-05-16  浏览次数:20366 次

烦躁ExtJs的panel不能很好的兼容ie8

Ext.onReady(function(){

?

?

//定义左边面板

?var panelLeft = ?new Ext.Panel({

columnWidth: .42,

title:"Eclipse",

height:400,

?? ?id:'panel01',

style:{margin:'0px 10px 0px 10px'},

collapsible:true,

tbar:[{text:'File'},{text:'Edit'},{text:'Source'},{text:'Refactor'}],

bbar:[{text:'Show View as a fast view'}],

buttons:[{text:"Submit"}, {text:"Reset"}],

html:"<h1><font color='blue'>Edocom company of NanJing</font></h1>"

?

?});

?

?

?//定义右边面板

?var panelRight = new Ext.Panel({

columnWidth:.38,

id:'panel02',

height:300,

//collapseFirst:true,

//style:{margin:'0px 10px 0px 10px'},

//collapsible:true,

//disable:false,

//hidden:true,

//titleCollapse:true,