Does anyone know how to do this?

Monday, November 28, 2005 by RomanDA | Discussion: 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

WebGizmos
Reply #1 Monday, November 28, 2005 10:36 AM
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.
ExodusCrow
Reply #2 Monday, November 28, 2005 11:45 AM
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.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01