Help - Search - Members - Calendar
Full Version: A lil help with a candle animation
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
elirishjeff
I have set up a small memorial site for my gf who has just passed,
I would like to have a small candle on the page, a simple click and light with a counter to show how many times it has been light/
Is this possible on HTML??
Thanks in Advance
Jeff
pandy
No. It would take JavaScript to switch the image with the unlighted candle to an animated one with a burning candle. It would take a server-side script to count the clicks.

Sorry about your girlfriend. sad.gif
Frederiek
The server-side part should write the count in a .txt file. See for example http://green-beast.com/blog/?p=78 to give you an idea. Found by searching for "php count clicks session".

I'm sorry for your loss too.
Only, I thought "gf" to be grandfather.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.