The below didn't work...Still no go...just the first image is being replaced.
Went back to the original. Something with the CFFLUSH I just don't understand.
<cfloop query="mylist">
<img src="working.gif" name="statmsg" id="statmsg" />
<cfflush>
<cfexecute...
<InvalidTag>
document.statmsg.src = "done.gif";
</script>
</cfloop>
> > Hmm...well...it seems it only replaces the first occurence from the
>
> > CFLOOP. Anything afterwards it just displays the "working" image.
>
> That's because we have to change the image back after the first
> process finishes its execution. Perhaps this should work:
>
> <img src="working.gif" name="statmsg" id="statmsg" />
>
> <cfloop query="mylist">
> <Xcript>
> document.statmsg.src = "working.gif";
> </Xcript>
> <cfflush>
>
> <cfoutput>
> Executing {name of process}. Please wait...
> </cfoutput>
>
> <cfexecute....
>
> <cfoutput>
> Done.<br />
> </cfoutput>
>
> <Xcript>
> document.statmsg.src = "done.gif";
> </Xcript>
> </cfloop>
>
>
> Regards,
>
>
> [ simon.cpu
]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1048
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54