zoukankan      html  css  js  c++  java
  • Uploadify 参数说明

    属性(按官方文档顺序):

      auto:Input Type Boolean,是否自动上传,默认true;

      buttonClass:Input Type String, uploadify按钮上添加的样式名称;

      buttonCursor:Input Type String,鼠标移上去时的鼠标手势,有’hand’和’arrow’两个选项;

      buttonImage:Input Type String,按钮背景图片;

      buttonText:Input Type String,按钮文字片;

      checkExisting:Input Type String,是否检查文件是否已经被上传;

      debug:Input Type Boolean,是否进入调试模式,默认false;

      fileObjName:Input Type String,后台表单接受的名称,默认Filedata;

      fileSizeLimit:Input Type Number,上传的文件大小,接受单位为B, KB, MB, or GB的数字,默认单位为KB,设置成0表示无限制,’fileSizeLimit’:’100KB’;

      fileTypeDesc:

      fileTypeExts:Input Type String,允许的文件后缀,(i.e. ‘*.jpg; *.png; *.gif’).;

      formData:Input Type JSON Object,要传递的其它参数;(3.0 -)

      scriptData:Input Type JSON Object,要传递的其它参数;(3.0+)

      height:Input Type Number,按钮高度;

      method:Input Type String,上传的方式,post或者get,默认post;

      multi:Input Type Boolean,是否允许多文件上传,默认true;

      overrideEvents:

      preventCaching:

      progressData:Input Type String,当上传的时候,显示的内容,有‘percentage’ or ‘speed’两个选项,即显示百分比或显示上传速度;

      queueID:Input Type String,上传文件的队列ID;

      queueSizeLimit:Input Type Number,一次可以上传的文件数量,默认999;

      removeCompleted:Input Type Boolean,是否移除已完成的文件,默认true;

      removeTimeout:Input Type Number,已完成文件的移除延迟时间,默认3;

      requeueErrors:

      successTimeout:Input Type Number,等待服务器处理文件的时间,默认30s,当超过时,就认为文件已经正确上传;

      swf:Input Type String,uploadify.swf的路径,默认’uploadify.swf’;

      uploader:Input Type String,服务端处理脚本,默认’uploadify.php’;

      uploadLimit:Input Type Number,上传的最大数量,默认999;

      width:Input Type Number,按钮宽度,默认120;

    事件:

      onCancel:当一个文件从队列中移除时触发;

      onClearQueue:当清空队列时触发;

      onDestroy:当调用destroy时触发;

      onDialogClose:当对话框关闭时触发;

      onDialogOpen:当对话框打开时触发;

      onDisable:当uploadify实例被调用disable方法时触发;

      onEnable:当uploadify实例被调用enable方法时触发;

      onFallback:

      onInit:实例被初始化时触发;

      onQueueComplete:队列完成时触发;

      onSelect:当选择某一文件时触发;

      onSelectError:当选择文件,发生错误时触发;

      onSWFReady:当falsh boject加载完毕时触发;

      onUploadComplete:当文件(单个)上传成功时触发,不管成功还是失败;

      onUploadError:当上传单个发生错误时触发;

      onUploadProgress:上传过程中触发;

      onUploadStart:

      onUploadSuccess:当每一个文件上传成功时触发;

  • 相关阅读:
    获取表信息(MSSQL)
    合并有数据的列
    isnull的使用方法
    查询SQLServer的启动时间
    查询数据库中有数据的表
    查询数据库中表使用的空间信息。
    SQL Server SA 密码丢失无法连接数据库怎么办?
    tensorflow 语法及 api 使用细节
    Python: PS 滤镜-- Fish lens
    中英文对照 —— 概念的图解
  • 原文地址:https://www.cnblogs.com/zealon/p/4319229.html
Copyright © 2011-2022 走看看