Conéctate con Rosemary!
esenfrdeitptru
Datos Compañía/Persona
Publicidad a Contratar
' ); } } for (var i in files) { if(typeof files[i].id != 'undefined' && files[i].id != null){ var error = false; var fsize = ''; if(typeof files[i].size != 'undefined'){ fsize = '(' + plupload.formatSize(files[i].size) + ') '; } JQuery('#bfFlashFileQueue7').append('
' + (iOS ? '' : files[i].name) + ' ' + fsize + '
'); var file_ = files[i]; var uploader_ = uploader; var bfUploaders_ = bfUploaders; JQuery('#' + files[i].id + 'cancel').click( function(){ for( var i = 0; i 0 && typeof files[i].size != 'undefined' && files[i].size > thebytes){ alert(' Too large, won\'t be uploaded!'); error = true; } var ext = files[i].name.split('.').pop().toLowerCase(); var exts = 'zip,rar,pdf,doc,xls,ppt,jpg,jpeg,gif,png'.split(','); var found = 0; for (var x in exts){ if(exts[x] == ext){ found++; } } if(found == 0){ alert( ' File extension not allowed!' ); error = true; } if(error){ JQuery('#'+files[i].id+'queue').remove(); JQuery('#'+files[i].id+'queueitem').remove(); }else{ bfFlashUploadersLength++; } bfUploadImageThumb(files[i]); } } }); uploader.bind('UploadProgress', function(up, file) { if(typeof JQuery('#'+file.id+'queue').get(0) != 'undefined'){ JQuery('#'+file.id+'queue').get(0).getElementsByTagName('b')[0].innerHTML = file.percent + '%
'; } }); uploader.bind('FileUploaded', function(up, file, response) { if(response.response!=''){ if(response.response !== null){ alert(response.response); } } JQuery('#'+file.id+'queue').remove(); }); uploader.init(); bfUploaders.push(uploader); }); //-->

Newsletter

Mantengase conectado a través de su correo electrónico