日期:2014-05-16 浏览次数:20408 次
1.引用包
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> //解决乱码
<link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css" ?charset="utf-8"/>
?
<script type="text/javascript" src="extjs/bootstrap.js" ></script>
<!--<script type="text/javascript" src="extjs/ext-lang-zh_CN.js" ></script>看需要增加-->
?
?
2.需要文件
bootstrap.js
ext-all-debug.js
ext-lang-zh_CN.js
resources 文件夹下全部文件
?
3.示例
?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
?<head>
? <title> New Document </title>
? <meta name="Generator" content="EditPlus">
? <meta name="Author" content="">
? <meta name="Keywords" content="">
? <meta name="Description" content="">
? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
? <link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css" ?charset="utf-8"/>
<script type="text/javascript" src="extjs/bootstrap.js" ></script>
<!--<script type="text/javascript" src="extjs/ext-lang-zh_CN.js" ></script>看需要增加-->
? ? <script type="text/javascript" >
Ext.onReady(function(){
Ext.Msg.alert("注册","要注册吗",function(){
},this);
})
</script>
?</head>
?
?<body>
?
?</body>
</html>
?