Results 1 to 3 of 3

Thread: Dynamic Countdown Script Help

  1. #1
    Join Date
    Jan 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Dynamic Countdown Script Help

    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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

  3. #3
    Join Date
    Feb 2005
    Location
    Conyers, GA
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I tried this and it did not work. Any other suggestions?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •