Thanks a lot Bart, appreciate it!

brgds
Paul

Bart Remmerie wrote:
Dear Joseph,

Regarding the button just a quick & dirty answer. I remember having searched for the same thing one day and the best hint I came across was to position an image as background behind the button using css and attaching some simple javascript action to that image that emulates a button-click for the underlying button. I just googled this for you and found this link which could be interesting.

http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom

regards,
Bart


On Fri, Feb 6, 2009 at 12:46 PM, Paul Joseph <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    I have a form where I upload files that subsequently appear on the
    same form.

    Question: the button for the upload widget--I would like to
    replace it with a custom button more in line with the rest of the
    site.  But I can't find the existing button associated with the
    widget--it is gray and says "Browse..."  Would anyone know how to
    change it?

    Also, the customer wants to be able to DELETE uploaded files
    (which I display as a link on the form they uploaded it to.)  Are
    there any elegant ways to do this?  Like for example can one
    delete attachments in CForms using the e-mail method of deleting
    options i.e. "select" the attachment, then hit the "Delete" button?

    thanks in advance
    Paul

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [email protected]
    <mailto:[email protected]>
    For additional commands, e-mail: [email protected]
    <mailto:[email protected]>




--
Bart Remmerie

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to