JavaScript Y2K Countdown Clock


Download Some Cool Website Software Now !
This site designed with Coffee Cup HTML Editor ++ ver. 6.2

HTML Tutorial
JavaScript Examples
Rollovers
MouseDown
JS Clock
CountDown
Status Window
Status Window 2
Random Image
JS Cookies
Background Changer
Scrolling Banner
Members Area
Special Effects using JavaScript

Countdown to the Year 2000

This is a "Three Part" Java Script that gets the time from the system clock of whoever visits your web page, figures out the exact time until midnight, Dec31st, 2000, and displays the countdown in a form "text input" box. The first part of the script resides in the heading of the page source code and it gets the clock and defines the functions of the countdown. The second part resides in the first <BODY> tag and starts the clock when the page is opened in the Browser. And the third part of the script places the results in a text input box on the form wherever you place it in the web page.

You can change the "End Date" setting to gear the countdown to any date you want, your birthday, your anniversary, whatever.

 

The code looks like this:

Recommended Books
Ceate Your First Web Page: In A Weekend Building Better Web Pages Advanced HTML Companion HTML Web Magic Javascript CD Cookbook Core Web Programming

Top of Page?



Download Some Cool Website Software Now !