Results 1 to 6 of 6

Thread: fund raising thermometer

  1. #1
    Join Date
    Sep 2006
    Posts
    204
    Thanks
    11
    Thanked 3 Times in 3 Posts

    Default fund raising thermometer

    I'm looking for a fund raising thermometer that I can use similar to the one below, but instead pasting a image to the site I would like to be able to add funds to it and it changes the graph on the fly, also I would like to see increments of say £10,000 at a time, does anybody know of anything I could use

    Cheers

    Chet

    http://phpfundthermo.sourceforge.net/

  2. #2
    Join Date
    Jan 2005
    Location
    Cardiff
    Posts
    449
    Thanks
    10
    Thanked 17 Times in 17 Posts

    Default

    It ought to be pretty easy using php/asp/asp.net & css:

    Use an empty thermometer as a background image in a div and then use a positioned red image to show the level.
    You can stretch the height of the red image according to the funds raised.


  3. #3
    Join Date
    Sep 2006
    Posts
    204
    Thanks
    11
    Thanked 3 Times in 3 Posts

    Default

    Sorry, I was looking for somthing that was already complete as I can not program

  4. #4
    Join Date
    Jan 2005
    Location
    Cardiff
    Posts
    449
    Thanks
    10
    Thanked 17 Times in 17 Posts

    Default

    Try Googling "dynamic fundraising thermometer"

    These look good and you can raise the level by editing the source code - no programming required!



  5. #5
    Join Date
    Sep 2006
    Posts
    204
    Thanks
    11
    Thanked 3 Times in 3 Posts

    Default

    Thanks for you replies, I'm trying yo use this one but having a few issues, I have copied the code across and all I get is an image, if thak a look here will see what I mean, can you let me know where its gone wrong

    Thanks

    Chet

  6. #6
    Join Date
    Apr 2006
    Location
    Amsterdam
    Posts
    352
    Thanks
    20
    Thanked 11 Times in 11 Posts

    Default

    It creates a danamic image that you can use in your website. You can change the image using querystring input values.

    There are three input values:
    'unit' - the ascii value of the currency unit.

    By default 36 ($)
    other interesting ones are:
    163: British Pound
    165: Japanese Yen
    8355: French Franc
    8364: Euro

    'max' - the goal
    'current' - the current amount raised
    Add those values to your url and you can change the image. For example:

    http://www.cliftonfc.co.uk/thermo/th...t=950&unit=163

    This would be you HTML code for use on a page.
    Code:
    <img src="http://www.cliftonfc.co.uk/thermo/thermo.php?max=2000&current=950&unit=163" alt="fund raising thermometer" />

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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