日期:2014-05-16  浏览次数:20375 次

extjs 4.0.7 Desktop 替换claaes.js

Desktop.html

?

<!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="../../resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="css/desktop.css" />

    <!-- new -->
    <script type="text/javascript" src="../../ext-all.js"></script>
    <script type="text/javascript" src="../../locale/ext-lang-zh_CN.js"></script>
    <!--<script type="text/javascript" src="classes.js"></script> --> 

    <script type="text/javascript" src="js/Module.js"></script> 
    <script type="text/javascript" src="js/Video.js"></script> 
    <script type="text/javascript" src="js/Wallpaper.js"></script> 
    <script type="text/javascript" src="js/FitAllLayout.js"></script> 
    <script type="text/javascript" src="js/StartMenu.js"></script> 
    <script type="text/javascript" src="js/TaskBar.js"></script> 
    <script type="text/javascript" src="js/ShortcutModel.js"></script>   
    <script type="text/javascript" src="js/Desktop.js"></script> 
    <script type="text/javascript" src="js/App.js"></script> 
 
    <script type="text/javascript" src="WallpaperModel.js"></script> 
    <script type="text/javascript" src="VideoWindow.js"></script> 
    <script type="text/javascript" src="BogusModule.js"></script> 
    <script type="text/javascript" src="BogusMenuModule.js"></script> 
    <script type="text/javascript" src="Settings.js"></script> 
    <script type="text/javascript" src="TabWindow.js"></script> 
    <script type="text/javascript" src="GridWindow.js"></script> 
    <script type="text/javascript" src="AccordionWindow.js"></script> 
    <script type="text/javascript" src="SystemStatus.js"></script> 
    <script type="text/javascript" src="Notepad.js"></script> 
	<script type="text/javascript" src="start_menu.js"></script> 
    <script type="text/javascript" src="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>
?

?