Can anyone help
I am looking for code for a fundraising thermometer.
I have looked and looked and looked.
I need it to be html and js
Can point me in the right direction.
Can anyone help
I am looking for code for a fundraising thermometer.
I have looked and looked and looked.
I need it to be html and js
Can point me in the right direction.
We need more information than that, what is the temperature of the thermometer based off? Time? An inputed value?
"Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
Anime Views Forums
Bernie
Javascript cannot know how much the organization has raised. It needs to get that from a database or text file, somewhere it's been stored.
If it's a database, you need some server side code, and in fact could do all the math work server side. With a text file you could retrieve the information with AJAX, which is technically javascript and do the math in javascript. But someone or something would have to update that text file to keep it current. If it's a person, fine. If not, again server side code would be required.
Put another way - No javascript is needed, server side code could do all the data retrieval and math. But if it is a text file that holds the information and that's updated by a person, no server side would be required. Then it could all the retrieval and math could be done via javascript.
Of course HTML would be involved, to render the thermometer. I imagine you've found one of those that you like, if so, you could use that.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks