Uploadify button: Style with CSS?

后端 未结 8 2221
挽巷
挽巷 2020-12-04 12:44

Is it possible to replace the Uploadify button (which is a graphic containing up/over/down states) with a simple CSS-styled button?

8条回答
  •  忘掉有多难
    2020-12-04 13:21

    100% working example. Tested in Firefox, Chrome, Opera and IE6!

    HTML:

    Select files to upload

    CSS:

    #uploadify-wrapper {position:absolute; overflow:hidden}
    

    JavaScript:

    $('#uploadify').uploadify({width:1000, height:1000, hideButton:true, wmode:'transparent', queueID:'uploadify-queue', ...);
    $('#uploadify-wrapper').width($('#btn').outerWidth()).height($('#btn').outerHeight());
    

提交回复
热议问题