1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
<!
DOCTYPE
html>
<
html
>
<
head
>
<
title
>ExtJs</
title
>
<
meta
http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<
link
rel="stylesheet" type="text/css" href="ExtJs/packages/ext-theme-crisp/build/resources/ext-theme-crisp-all.css">
<
script
type="text/javascript" src="ExtJs/ext-all.js"></
script
>
<
script
type="text/javascript" src="ExtJs/bootstrap.js"></
script
>
<
script
type="text/javascript" src="ExtJs/packages/ext-theme-crisp/build/ext-theme-crisp.js"></
script
>
<
script
type="text/javascript">
Ext.onReady(function() {
Ext.create('Ext.panel.Panel',{
title: 'Ext.layout.container.Table',
frame: true,
height: 600,
width: 800,
renderTo: Ext.getBody(),
defaults: {
collapsible: true
},
layout: 'border',
items: [{
title: 'north Panel',
height: 50,
html: '上边',
region: 'north'
},{
title: 'south Panel',
height: 50,
html: '下边',
region: 'south'
},{
title: 'west Panel',
width: 100,
html: '左边',
region: 'west'
},{
title: 'east Panel',
width: 100,
html: '右边',
region: 'east'
},{
title: 'main content',
html: '中间',
region: 'center'
}]
});
});
</
script
>
</
head
>
<
body
>
<
div
id='form'></
div
>
<
div
id='form1'></
div
>
</
body
>
</
html
>
|