Results 1 to 2 of 2

Thread: Universal Countdown Script - Multiple Dates

  1. #1
    Join Date
    Jun 2010
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Universal Countdown Script - Multiple Dates

    1) Script Title: Universal Countdown Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...lcountdown.htm

    3) Describe problem: I would like to use Universal Countdown Script on my website but I realized that it does not seem to work for multiple dates and was wondering how I could do something like this:

    Time until Mondays meeting: 2 days 11 hours 44 minutes 9 seconds
    Time until Mondays meeting: 2 days 11 hours 44 minutes 8 seconds
    Time until Mondays meeting: 2 days 11 hours 44 minutes 7 seconds
    Time until Mondays meeting: 2 days 11 hours 44 minutes 6 seconds
    Time until Mondays meeting: 2 days 11 hours 44 minutes 5 seconds
    ...
    ...
    ...

    Then when the timer reached 0 it would get replaced with a new timer which looked like this.

    Time until Thursdays meeting: 2 days 23 hours 59 minutes 59 seconds
    Time until Thursdays meeting: 2 days 23 hours 59 minutes 58 seconds
    Time until Thursdays meeting: 2 days 23 hours 59 minutes 57 seconds
    Time until Thursdays meeting: 2 days 23 hours 59 minutes 56 seconds
    Time until Thursdays meeting: 2 days 23 hours 59 minutes 55 seconds
    ...
    ...
    ...

    and I could setup other dates as well and the script would just loop through them all indefinitely. Is there anyway I can set the script up to do this?

    Thanks,
    Nosix

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    It does work with multiple dates - I've used it for something similar here: http://www.jemcon.org/deadlines.php

    Make sure you use unique IDs for each date.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

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
  •