Skip navigation
Currently Being Moderated

Adding Animation While Waiting

Jul 27, 2012 5:57 AM

Have a number of CF form pages, which users fill out (formpage.cfm).  These call the actionpage.cfm, which displays the report.

 

Would like to add animation while the user is waiting for their reports.  Not exactly sure how best to do this with CF9.  Don't use/implement Ajax, but could learn.  If there are other ways, such as java-script, etc., just need to know the best placement for the script (does it go in the formpage or the actionpage .CFM file?, etc.).

 

Just need to see a few examples of how others have implemented this in the past.  If anyone has some pointers, or sample code to share, that would be most appreciated.  Thank you.

 

Gary

 
Replies
  • Currently Being Moderated
    Jul 28, 2012 4:52 AM   in reply to Gary1

    cfprogressbar

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 2, 2012 12:18 PM   in reply to Gary1

    I've never tried to implement it either as we have also recently upgraded from cf7 to 9.  Another way would be something like this:

     

     

    <div id="something">

    image

    </div>

    <cfflush>

    code that takes awhile

    <cfsavecontent>

    code to produce display

    <cfsavecontent>

    <script>

    js code to replace contents of div

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points