remove file list during upload

Last post 01-09-2013, 6:17 PM by mtimmons. 5 replies.
Sort Posts: Previous Next
  •  01-08-2013, 5:11 PM 76598

    remove file list during upload

    is there a property to remove the file list (above the progress bar) that comes up during the upload? ie... the upload que? I do not want to have it on my mobile pages and do not see a property for it in manual.

    -matt 

  •  01-08-2013, 7:36 PM 76599 in reply to 76598

    Re: remove file list during upload

    Hi mtimmons,

     

    Please try the example below, it shows you how to hide the queue table.

     

    1. <?php require_once "phpuploader/include_phpuploader.php" ?>  
    2. <?php session_start(); ?>  
    3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
    4. <html xmlns="http://www.w3.org/1999/xhtml">  
    5.   <head>  
    6.     <title>  
    7.       example  
    8.     </title>  
    9.   </head>  
    10.   <body>  
    11.         <?php                  
    12.                     $uploader=new PhpUploader();  
    13.                     $uploader->Name="myuploader";  
    14.                     $uploader->MultipleFilesUpload=true;  
    15.                     $uploader->Render();  
    16.             ?>   
    17.   </body>  
    18. </html>  
    19. <script>  
    20.     
    21. var uploader = document.getElementById("myuploader");  
    22. uploader.handlequeueui=myqueueuihandler;  
    23. function myqueueuihandler(list)  
    24. {  
    25.     return false; //hide the queue table;  
    26. }  
    27. </script>  
     

    Regards,

     

    Ken 

  •  01-08-2013, 7:55 PM 76600 in reply to 76599

    Re: remove file list during upload

    perfect! works!
    Also,1. Is there a way to style the "CancleAll" button? I did not see a property for that.. just the normal cancle. 
    2. related, a way to hide the normal "Canlce" button. Basicalyy having one, styled "cancle all"
  •  01-09-2013, 12:23 PM 76608 in reply to 76600

    Re: remove file list during upload

    Hi mtimmons,

     

    1. If you just need to change the style of the cancel all button, please add the style setting below into your page and set style in it directly.

     

     <style>
    .AjaxUploaderCancelAllButton {
     
    }
    </style>
     

    2. If you want to hide the cancel all button, please try the code below

     

     <style>
    .AjaxUploaderCancelAllButton {
     display: none !important;
    }
    </style>
     

    Regards,

     

    Ken 

  •  01-09-2013, 6:09 PM 76612 in reply to 76608

    Re: remove file list during upload

    thank you.

     

    I would assume that 

    <style>
    .AjaxUploaderCancelButton {
    display: none !important;
    }
    </style> 

     

    would hide the regular cancel button? 

  •  01-09-2013, 6:17 PM 76613 in reply to 76612

    Re: remove file list during upload

    and thats worked as well.. thank you for the ajax css prop.

    :) 

View as RSS news feed in XML