HOME | Blog | Software | Reviews and Features | Forum | Help | Donate
Click here to
donate and join now!
Welcome Guest.   Make a donation to an author on the site March 27, 2015, 12:17:29 AM  *

Please login or register.
Or did you miss your validation email?

Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.

You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
The N.A.N.Y. Challenge 2014! Download dozens of custom programs!
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Coding Snack Request: Javascript countdown timer with multiple weekly targets  (Read 2702 times)
First Author
Posts: 34,291

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: June 08, 2010, 10:30:13 AM »

I had an idea for my favorite web comic, Head in the Clouds, created by dc members Tim and Nick (and now done by Tim).

The idea was a javascript/php countdown that shows how long until the next comic will be posted.

There are lots of countdown timers available; but i've not found one that let the author easily set multiple weekly target times.

So i was thinking some javascript that could be invoked using something like this:

in html file:
Next comic will be posted in
EmbedCountdownTimer("monday 18:00 cst; wednesday 18:00 cst");

That would produce a live timer that said something like "Next comic will be posted in 2 days, 6 hours, 10 minutes"

note: maybe it would be better to use cron format to specify the target times?
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.637s | Server load: 1.13 ]