jquery 大文件分片上传插件 fcup.js
- 授权协议: Apache
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://gitee.com/lovefc/fcup
- 软件文档: https://gitee.com/lovefc/fcup
软件介绍
fcup.js
fcup 是一款支持大文件切片上传插件。该jquery插件使用简单,配置简单明了,支持上传类型指定,进度条查看上传进度。。
安装
直接下载源码,上传功能需要php环境,演示地址: http://fcphp.cn/fcup
使用方法
$.fcup({
updom: '.fcup',//上传控件的位置dom
//upid: 'upid',//上传的文件表单id,有默认
shardsize : '0.5',//切片大小,(单次上传最大值)单位M,默认2M
upstr: '上传文件',//按钮文字
uploading: '上传中...',//上传中的提示文字
upfinished: '上传完成',//上传完成后的提示文字
upurl: './file.php',//文件上传接口
//uptype: 'jpg,png,gif,jpeg',//上传类型检测,用,号分割
errtype: '不支持此类型文件',//不支持类型的提示文字
//接口返回结果回调
upcallback : function(result){
console.log(result);
}
});更新日志
2018/1/8 : 添加了对于接口返回结果的回调,添加了对于上传表单id的指定
Head First Design Patterns
Elisabeth Freeman、Eric Freeman、Bert Bates、Kathy Sierra、Elisabeth Robson / O'Reilly Media / 2004-11-1 / USD 49.99
You're not alone. At any given moment, somewhere in the world someone struggles with the same software design problems you have. You know you don't want to reinvent the wheel (or worse, a flat tire),......一起来看看 《Head First Design Patterns》 这本书的介绍吧!
