Skip navigation
Currently Being Moderated

cfdir question

Jul 27, 2012 4:45 AM

Cfdir can take a while on a large directory and it seems to blank the screen out while waiting. How can a message like "Please Wait" or a progress bar be put on the screen instead ?

 
Replies
  • Currently Being Moderated
    Jul 28, 2012 1:33 AM   in reply to lwfg

    I am not sure how much big your directory is?

    Have you tried some thing like this?

     

    <img id="busy" src="busyIcon">

    <cfdirectory action="list" directory="E:\" name="myvar" >

    <cfdump var="#myvar#" >

    <script type="text/javascript">

         code for hide busy icon.

    </script>

     

    I know this is looking odd but you can try this.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 28, 2012 3:09 AM   in reply to saurav Pandit

    just a quick post!

    Have you checked the view soure, just want to know coldfusion is sending blank response?

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 28, 2012 4:52 AM   in reply to lwfg

    <cfprogressbar>

     
    |
    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