The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> A lil help with a candle animation
elirishjeff
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 22 2011, 10:57 AM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 15,366
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. sad.gif


--------------------
"Never go to excess, but let moderation be your guide."
- Cicero

IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Apr 23 2011, 04:31 AM
Post #3


Programming Fanatic
********

Group: Members
Posts: 4,330
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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 1st September 2014 - 06:15 AM