想弄一个带进度条的Ajax文件上传,大家推荐一下用什么比较好。好像组件也比较多,还有用flash 实现的,比如SWFUpload等。
多谢啦!!

解决方案 »

  1.   

    Ext,哈哈,如果速度要求不是很高的话,整套的用吧,很华丽
      

  2.   

      用FusionCharts_Evaluation把。  速度很快。因为JS首先滴··
      

  3.   

    FusionCharts_Evaluation 是什么东东?
      

  4.   

    http://www.matrix.org.cn/resource/article/2007-01-08/09db6d69-9ec6-11db-ab77-2bbe780ebfbf.html
      

  5.   

    如果用 flash 组件,客户端需要安装什么插件吗?
      

  6.   


    当然要有FLASH PLAYER的网页控件一般的机器都有的。放心吧
      

  7.   


    function sAlert(txt){

    var eSrc=(document.all)?window.event.srcElement:arguments[1];
    var shield = document.createElement("DIV");
    shield.id = "shield";
    shield.style.position = "absolute";
    shield.style.left = "0px";
    shield.style.top = "0px";

    shield.style.width = getBodySize()[0];
    shield.style.height = getBodySize()[1];
    shield.style.background = "#333";
    shield.style.textAlign = "center";
    shield.style.zIndex = "10000";
    shield.style.filter = "alpha(opacity=80)";
    shield.style.opacity = 80;
    var alertFram = document.createElement("DIV");
    alertFram.id="alertFram";
    alertFram.style.position = "absolute";
    alertFram.style.left = "50%";
    alertFram.style.top = getBodySize()[2];
    alertFram.style.marginLeft = "-225px" ;
    //alertFram.style.marginBottom = -75+ getBodySize()[2]+"px";
    alertFram.style.width = "300px";
    alertFram.style.height = "60px";
    alertFram.style.background = "#fff";
    alertFram.style.textAlign = "center";
    alertFram.style.border="1px solid #C4E6FF";
    alertFram.style.zIndex = "10001";
    strHtml  = "<div style=\"text-align:left;font-size:12px;padding:5px;background:url('/comm/image/loadbg.gif') repeat-x \">";
    strHtml += "请稍候...</div>";
    strHtml += " <div style=font-size:12px; >"+"<img src='/comm/image/loading.gif' align=absmiddle hspace=8 vspace=4>"+txt+"</div>";


    alertFram.innerHTML = strHtml;
    document.body.appendChild(alertFram);
    document.body.appendChild(shield);
    this.setOpacity = function(obj,opacity){
    if(opacity>=1)opacity=opacity/100;
    try{ obj.style.opacity=opacity; }catch(e){}
    try{ 
    if(obj.filters.length>0&&obj.filters("alpha")){
    obj.filters("alpha").opacity=opacity*100;
    }else{
    obj.style.filter="alpha(opacity=\""+(opacity*100)+"\")";
    }
    }catch(e){}
    }
    var c = 0 ;

    setOpacity(shield,c);


    document.body.onselectstart = function(){return false;}
    document.body.oncontextmenu = function(){return false;}
    }document.inputForm.submit();
    sAlert('正在提交中,请稍候 ......');   //提交表单后加入这个js脚本
      

  8.   

    我的资源里也有一个,  前端是 flash 做的
    Fancyupload可以实现很炫的多文件上传:  点击一次浏览后,可以同时选定多个文件上传;
      

  9.   

    关注,原先找过一个多文件上传的:Ext.ux.SwfUploadPanel,不过后来没继续搞了,这个也是flash的
      

  10.   

    多谢,我现在在弄 SWFUpLoad
      

  11.   

    我也在用SWFUpLoad  但不知道怎么回事,点击那个添加文件的按钮,没反应.郁闷