PDA

View Full Version : extjs 3.1.1 messy code of zh_CN



41202197514
25 Mar 2010, 5:36 AM
the code is fine with ext2.0

Ext.onReady(function()
{
new Ext.Viewport({
layout:"border",
items:[
{
region:"north",
height:150,
collapsible:true,
closable:true,
title:"?????"
},
{
region:"south",
height:150,
collapsible:true,
title:"?????"
},
{
region:"center",
height:150,
collapsible:true,
title:"?????",
xtype:"tabpanel",
items:[
{
title:" ???",
closable:true,
html:"??????",
bbar:[
{
text:"?????"
},
{
text:"???"
},
{
text:"???"
}
]
},
{
title:" ???",
closable:true,
html:"??????",
tbar:[
{
text:"?????"
},
{
text:"???"
},
{
text:"???"
}
]
},
{
title:" ???",
html:"??????"
}
]
},
{
region:"west",
width:250,
collapsible:true,
title:"?????",
layout:"accordion",
items:[
{
title:"???",
html:"<h1>??????</h1>"
},
{
title:"???",
html:"<h1>??????</h1>"
},
{
title:"???",
html:"<h1>??????</h1>"
}
]
},
{
region:"east",
width:250,
collapsible:true,
title:"?????"
}
]
});
});

tryanDLS
25 Mar 2010, 6:12 AM
'Messy' ??? Please read http://extjs.com/learn/Ext_Forum_Help and
http://extjs.com/learn/Ext_Forum_Help#How_to_post_code_properly