View Single Post
Old 12th May 2005, 12:17 PM   #10
Mr. Tech's Avatar

Username: Mr. Tech
Rank: Problem Solver
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
Send a message via MSN to Mr. Tech
Default

Ahh, I see now Yep, that can be a pain... Here's a sample form...

Code:
<form action="index.php?uploaded=true" method="post" ENCTYPE="multipart/form-data"> File:<br><input type="file" name="userfile" size="30"><br> <input type="submit" value="Upload!" onClick="document.getElementById('waiting').style.display = '';document.getElementById('body').style.cursor = 'wait'"><br><br> <div id="waiting" style="text-align: left; display: none; padding: 5px;"> <font color="red">Please wait while the file uploads...</font> </div> </form>

All you need to do is ad the bolded code to your code and add the image code between <div id="admin" style="text-align: left; display: none; padding: 5px;"> and </div>
__________________
Please read the Forum Rules

Get rewarded for posting
- free advertising!

.::. [ Webmaster Resources ] .::. [ Web Design ] .::. [ Developer Tutorials ] .::.
Mr. Tech is offline   Reply With Quote