Countdown script that works with XHTML strict

Discussion in 'JavaScript' started by PoPSiCLe, Apr 19, 2009.

  1. #1
    Hi.

    I'm looking for a basic countdown script which will work with XHTML strict (ie. not use any form of document.write)

    Does anyone have this available?

    What I need is a script where I can pull info from a database, and use this as values (for instance, the date it will be counting down to, and a way to get values for the text). But basically I just need a javascript which will take a variable for text and date, and countdown until that date, and then display a message that the countdown is finished - very basic countdown script.

    The rest I'll be able to "hack together" myself, I guess.

    Any help will be much appreciated!
     
    PoPSiCLe, Apr 19, 2009 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Anyone have anything like this available? Or hints as to where I can read up on making something like this?
     
    PoPSiCLe, Apr 21, 2009 IP
  3. JavaScriptBank.com

    JavaScriptBank.com Peon

    Messages:
    141
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    JavaScriptBank.com, Apr 22, 2009 IP
    PoPSiCLe likes this.
  4. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #4
    Thanks! I found what I was looking for among the scripts there! A little tweaking, and it all works now! :D
     
    PoPSiCLe, Apr 23, 2009 IP