EXT错误提示ext.viewport is not a constructor
代码如下:<scripttype="text/javascript">Ext.onReady(function(){varviewPort=newExt.ViewPort...
代码如下:
<script type="text/javascript">
Ext.onReady(function(){
var viewPort=new Ext.ViewPort({
layout:'border',
renderTo:Ext.getBody(),
items:[{title:'north',region:'north',split:true,border:true,collapsible:true,height:100,minSize:100,maxSize:120},
{title:'south',region:'south',split:true,border:true,collapsible:true,height:100,minSize:100,maxSize:120},
{title:'east',region:'east',split:true,border:true,collapsible:true,width:120,minSize:120,maxSize:200},
{title:'west',region:'west',split:true,border:true,collapsible:true,width:120,minSize:120,maxSize:200},
{title:'center',region:'center',split:true,border:true,collapsible:true}]
});
});
</script>
求解,谢谢!!! 展开
<script type="text/javascript">
Ext.onReady(function(){
var viewPort=new Ext.ViewPort({
layout:'border',
renderTo:Ext.getBody(),
items:[{title:'north',region:'north',split:true,border:true,collapsible:true,height:100,minSize:100,maxSize:120},
{title:'south',region:'south',split:true,border:true,collapsible:true,height:100,minSize:100,maxSize:120},
{title:'east',region:'east',split:true,border:true,collapsible:true,width:120,minSize:120,maxSize:200},
{title:'west',region:'west',split:true,border:true,collapsible:true,width:120,minSize:120,maxSize:200},
{title:'center',region:'center',split:true,border:true,collapsible:true}]
});
});
</script>
求解,谢谢!!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询