uddhava
Member
Posted 4 months ago #
Rinat,
A plea again for a progress bar. The next release came, but the progress bar didnt make it in. Maybe you could give a short example how to display a fake progress icon after the submit button is clicked.
In that way my users will not close the upload.
previous topic (now resolved)
http://wordpress.org/extend/plugins/frontend-uploader/
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).
uddhava
Member
Posted 4 months ago #
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/ :)
uddhava
Member
Posted 4 months ago #
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... :-)
Rinat Khaziev
Member
Plugin Author
Posted 4 months ago #
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.