> 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 ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1046
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