Build Anticipation with a Countdown Script

By Kidino @ 3 January, 2005

DIGG THIS DEL.ICIO.US COMMENTS EMAIL THIS

People have been using anticipation quite a lot in 2004.

You see that John Reese and Joe Vitale announces about their products weeks before it launches. And you see on their website a countdown - counting the remaining time to the launch.

And some people want to make sure that people attend teleseminars at the right time - again you see a countdown on the webpage.

It’s cool to have that - right?

Now let me tell you about your options.

  1. Java Applet. But some browsers don’t support this. And some (including me) have been facing problems download and installnig the plug-ins. And not to mention that the Java Applet download may be a bit big.
  2. Flash. OK, maybe more than 98% of browsers have this installed. It is much more easier to install than Java Virtual Machine, etc … but again, the download may still be huge.
  3. Javascript. Javascript is lightweight. You can use Javascript to animate the countdown - but calculating the remaing time … Hmmm … Javascript is a client side scripting. It’s not fair to let people in Sydney sees it’s 1 hours remaining while people in New York have to wait another 17 hours.

That is why I come up with this script. Combining PHP and Javascript, I believe this is the best solution for delivering countdown to your web visitors.

PHP is a server side scripting. PHP will calculate the remaining time on the server. And then it will be delivered as Javascript to the visitors. With this, no matter where you are, you will see the same remaining time to the countdown.

Below is a countdown to my birthday hint. Just an example.

I was born on 30th May - 4.20pm.

You can download the script here. Instructions on how to use the script can be found inside the script itself. Enjoy.

Just one thing though - I wrote this just as long as it works. No advance security coding here.


OK, this is an update on 9 July 2oo5. Recently I did a limited offer using this countdown script. Everything’s automated … and I even went to the beach during that sale.

More info here - http://moneyclicking.net/sale-automation

Sphinn
DIGG THIS DEL.ICIO.US COMMENTS EMAIL THIS
Comments TRACKBACK
  1. 1

    Mike Merz said [4 January 2005 @ 1:24 am]

    Very cool, Iszuddin!

    Can it be formatted to show days, hours, minutes?

    I just used a similar script for a time sensitive promotion (they DO work), but it’s linked directly to the coder … which I don’t like. :P

    Thanks!

    Mike “very handy tool” Merz

  2. 2

    Kidino said [4 January 2005 @ 9:50 am]

    Yes it can.

    You can see that its working now on my birthday countdown.

    And I have just updated the download file which has countdown.php and countdown2.php. Countdown.php will only display HH:MM:SS.

    Countdown2.php will display days if hours is bigger than 23.

    Enjoy …

  3. 3

    rizzy said [2 May 2005 @ 5:17 am]

    Nice script.

    The only thing I can’t figure out is when some people go to my page it does not show the countdown and other computers it will show the countdown. Anyone else have this problem and why it is doing that. I have looked at everthing and I am not to sure why it does this.

  4. 4

    Kidino said [2 May 2005 @ 9:36 am]

    the countdown works with Javascript … so if the computer doesn’t have javascript turned on, it will not work. Another thing, I’ve tried this with IE, Mozilla and Firefox. I don’t how it turns out on other browsers.

    Can you tell me, on the computer that’s not working, what browser is it using?

  5. 5

    rizzy said [2 May 2005 @ 10:37 am]

    Well I looked at it more and I use firefox and it works fine. I opened it up with IE and it didn’t work and other people tried it and it works fine with firefox but no luck with IE.

  6. 6

    Kidino said [2 May 2005 @ 11:36 am]

    I am on IE 6.0 and it works fine … hmmm ….

  7. 7

    rais said [30 May 2005 @ 9:34 am]

    best….. best

  8. 8

    Q'ma said [30 May 2005 @ 9:54 am]

    happy birthday and its cool coding.. :D

  9. 9

    zouy said [30 May 2005 @ 10:31 am]

    fantastic….. great…:)

  10. 10

    Anonymous said [18 June 2005 @ 12:30 pm]

    Nice site and fine content

  11. 11

    zul said [8 July 2005 @ 11:14 am]

    Script yang bagus… Tahniah…. .

  12.  

     

    Leave a Reply

Kidino the Author

MoneyClicking Ezine
Your Free Doses of Tips & Tricks to Web Building for Internet Marketing. And Sometimes Marketing Strategies on the Net too ... all from yours truly, Iszuddin Ismail aka Kidino.

Name

Email





Read My XSitePro Review



Read My Affiliate Project X Review
Links
Categories

Internet Marketing And SEO Blog Top Sites