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


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
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: 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.
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: 28th March 2024 - 05:01 AM