| 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
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,801 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: 3,586 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. -------------------- "The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French) "Leave scepticism to others and take action" from HOME by Goodplanet An inconvenient truth by Al Gore |
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th June 2013 - 02:02 AM |