A lil help with a candle animation |
A lil help with a candle animation |
elirishjeff |
Apr 22 2011, 06:43 AM
Post
#1
|
Group: Members Posts: 1 Joined: 22-April 11 Member No.: 14,387 |
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 |
Apr 22 2011, 10:57 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
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. |
Frederiek |
Apr 23 2011, 04:31 AM
Post
#3
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
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. |
Lo-Fi Version | Time is now: 26th April 2024 - 09:07 AM |