首页| 版块| 我的| 发帖| 消息
主题:您还没有登录,不能上传附件!(附件上传)
zhangjingyu 
高级模式才有“显示“售密设置””,快速回复则没有。如果已经安装flash控件,不会显示“点击安装”,所以以“B_uploader_container”为内容进行搜索:
js/uploader.js
“/**
     * 切换到批量上传
     */
    mutiTab:function(){
        document.getElementById('singleUploadMod').style.display = 'none';
        
        document.getElementById('batUpload').style.display = '';
        document.getElementById('formUploadBtn').className='';
        document.getElementById('batUploadBtn').className='current';
        document.getElementById('attach').style.display = document.getElementById('attach').getElementsByTagName('tbody')[0].rows.length?'':'none';
        document.getElementById('uploadFileInfo').style.display = document.getElementById('qlist').rows.length?'':'none';
        //载入flash
        if(!uploader.flash)
        {
            var flashVar = {url:document.getElementById('headbase').href+'job.php?action=mutiupload&random='+Math.floor(Math.random()*100)};
            var params   = {
                menu: "false",  
                scale: "noScale",
                allowScriptAccess: "always",
                value:'always',
                wmode:'transparent'
            };
            var attr = {id:'mutiupload',name:'mutiupload'};
            loadjs('js/swfobject.js','','',function(){
                swfobject.embedSWF(imgpath + '/uploader.swf', "B_uploader_container", "250", "46", "10.0.0", "js/expressInstall.swf",flashVar,params,attr,function(e){
                        uploader.flash = e.ref;
                });
            });
        }
        this.countFile();
        uploader.mode=1;
    },”(引用内容)红色加粗部分正是9楼提到的“选择文件上传”对应的uploader.swf文件。
zhangjingyu回帖于2019-04-19 22:29[查看电脑版]
下一页 (1/2)
下一楼»:29楼继续,以“uploaderTmpSpan”为内容进行搜索:
js/breeze/global/uploader.js
̶ ..
«上一楼:“zhangjingyu 附件上传弹出框对应文件:js/breeze/app/insertAttach.js(其实那个“ ..

查看全部回帖(37)
«返回主帖