Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
EdmondsM #1
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
-
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... -
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... -
Site completed, evaluation please
Completed my first site. I made some minor revisions and would appreciate your comments. Referring URLs http://www.bertmoniz.com -
File upload -- completed but with errors :--)
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaa aaa a Men , what a F*** Thanx guys ... Hear ya -
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... -
Stressed_Simon #2
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
-
-
dempster #4
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



Reply With Quote

