PDA

View Full Version : Dynamic Countdown Script Help



drumrboy
01-26-2005, 11:08 PM
I'm trying to set the countdown clock to stay on the event for 3 days before switching to "Occassion Passed!". Can anyone help me out? Thanks! :)

John

ddadmin
02-01-2005, 12:39 AM
Try changing the code:

if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=1&&todayd==da){

to:

if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=1&&todayd==da && dday>=-3){

This should work, though I haven't field tested it yet.

MarkSchmetzer
02-13-2005, 04:16 PM
I tried this and it did not work. Any other suggestions?