?? sample_new.html
字號(hào):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="../../../../resources/css/ext-all.css" />
<title>登陸程序</title>
<style type="text/css">
.contain{
width:100%;
height:100%;
top:0;
left:0;
}
.center {
position:absolute;
top:30%;
left:43%;
text-align:left;
}
</style>
<script type="text/javascript" src="../../../../adapter/ext/ext-base.js">
</script>
<script type="text/javascript" src="../../../../ext-all.js">
</script>
<script type="text/javascript" src="../../../../build/locale/ext-lang-zh_CN.js">
</script>
<script type="text/javascript">
Ext.onReady(function(){
var _panel = new Ext.Panel({
title:"登 陸",
frame:true,
width:260,
height:130,
layout:"form",
labelWidth:45,
defaults:{xtype:"textfield" , width:180},
items:[{
fieldLabel:"賬號(hào)"
},{
fieldLabel:"密碼"
}],
buttons:[{
text:"確 定"
},{
text:"取 消"
}]
}) ;
_panel.applyToMarkup(Ext.DomHelper.append(Ext.getBody(), {
tag:"div",
cls:"contain",
cn:[{
tag:"div",
cls:"center"
}]
} , true).child("div")) ;
}) ;
</script>
</head>
<body>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -