I have implemented a script that allows me to replace the standard file upload input with a custom image. The script also ensures that an invisible 'browse' button appears underneath the mouse pointer whenever it hovers over the custom image. This functionality works well in ie7, ie8, ie9, Firefox, Safari, and Chrome, but unfortunately, it does not work in Opera. In Opera, the regular file input is displayed instead.
While I am aware that there are numerous scripts available that offer similar features, many of them are too complex for me to understand (such as uploadify) or they do not achieve the desired outcome perfectly - like resizing the custom image to match the size of the file input (which has its own issues).
You can find the script I am using here. It is relatively simple.
I am curious as to why this script does not function correctly in Opera. Is there a way to fix this issue? Despite this limitation, the script meets my needs perfectly except for the Opera compatibility problem.