Looking for a coutdown solution

Hi,

i am looking for a coutdown solution. When a product is created in my
database a coutdown starts. The countdown is presented to visitors on my
website.

Someone ideas, links ?

grtz…remco

http://keith-wood.name/countdown.html
I’ve used that before on my auction app. It workd pretty well.

Viola

Viola wrote:

http://keith-wood.name/countdown.html
I’ve used that before on my auction app. It workd pretty well.

Viola

I am a newbie…can you show me a code example how i can integrate this
script with a db-record

Thanks…advance!

remco

Remco S. wrote:

Viola wrote:

http://keith-wood.name/countdown.html
I’ve used that before on my auction app. It workd pretty well.

Viola

I am a newbie…can you show me a code example how i can integrate this
script with a db-record

What bit are you having difficulty understanding?

  • Create a product initializing an expiry datetime value
  • Read the expiry datatime and pass that to the countdown JavaScript
  • Use the passed in expiry datetime to initialize the countdown timer

The rest of what you need to know is shown in example code on the
control’s home page.

pretty cool - is there a way to change the background color the closer
the
counter get to zero?
thx

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs