ExtJS為開發者在開發富客戶的B/S應用中提供豐富的UI組件,具有統一的主題,便于快速開發,提高效率。但顯然它并不適合互聯網站的開發。
主要目錄文件介紹
如何引入文件
在項目中使用ExtJS,以下文件必需的:
1 整個resources文件夾
2 ext-all.js或ext-all-debug.js或ext-all-debug-w-comments.js文件
3 ext-lang-zh_CN.js文件

在頁面中用到ExtJS至少引入以下文件:
1 resources/css/ext-all.css
2 ext-all.js(如果要對ExtJS代碼進行調試或學習可引入ext-all-debug.js或ext-all-debug-w-comments.js)
3 ext-lang-zh_CN.js

一個簡單示例
<html xmlns="http://www.w3.org/1999/xhtml"><head>  <title>ExtJs</title>  <link href="ExtJs/resources/css/ext-all.css" rel="external nofollow" rel="stylesheet" type="text/css" />  <script src="ExtJs/ext-all-debug-w-comments.js" type="text/javascript"></script>  <!-- <script src="ExtJs/ext-all.js" type="text/javascript"></script> -->  <script src="ExtJs/ext-lang-zh_CN.js" type="text/javascript"></script>  <script type="text/javascript">    Ext.onReady(function () {      //創建一個窗體      var win = new Ext.Window({        width: 300,        height:300,        items: [],        modal: true,        buttonAlign: 'center',        buttons: [{          text: '測試', id: 'btnTest', handler: function () {            Ext.Msg.show({              title: '詢問',              msg: '您喜歡 ExtJs 嗎?',              fn: processResult,              icon: Ext.Msg.QUESTION,              buttons: Ext.Msg.YESNO            });          }        }        ]      });      win.show();    });    //詢問對話框處理Handler    function processResult(btn) {      Ext.Msg.alert('結果', btn);    }  </script></head><body>  <div>  </div></body></html>新聞熱點
疑難解答