Welcome, Sit down, and make yourself comfortable.
Published on November 28, 2005 By RomanDA In Websites
Hey all,

I have a web site i setup for my sister who runs a Salvation Army Corps. She has a request for something that im not sure how to do.
Im SURE with all the people here (including stardock!) someone knows how to do this.

She wants to display a candy cane or a tree, or maybe a kettle and have it FILL as the donations increase.
something VERY similar to what WC had when it was showing the Subscription Drive.

It needs to read the data from a database (thats not a big deal). She can enter the GOAL and the Current Total into the DB and have it show the (item) show filled to the point where it would be % wise.

ANY help would be GREAT!

Thanks soooo much,
and Merry CHRISTmas!

Romanda

BTW: her site is: Link


Comments
on Nov 28, 2005
I'm sure T-Man can help you with this. Basically the same as you saw with the subscription drive, all you would need to do is change the graphics.
on Nov 28, 2005
Why not make 10 versions of the tree at different values and display the tree that corresponds to the current total? Depending on the size of the tree you won't be able to see small variations of a few percent anyway. I don't know of many people that analyze a chart and see if it's exactly 43% as opposed to 40%.

There are ways however of creating graphs using PHP or other languages. Do some searches for survey scripts to look at examples. Hope this helps.