Help with the new uploader

Austin

Well-Known Member
Messages
1,970
After two days of work, research and starting from scratch, Zezombia's third upload is nearing completion. Some new features are a much more sucure password system, a multi-file uploader, an admin system, a much better Web 2.0 style, and more.

The only thing left to do is a loading gif when you press "upload". I can't change the page when you press Upload without first uploading the file. Anyone out there who's good with javascript?
 
[SL]Slayer said:
I might take Java next year, but I think Remis will know it :biggrin:.
Java and JavaScript are different things.


I remember when we tried to make something with norek for his video uploading site (for video upload status bar). It wasn't much of a success, but just Google "JavaScript loading bar".
 
I'm only finding things that start showing when the page loads to the next page, and they indicate how long it takes for that page to load...

I'm just looking for a very simple "When they press Upload, display a gif image before the next page loads." Not a complicated status bar or anything like that.
 
You can do it with javascript or swf/flash. I don't have much practice in them.

Here is a psuedo script with javascript (isn't made by me)
Code:
<form action="#" onsubmit="return window.setTimeout(function() { document.getElementById('wait').style.display = 'block'; }, 0);">
  <input type="submit">
</form>

<div id="wait" style="display: none;">
  <img src="animated-progress-bar.gif">
</div>

a flash/javascript upload library:
http://swfupload.org/
 
Back
Top Bottom