Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Disabling Uploadify
  • Does anyone have any idea as to how to disable Uploadify? I've tried hiding it but for some reason, after hiding it then showing it, it stopped working.

    I heard that you can lower the butto size but have not been able to figure it out.

    Basically, after the user has finished an upload, I want to prevent the upload from occurring again until the user has deleted what he has uploaded in order to upload the correct file.

    thanks,
  • You need to set the div height to 0.
  • Thanks - will look into that then!
  • My uploadify is placed in a div - the div is buried in a field set:











    I'm trying to set the id divareaPhotoID height to 0 by using:

    $('divareaPhotoID').height(0); or #('divareaPhotoID').css('Height', 0); etc

    no response at all..any thoughts?
  • If you are applying uploadify to divareaPhotoID, then what you are trying to do will not work as uploadify changes the div id. Surround the element you are applying uploadify to with another div and set that one to 0.

    You'll need to submit more code before I be of any further help. One line strips are next to impossible to debug.
  • I've placed Uploadify into a table cell.


    <tr>
    <td><div id="divareaPhotoID"> <input type="file" id="uploadifyControl1"> </div></td>
    <td>General Message</td>
    </tr>

    <tr>
    <td><div id="divareaPhotoIDTwo"> <input type="file" id="uploadifyControl2"> </div></td>
    <td>General Message</td>
    </tr>



    The basic idea is that there will be two or more Uploadify controls on the table. After the onSuccess of uploading a file in UploadifyControl1, then the divareaPhotoID height should be set to zero.

    If the file is not what the user wants after previewing it, the file is removed and the divareaPhotoID height goes back to normal.

    The same applies to divareaPhotoIDTwo.

    I could use multi-file upload but we need to control each file to a document type and make it less confusing by having a step by step process. So far it works great - its the disabling or hiding of Uploadify we want to do. Thanks!