Created
April 24, 2013 13:52
-
-
Save gigorok/5452279 to your computer and use it in GitHub Desktop.
Customize input file for twitter bootstrap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="position:relative;"> | |
<a class='btn' href='javascript:;'> | |
Choose File... | |
<input type="file" style='position:absolute;z-index:2;top:0;left:0;filter: alpha(opacity=0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;background-color:transparent;color:transparent;' name="file_source" size="40" onchange='$("#upload-file-info").html($(this).val());'> | |
</a> | |
| |
<span class='label label-info' id="upload-file-info"></span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment