Thank you - Steven,
It worked by setting  <cfflush interval="10"/>.

Thank you!!




  ----- Original Message ----- 
  From: Steven Ross 
  To: discussion@acfug.org 
  Sent: Monday, February 04, 2008 12:33 PM
  Subject: Re: [ACFUG Discuss] <cffush> problem in CF8


  from the livedocs... you may need to flush more data... I've but stuff in 
comments such as <!-- flush flush flush flush flush flush flush --> so you have 
something to flush to the buffer.


  Also try setting it to an interval ie: <cfflush interval="10"/> (10 == number 
of bytes)



  Usage

  The first occurrence of this tag on a page sends back the HTML headers and 
any other available HTML. Subsequent cfflush tags on the page send only the 
output that was generated after the previous flush.

  When you flush data, ensure that enough information is available, as some 
browsers might not respond if you flush only a small amount. Similarly, set the 
interval attribute for a few hundred bytes or more, but not thousands of bytes.












  On Fri, Feb 1, 2008 at 11:40 PM, Takashi Hara <[EMAIL PROTECTED]> wrote:

    I'm having a problem with the following code in CF8 since switched from CF 
MX7.
    If anyone could please advise me. Thank you!

    Tassy  

    <div align="center"><img name="Meter" 
src="../images_Common/PercentBlank.jpg" 
      alt="" border="0">
     </div>
     <cfflush>
     <cfloop from="0" to="125" step="25" index="i">
     <cfset initialTime = now()>
     <cfloop condition="dateDiff('s', initialTime, now()) lt 2"></cfloop>

     <cfoutput>
       <div align="center">
         <script language="JavaScript">
     document.images["Meter"].src = '../images_Common/Percent#i#.jpg';
       </script>
       </div>
     </cfoutput>
     <cfflush>
     </cfloop>


    ------------------------------------------------------------- 
    Annual Sponsor - Figleaf Software 

    To unsubscribe from this list, manage your profile @ 
    http://www.acfug.org?fa=login.edituserform 

    For more info, see http://www.acfug.org/mailinglists 
    Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
    List hosted by FusionLink 
    ------------------------------------------------------------- 



  -- 
  Steven Ross
  web application & interface developer
  http://blog.stevensross.com
  [mobile] 404-488-4364 [fax] 267-482-4364
  [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ] 

  ------------------------------------------------------------- 
  Annual Sponsor - Figleaf Software 

  To unsubscribe from this list, manage your profile @ 
  http://www.acfug.org?fa=login.edituserform 

  For more info, see http://www.acfug.org/mailinglists 
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
  List hosted by FusionLink 
  -------------------------------------------------------------


-------------------------------------------------------------

Annual Sponsor FigLeaf Software - http://www.figleaf.com



To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-------------------------------------------------------------


Reply via email to