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).
Topher Fangio
2010-06-09 19:41:37
Any documentation on how to use it?
Diego Correa
2010-06-10 17:15:55
@Diego Correa - Coming soon. Working on some bug fixes and documentation right now and this afternoon.
Topher Fangio
2010-06-14 16:40:13
+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
2010-06-09 19:42:33
+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
2010-06-09 19:44:07
A:
You can try this http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom
metal-gear-solid
2010-06-10 03:34:49