#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    98
    Rep Power
    12

    Javascript Timer????


    I have a timer that counts down 3minutes and then displays a message....my question is....CAN I MAKE THIS TIMER KEEP ITS VALUE AFTER THE PAGE HAS BEEN REFRESHED..

    if it's at 2 miuntes and the page get's refreshed can it pick up at 2minutes at finish counting down?
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    147
    Rep Power
    12
    You could try creating a cookie and update it every 10 or 30 seconds. Then when the page loads, check to see if the cookie is less than 3 minutes and start from that value. When the timer reaches zero - delete the cookie.

IMN logo majestic logo threadwatch logo seochat tools logo