Colin
Colin

Reputation: 2487

How to stop Uploadify from displaying progress box

Just as the title says, I can't seem to get Uploadify to stop displaying the progress box during upload. Here is what I have:

$('#imageupload').uploadify({
                'swf'      : 'scripts/uploadify/uploadify.swf',
                'uploader' : 'scripts/uploadify/uploadify.php',
                // Put your options here
                'buttonText' : 'Select Image',
                'uploadLimit' : 999,
                'overrideEvents' : ['onUploadProgress'],
                'multi' : false,
                'formData'      : {'yourid' : '<?=@(int)$_SESSION['user']?>'},
                'fileSizeLimit' : '2MB',
                'fileTypeExts' : '*.gif; *.jpg; *.png; *.JPG; *jpeg',
                'fileTypeDesc' : 'Image Files',
                'onUploadStart' : function(file) {
                    $("#imageupload").uploadify("settings", "formData", {'yourid' : $(".userid").attr("id")});
                    $(".imageuploadbox #imagepercent").css("display", "inline");
                },
                'onUploadSuccess' : function(file) {
                    var currenttime = new Date();
                    $("img#yourprofilepic").attr("src", "images/artist_pictures/thumbs/artist_8.jpg?"+currenttime);
                },
                'onUploadProgress' : function(file, bytesUploaded, bytesTotal, totalBytesUploaded, totalBytesTotal) {
                    var percentcomp = (100*(totalBytesTotal/totalBytesUploaded)).toFixed(0);
                    $('.imageuploadbox #imagepercent #percentcomplete').html(percentcomp);
                } 
            });

Upvotes: 1

Views: 3330

Answers (2)

Joe L.
Joe L.

Reputation: 4643

It seems like the names have changed, this one worked for me:

#upload_pc-queue{
    display:none;
}

Upvotes: 0

coder
coder

Reputation: 13248

It's simple try this:

Remove link to uploadify css and then add this in your css:

.uploadifyQueue
{
display:none;
}

Upvotes: 3

Related Questions