首页 > 代码库 > extjs 4.0.7 Desktop 替换claaes.js
extjs 4.0.7 Desktop 替换claaes.js
最近在学习Extjs 发现Demo 中有个Desktop的于是就尝试学习一下。结果发现怎么改都没效果后来偶然发现 默认采用的是classes.js 为压缩后的js 引入已经修改后的分开的js瞬间 一切ok了。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ExtTop - Desktop Sample App</title>
<link rel="stylesheet" type="text/css" href="http://www.mamicode.com/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="http://www.mamicode.com/css/desktop.css" />
<!-- new -->
<script type="text/javascript" src="http://www.mamicode.com/ext-all.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/locale/ext-lang-zh_CN.js"></script>
<!--<script type="text/javascript" src="http://www.mamicode.com/classes.js"></script> -->
<script type="text/javascript" src="http://www.mamicode.com/js/Module.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/js/Video.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/js/Wallpaper.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/js/FitAllLayout.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/js/StartMenu.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/js/TaskBar.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/js/ShortcutModel.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/js/Desktop.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/js/App.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/WallpaperModel.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/VideoWindow.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/BogusModule.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/BogusMenuModule.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/Settings.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/TabWindow.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/GridWindow.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/AccordionWindow.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/SystemStatus.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/Notepad.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/start_menu.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/App.js"></script>
<script type="text/javascript">
Ext.Loader.setPath({
‘Ext.ux.desktop‘: ‘js‘,
MyDesktop: ‘‘
});
Ext.require(‘MyDesktop.App‘);
var myDesktopApp;
Ext.onReady(function () {
myDesktopApp = new MyDesktop.App();
});
</script>
</head>
<body>
<a href="http://www.sencha.com" target="_blank" alt="Powered by Ext JS"
id="poweredby"><div></div></a>
</body>
</html>