PDA

View Full Version : Display image & text based on date using a countdown clock



xxaimsxx
11-06-2007, 07:21 PM
Hello-

I'm working on a project that uses a countdown clock. Right now I have it set to if it hits November 25, 2007, the alert "HGS starts today", if not it'll countdown. However, I need to change it now so that if the date is before November 24, 2007, it counts down to that date, then when its between November 24 - December 2, 2007, alert "Shopping Hours Remaining" and then when it hits December 3, 2007, the counter resets to countdown to November 24, 2008.

I don't get how to write the function part with the dates and everything. Does anyone know where i can go to look for a script like that?

Thanks
aims