Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Percent completed

    Hi all, I have created a cfm that tracks the stages in projects. Once the user
    clicks a checkbox next to a stage in the project, it stamps that stage with
    with a date and saves the info to a database. Is there an easy way to produce
    a progress bar that shows the amount of the project that was completed based on
    the number of items checked??

    Thanks in advance.

    EdmondsM Guest

  2. Similar Questions and Discussions

    1. Adding another item to a completed DataLIst
      Hello, I'm using a datalist, 2 columns, verticle direction. When the items are finished being displayed, I'd like to "manually" add addition text...
    2. Submittng completed form to an email address - HELP
      Using Acrobat 6 Pro in Windows. How do I set up the "submit form selections" so a completed form can be submitted to my email address? I don't...
    3. Site completed, evaluation please
      Completed my first site. I made some minor revisions and would appreciate your comments. Referring URLs http://www.bertmoniz.com
    4. File upload -- completed but with errors :--)
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaa aaa a Men , what a F*** Thanx guys ... Hear ya
    5. AusPhotographers Comp for June has been completed ...
      http://www.aus-photographers.net/comp/june03.php Congratulations to all who entered, the standard was really good ... Congratulations to Gary...
  3. #2

    Default Re: Percent completed

    You can use an image and then set the width to the percent complete. Or you
    could create a basic flash movie and pass it a variable to in the embed
    statement using flashvars to create a progess bar. It depends what you are most
    comfortable with!

    Stressed_Simon Guest

  4. #3

    Default Re: Percent completed

    Anyone else have any ideas??
    EdmondsM Guest

  5. #4

    Default Re: Percent completed

    What's wrong with Simon's suggestion? It's perfectly appropriate based on the
    information you gave us.

    You can create an image that is blue, 1 pixel by 1 pixel, and call it
    blue.gif. Using HTML IMG attributes, you can set the width and height of this
    image to create a bar of any dimensions. For example:

    <IMG SRC="blue.gif" WIDTH="500" HEIGHT="50">

    So if you decide that 100% of your project is 500 pixels, you figure out how
    much of the project is done, multiply that by 500, and use the value to set the
    width. 50% of the project = .5 * 500 = 250. So you use ColdFusion to generate
    the width to create your progress bar.

    <IMG SRC="blue.gif" WIDTH="#pctwidth#" HEIGHT="50">

    Pretty simple.

    -Paul


    dempster Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139