swfupload 多文件上传实现代码

var swfu;
window.onload = function() {
var settings = {
flash_url : "js/swfupload_f9.swf",//flash地址
upload_url: "upload.PHP",//上传文件处理地址
post_params: {"PHPSESSID" : "“},
file_size_limit : “1000″,//大小限制 认单位为kb
file_types : “.jpg;.gif;.png;.swf”,//文件类型
file_types_description : “Web Image Files”,//文件类型描述
file_upload_limit : 100,//上传文件限制
file_queue_limit : 0,
custom_settings : {
progresstarget : “fsuploadProgress”,
cancelButtonId : “btnCancel”
},
debug: false,file_queued_handler : fileQueued,
file_queue_error_handler : fileQueueError,
file_dialog_complete_handler : fileDialogComplete,
upload_start_handler : uploadStart,
upload_progress_handler : uploadProgress,
upload_error_handler : uploadError,
upload_success_handler : uploadSuccess,
upload_complete_handler : uploadComplete,
queue_complete_handler : queueComplete
}; swfu = new SWFUpload(settings);
};

相关文章

统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
前言 之前做了微信登录,所以总结一下微信授权登录并获取用户...
FastAdmin是我第一个接触的后台管理系统框架。FastAdmin是一...
之前公司需要一个内部的通讯软件,就叫我做一个。通讯软件嘛...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...