tags:

views:

67

answers:

4

Hello guys, I'm trying to put some style in the input=file aka uploader and I'm having a hard time with it, is there some NON FLASH solution (maybe jquery or even plain javascript)?

A: 

I wrote the following a while back to help me with this problem. Hasn't been updated in a while, but please let me know if you find bugs (just create an issue on the GitHub page).

http://github.com/topherfangio/FancyFile

Topher Fangio
Any documentation on how to use it?
Diego Correa
@Diego Correa - Coming soon. Working on some bug fixes and documentation right now and this afternoon.
Topher Fangio
+1  A: 

I think this Quirksmode page may have your solution: http://www.quirksmode.org/dom/inputfile.html

I think CSS is your best bet.

wag2639
+2  A: 

It's doable, but not that easy. You need to mimic the file input with a normal input element/button and overlay the original file input with it. Long story short: http://www.quirksmode.org/dom/inputfile.html There are jQuery plugins for this, like this one.

BalusC