How to create a countdown timer with Ruby

If you scroll down on http://danieltosh.com/ you will see a countdown
timer. Basically, I’d like to know how to create one of these with Ruby.
The end result will
be implemented onto my Rails application.

I’ve searched various sources to no avail, with that said - any
suggestions on how to create this sort of thing would be great!

thanks.

Anthony,

This is not really something you would want to do in Ruby. This
functionality is accomplished using Javascript and within Rails that
would most likely mean using jQuery.

A countdown timer is pretty easy in javascript; here is a jQuery one
that looks well documented:
GitHub - unthunk/jquery-countdown-timer: jQuery countdown timer plugin follow the example to
learn how to implement it on your site.

Hope this helps!

-TD

Tony D. wrote in post #1108851:

Hope this helps!

-TD

Thanks Tony! I’ll give it a go.