Hi
I have website where users can upload pictures on server. Sometimes it take 4-5 seconds until the upload it's finish.
What can I do that when I click on upload button an icon appear in middle of the screen and disappear then the pictures was finish uploading.
Thanks
loading icon
Moderator: General Moderators
-
mikeashfield
- Forum Contributor
- Posts: 159
- Joined: Sat Oct 22, 2011 10:50 am
Re: loading icon
You'll probably be best using JavaScript for this, something along the lines of:
$('img.example').load(function() {
$('#spinner').fadeOut();
});
$('img.example').load(function() {
$('#spinner').fadeOut();
});