Re: Getting Information During Upload

  •  10-23-2012, 7:49 AM

    Re: Getting Information During Upload

    Hi faxe360,

     

    You can get the progress info in API "CuteWebUI_AjaxUploader_OnProgress".

     

    1. //Fires when new information about the upload progress for a specific file is available.  
    2. function CuteWebUI_AjaxUploader_OnProgress(enable,filename,begintime,uploadedsize,totalsize)  
    3. {  
    4.     var hidden=this;  
    5.     if(enable)  
    6.     {  
    7.        if(totalsize)  
    8.        {  
    9.          document.title=filename+" - "+Math.floor(100*uploadedsize/totalsize)+'%'  
    10.        }  
    11.        else  
    12.        {  
    13.        }  
    14.     }  
    15.     else  
    16.     {  
    17.     }  
    18.     return false; //hide the default UI.  
    19. }  
     

    More API please refer to http://www.ajaxuploader.com/document/scr/html/JavaScript-API.htm

     

    Regards,

     

    Ken 

View Complete Thread