use a div and some javascript Anthony Petruzzi Webmaster 954-321-4703 [EMAIL PROTECTED] http://www.sheriff.org
-----Original Message----- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 10:39 AM To: CF-Talk Subject: <cfflush The <cfflush just works great for what I need it for but.... I'm using the <cfflush to display "Work in progress..." while I'm executing a batch file with <cfexecute and then display the results from the program to screen. Is there a way to have the "Work in progress..." disappear once the results from the <cfexecute have appeared. Right now the progress text stays at the top of my page. <p align="center" style="Arial" size="+1"><font color="#ffffff">Work in progress...</font></p> <cfflush> <cfflush interval="1"> <cfexecute name="filename.bat" outputfile="output.rlog" timeOut="1000"> </cfexecute> <cffile action="READ" file="output.rlog" variable="results"> <table width="100%" cellpadding="6" cellspacing="0" border="0"> <tr align="center"> <td> <input type="button" value="Close" class="navlinks" onClick="self.document.open();"> </td> </tr> <tr align="center"> <td> <table cellpadding="6" cellspacing="0" border="0"> <tr> <td class="wdirlinks"> #replace(results,chr(10),"<br>","all")# </td> </tr> </table> </td> </tr> </table> ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

