Could someone help me start on writing a countdown timer?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hanaa
    New Member
    • Nov 2007
    • 44

    Could someone help me start on writing a countdown timer?

    Hi
    I am making a test taker. I need to put up a countdown timer, and I haven't a clue how. Could someone please help me start. I google it and all I see is readymade scripts that can be downloaded. I'd like to write the code myself. I dont understand how I can get it to count down all by itself.
    Thanks,
    Hanaa
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    If you are not sure where to start, then you could start by reading and trying to understand the scripts that others have already written for it.

    P.S I would use Javascript for these kinds of things.

    Comment

    • hsriat
      Recognized Expert Top Contributor
      • Jan 2008
      • 1653

      #3
      And the links that might help you for the same are:
      setTimeout()
      innerHTML

      Comment

      • hanaa
        New Member
        • Nov 2007
        • 44

        #4
        Thanks for those. And I'll try using javascript.

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          Also look at the setInterval method (as a alternative to setTimeout).

          Comment

          Working...