What you’d want to do is add a javascript onClick event.
http://www.w3schools.com/jsref/event_onclick.asp
Then, with CSS, hide the submit button after the onClick and show an image instead. So maybe the onClick adds a class to the submit button and shows the graphic (similar to the Hello World that’s displayed in the demo on the w3schools page).
Thanks chris. I have to look into the code to apply this trick.
Maybe i can use the space that this plugin uses to display the success message. First the progress image and then the success message.
I hope Rinat could specify where to apply this code, around which line.
Yeah, it’s by no means a perfect solution, but it could work as a quick hack. At the very least hiding the submit button would probably be useful. I don’t actually use this plugin but I got pinged because I wrote *this* plugin: http://wordpress.org/extend/plugins/progress-bar/ 🙂
Chris,
Thanks for the tips of course. And the progress bar that you created looks great. I wonder if that can be merged with the upload plugin… 🙂
Plugin Author
Rinat
(@rinatkhaziev)
Hey guys,
Thanks for the attention. Unfortunately, I don’t have any time to put in the plugin right now, unless it’s something critical. Chris proposed a good workaround in the mean time.
The thing is, current implementation of file upload is synchronous, to do a proper progress bar I’d have to implement AJAX uploads. While these are trivial tasks, they still take time to build and test.
The issue is definitely on my list, I just can’t give you any tentative release date.