I am Looking for A Countdown Timer That Can....

6 replies
I am creating a one time offer page, and I want it to be as real as it can get.

So I am looking for a countdown timer that I can have set for 15 minutes or a set period of time that automatically redirects the page to a Sorry offer has expired page after the time limit runs out.

Anybody know where I can find something like this, Free would be awesome but I am willing to pay.
#countdown #timer
  • Profile picture of the author Mike Adams
    HTML Code:
    <!-- TWO STEPS TO INSTALL COUNTDOWN REDIRECT:
      1.  Copy the coding into the HEAD of your HTML document
      2.  Add the last code into the BODY of your HTML document  -->
    <!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->
    <HEAD>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original:  Corey (638@gohip.com ) -->
    <!-- Web Site:   http://six38.tripod.com -->
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->
    <!-- Begin
    var start=new Date();
        start=Date.parse(start)/1000;
        var counts=10;
        function CountDown(){
            var now=new Date();
            now=Date.parse(now)/1000;
            var x=parseInt(counts-(now-start),10);
            if(document.form1){document.form1.clock.value = x;}
            if(x>0){
                timerID=setTimeout("CountDown()", 100)
            }else{
                location.href="http://javascript.internet.com"
            }
        }
    //  End -->
    </script>
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    window.setTimeout('CountDown()',100);
    -->
    </script>
    
    </HEAD>
    
    <!-- STEP TWO: Copy this code into the BODY of your HTML document  -->
    
    <BODY>
    
    <SCRIPT LANGUAGE="JavaScript">
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->
    <!-- Begin
    // Cache-busting LUBID bug.
    var ran = Math.round(Math.random() * 899999) + 100000;
    var lubid_string = "<img src="http://lubid.lycos.com/one.asp?site=members.tripod.lycos.com&ord=" + ran + "" height="1" width="1">";
    document.write(lubid_string);
    //
    //  End -->
    </script>
    </center>
    <FORM NAME="form1">
    You are being redirected in 
    <INPUT TYPE="text" NAME="clock" SIZE="2" VALUE="10"> 
    seconds.
    </FORM>
    </center>
    
    <p><center>
    <font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
    by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
    </center><p>
    
    <!-- Script Size:  1.86 KB -->

    It looks like this: http://javascript.internet.com/navig...-redirect.html
    Signature
    P.S. If you found my post useful, please click the "Thanks" button below...
    {{ DiscussionBoard.errors[2430733].message }}
  • Profile picture of the author nicholasb
    Mike Any clue on how to change the timer, I have been able to change the text, size, and redirection location.

    Do you know how to change the timer.

    Thank you so much by the way!
    {{ DiscussionBoard.errors[2430768].message }}
  • Profile picture of the author Mike Adams
    Do you mean the time it takes to redirect? I would assume editing the 1000, 10 elements below.

    HTML Code:
    <!-- Begin
    var start=new Date();
        start=Date.parse(start)/1000;
        var counts=10;
        function CountDown(){
            var now=new Date();
            now=Date.parse(now)/1000;
            var x=parseInt(counts-(now-start),60);
            if(document.form1){document.form1.clock.value = x;}
            if(x>0){
                timerID=setTimeout("CountDown()", 100)
            }else{
                location.href="http://javascript.internet.com"
            }
        }
    //  End -->
    Signature
    P.S. If you found my post useful, please click the "Thanks" button below...
    {{ DiscussionBoard.errors[2430889].message }}
  • Profile picture of the author Chad Heffelfinger
    There is a WSO that just went live a day or two ago that is only $9 bucks that looked pretty good and would do what you want. Here is the link to that one http://www.warriorforum.com/warrior-...available.html
    {{ DiscussionBoard.errors[2431010].message }}
    • Profile picture of the author wesker777
      I'd like to use this countdown timer javascript but instead of being redirected to another page, I'd like to show a link the viewer can click to move onto to the next page when they are ready.

      I'm not sure what I'm supposed to change in the given javascript code to make this happen.
      {{ DiscussionBoard.errors[2830357].message }}
      • Profile picture of the author hjalte81
        I know this is an old post, but this was just what I was looking for... Anyone knows how to add a cookie, so people can't just refresh and restart the timer?
        {{ DiscussionBoard.errors[7648813].message }}

Trending Topics