In a manner of speaking, yes. And this also applies to any page that you
want a Please Wait for. You can use the OnBeforeUnload event (IE5+ only) to
bring up a Please Wait message before the current page unloads and the
requested page is called. Typically what you would do is have for example a
<DIV id="plswait" style="display:none>
Please Wait
</DIV>
somewhere on your page. Obviously you can format it nicely and place it
somewhere convenient by using positioning styles.
In your body tag have an OnBeforeUnload="pleaseWait();"
which calls:
function pleaseWait() {
plswait.style.display = block;
}
and an OnLoad="hidePleaseWait();"
function hidePleaseWait() {
plswait.style.display = none;
}
HTH
Steve
> -----Original Message-----
> From: sebastian palmigiani [mailto:[EMAIL PROTECTED]]
> Sent: 06 June 2001 13:01
> To: CF-Talk
> Subject: file upload and 'please wait'
>
>
>
>
> Has anyone figured out how to show a 'please wait page' when uploading a
> file without using CF 5 progress meter? The file does not transfer when
> using an intermediate page. I ended up using:
>
> <INPUT TYPE="Submit" NAME="Submit" VALUE="Submit Form"
> onClick="if(this.value == 'Submit Form') this.form.submit(); this.value =
> 'Please Wait. . .';">
>
> Sebastian
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists