Re: [PHP] POST form File Upload Progress Bar?

2002-04-16 Thread Weston Houghton


My cheap trick around this is to have an onClick event on the form submit
button that brings up a small window with a progress note in it, and an
animated gif of a prgress bar.

As the page does not unLoad until the upload is finished, I use the unLoad
event of the body tag to close that progress window.

Generally works really well for me. I can show you an example if you like.

Wes



 I have a POST form with a file upload field. Users will be uploading
 pictures. What would be the most professional way to tell them their
 file is
 uploading and to please wait? Since the action page won't execute until
 after the image is done uploading, is there a way to have an
 intermediary
 page load telling them to please wait, and that page will take the image
 and
 upload it? Or should I just put a note in the upload form warning them
 about
 the long upload times and gray out the submit button with javascript
 after
 it's clicked?
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] POST form File Upload Progress Bar?

2002-04-16 Thread Michael P. Carel

could you give us some samples im also searching for that. thanks.

Regards,
mike


 My cheap trick around this is to have an onClick event on the form submit
 button that brings up a small window with a progress note in it, and an
 animated gif of a prgress bar.

 As the page does not unLoad until the upload is finished, I use the unLoad
 event of the body tag to close that progress window.

 Generally works really well for me. I can show you an example if you like.

 Wes



  I have a POST form with a file upload field. Users will be uploading
  pictures. What would be the most professional way to tell them their
  file is
  uploading and to please wait? Since the action page won't execute until
  after the image is done uploading, is there a way to have an
  intermediary
  page load telling them to please wait, and that page will take the image
  and
  upload it? Or should I just put a note in the upload form warning them
  about
  the long upload times and gray out the submit button with javascript
  after
  it's clicked?
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] POST form File Upload Progress Bar?

2002-04-16 Thread Weston Houghton


Let me isolate it out of the project tonight, and I'll try to post a simple
example for everyone.

Wes


 could you give us some samples im also searching for that. thanks.
 
 Regards,
 mike
 
 
 My cheap trick around this is to have an onClick event on the form submit
 button that brings up a small window with a progress note in it, and an
 animated gif of a prgress bar.
 
 As the page does not unLoad until the upload is finished, I use the unLoad
 event of the body tag to close that progress window.
 
 Generally works really well for me. I can show you an example if you like.
 
 Wes
 
 
 
 I have a POST form with a file upload field. Users will be uploading
 pictures. What would be the most professional way to tell them their
 file is
 uploading and to please wait? Since the action page won't execute until
 after the image is done uploading, is there a way to have an
 intermediary
 page load telling them to please wait, and that page will take the image
 and
 upload it? Or should I just put a note in the upload form warning them
 about
 the long upload times and gray out the submit button with javascript
 after
 it's clicked?
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] POST form File Upload Progress Bar?

2002-04-16 Thread CompMan86

Hi, Thanks for your response =) I don't know much about javascript, so if
you could show me an example that would be great.

Weston Houghton [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...


 My cheap trick around this is to have an onClick event on the form submit
 button that brings up a small window with a progress note in it, and an
 animated gif of a prgress bar.

 As the page does not unLoad until the upload is finished, I use the unLoad
 event of the body tag to close that progress window.

 Generally works really well for me. I can show you an example if you like.

 Wes



  I have a POST form with a file upload field. Users will be uploading
  pictures. What would be the most professional way to tell them their
  file is
  uploading and to please wait? Since the action page won't execute until
  after the image is done uploading, is there a way to have an
  intermediary
  page load telling them to please wait, and that page will take the image
  and
  upload it? Or should I just put a note in the upload form warning them
  about
  the long upload times and gray out the submit button with javascript
  after
  it's clicked?
 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] POST form File Upload Progress Bar?

2002-04-16 Thread Alok K. Dhir

Here's a quick-and-dirty working example:

---
script language=Javascript
var waitwin;
function openWaitWin() {
 
waitwin=window.open(wait.html,wait_window,width=250,height=220,menu
bar=no,statusbar=no,toolbar=no);
}
function closeWaitWin() {
  if (waitwin!=null) {
waitwin.close();
  }
}
/script

body onunload='closeWaitWin()'
form method=post enctype=multipart/form-data action=myaction.php
input type=file name=test
br
input type=submit value=go onclick='openWaitWin()'
---

 -Original Message-
 From: 
 [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED].
net] On Behalf Of CompMan86
 Sent: Tuesday, April 16, 2002 11:23 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [PHP] POST form File Upload Progress Bar?
 
 
 Hi, Thanks for your response =) I don't know much about 
 javascript, so if you could show me an example that would be great.
 
 Weston Houghton [EMAIL PROTECTED] wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...


 My cheap trick around this is to have an onClick event on the form 
 submit button that brings up a small window with a progress note in 
 it, and an animated gif of a prgress bar.

 As the page does not unLoad until the upload is finished, I use the 
 unLoad event of the body tag to close that progress window.

 Generally works really well for me. I can show you an example if you 
 like.

 Wes



  I have a POST form with a file upload field. Users will be uploading

  pictures. What would be the most professional way to tell them their

  file is uploading and to please wait? Since the action page won't 
  execute until after the image is done uploading, is there a way to 
  have an intermediary
  page load telling them to please wait, and that page will take the
image
  and
  upload it? Or should I just put a note in the upload form warning
them
  about
  the long upload times and gray out the submit button with javascript
  after
  it's clicked?
 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php