Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Custom Uploadify button


Reply


2 Posts   2679 Views

Avatar
BlueO

Community Member, 52 Posts

18 January 2012 at 2:34pm

Hi there,
I'm using UploadifyField in the front end of one of our forms and i'm having trouble customising the size of the 'Browse' button.

I've tried to manipulate the style of the surrounding html elements but the button (i.e. the clickable area) stays the size of the Uploadify.swf object.

Would anyone be able to give me some insight as to how to make a larger button?

Cheers

Bernard

Avatar
BlueO

Community Member, 52 Posts

19 January 2012 at 9:26am

OK, found the answer to my question (I love it how that happens soon after you think you've tried everything and write a post...)

anyway for those who come across this - in uploadify.js (see the readable version uploadify.src.js) there are some options to change the uploadify.swf size:

height : 30, // The height of the flash button
width : 120, // The width of the flash button