customize uploader.InsertText

Last post 01-31-2012, 6:54 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  01-30-2012, 5:19 PM 72874

    customize uploader.InsertText

    1/
    is it possible to customize
    uploader.InsertText="mytext"
    with (example) style="width: 450px; height: 40px" class="auto-style12"
    if so how?
    2/
    is it possible to hide the button
    uploader.InsertText="mytext"
    after upload ? (form-keepingstate.asp)
    if so how?
    ---------------
    I just bought ASPUpload, very good script!

  •  01-31-2012, 6:54 AM 72883 in reply to 72874

    Re: customize uploader.InsertText

    Hi praxis73,
     
    #1
     
    You can achieve the first requirement by property "InsertButtonID" 
     
     <button id="button1" style="width: 450px; height: 40px" class="auto-style12">
                    myUpload
                </button>
    uploader.InsertButtonID="button1"  
     
     #2
    You can hide the upload button after upload in API CuteWebUI_AjaxUploader_OnPostback
     
    Add the code below to the bottom of our page will hide the upload button after upload.
    <script>
    function CuteWebUI_AjaxUploader_OnPostback()
    {
        var hidden=this;
        hidden.internalobject.insertBtn.style.display='none';
    }
    </script>
     
    Regards,
     
    Ken 
     
View as RSS news feed in XML