The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> 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
 
Reply to this topicStart new topic
Replies(1 - 2)
pandy
post Apr 22 2011, 10:57 AM
Post #2


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

Group: WDG Moderators
Posts: 16,109
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
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,826
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.
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: 22nd May 2015 - 09:43 PM