Disable the submit button and change it to something like
working:
<script type="text/javascript">
<!--
var submitted = false;
function SubmitTheForm() {
if(submitted == true) {
return;
}
document.myform.mysubmit.disabled = true;
document.myform.mysubmit.value = 'Image upload in
progress..........';
document.myform.submit();
submitted = true;
}
//-->
</script>
<input type="submit" name="mysubmit" id="mysubmit"
value="Upload Images"
onclick="SubmitTheForm();">
--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com
"idesdema" <webforumsuser@macromedia.com> wrote in
message
news:g8s48l$o8q$1@forums.macromedia.com...
> Hello. I am running ImageCFC on my site. Users can
upload images and
> then I
> run the CFC to resize them. It is taking a VERY long
time to do this. Is
> there a good way to let the user know the images are
uploading and to be
> patient. I used to just put in red bold text at the
Submit button to
> "Please
> be patient as your images upload" but I'm looking for
something a little
> more
> savvy. I would like to have a page load saying "Upload
Successful" or
> even
> "Upload in Progress" while the code runs in the
background. Recently I've
> seen
> the pages where you hit submit on a form and the whole
browser window
> darkens
> except for a small notification box in the middle of the
page that says
> something like "In progress" or one of those moving
circle graphics or
> even a
> progress bar. Can anyone suggest a solution?
>
>