⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 upload.js

📁 实现了一个OA系统基本的功能
💻 JS
字号:
// JScript File
window.focus();

Ext.onReady(function() {
    Ext.BLANK_IMAGE_URL = '../../resources/images/default/s.gif';
    Ext.QuickTips.init();
    
    var btnShow = new Ext.Button({
        text:'Upload',
        listeners:{
            click:
            function(btnThis,eventobj){
               dialog = new Ext.ux.UploadDialog.Dialog({
                  url: 'uploads.jsp',
					
		          width : 450,
		          height : 300,
		          minWidth : 450,
		          minHeight : 300,
		          draggable : true,
		          resizable : true,
                  reset_on_hide: false,
                  allow_close_on_upload: false,  
                  upload_autostart: false   
                });
                
                dialog.show('show-button');
            }
        }
    });
   btnShow.render("divUpload");
}); 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -