• swfupload使用透明实现自定义背景和样式


    <div style="position:relative">
        <a href="javascript:void(0)" class=" w_local" style="color: rgb(102, 102, 102); text-decoration: none;" id="upbtn">图片上传</a>
    <div id="uploading"><span id="upload"></span></div>
        <input id="btnCancel" type="button" value="Cancel All Uploads" onclick="swfu.cancelQueue();" disabled="disabled" style="margin-left: 2px; font-size: 8pt; height: 29px;" />
       </div>

    this.ensureDefault("button_window_mode", SWFUpload.WINDOW_MODE.TRANSPARENT); //这句话是调整为透明swfupload.js

    a.w_local {
        background-position: 0 0;
        75px;
    }
    a.w_local, a.w_phone, a.w_localn, a.w_phonen
    {
      display:inline-block;
        height: 29px;
        overflow: hidden;
        padding-left: 25px;
        vertical-align: middle;
        line-height:29px;
    }
    a.w_local, a.w_phone, a.w_localn, a.w_phonen, .img_selector, .img_selector.hover, a.item_close, .drag .img_selector, a.w_local span em {
        background: url("../images/image_upload.png") no-repeat scroll 0 0 transparent;
    }
    #uploading
    {
        height: 28px;
        left: 0;
        position: absolute;
        top: 0;
        75px;
        display:block;
    }

  • 相关阅读:
    第09组 Beta冲刺(2/5)
    第09组 Beta冲刺(3/5)
    第09组 Beta冲刺(4/5)
    第09组 Beta冲刺(5/5)
    第09组 Beta冲刺(1/5)
    SDN课程阅读作业(2)
    C语言I作业07
    C语言I博客作业05
    C语言I博客作业04
    C语言I博客作业03
  • 原文地址:https://www.cnblogs.com/laogao/p/3135369.html
Copyright © 2020-2023  润新知