87,991
社区成员
发帖
与我相关
我的任务
分享
Ext.create('Ext.panel.Panel',{
renderTo:Ext.getBody(),
width:400,
height:300,
items:[
{
xtype:'panel',
title:'Panel one',
width:'75%',
height:100,
html:'hello,this is Panel One!'
},{
xtype:'panel',
title:'Panel two',
width:'75%',
height:100,
html:'this is Panel Two, Welcome!'
}
]
});
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> Panel Demo </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<link rel="stylesheet" type="text/css" href="resources/css/ext-all.css" />
<script type="text/javascript" src="ext-all.js"></script>
<script type="text/javascript" src="516Test.js"></script>
</head>
<body>
</body>
</html>