real-time countdown

JavaScripts javascripts
 

JavaScript
categories

Animation
Background
Bookmarks
Buttons
Calculators
Cookies
Data handling
E-mail
Enhancements
Forms
Image rotation
Menus
Messages
Miscellaneous
Music
Password protection
Redirection
Scrollers
Tables
Time & date
Windows

Publishers

Add script
Account login

 

Home > Scripts > DHTML scripts & JavaScripts > Time & date > Real time countdown

 

Real time countdown script

AUTHOR: TDavid
TYPE: Freeware
BROWSERS: Javascript enabled all

You can display a real-time countdown to any date and time using this script.


EXAMPLE

Countdown To December 31, 2007, 12:00:00

Days Hours Minutes Seconds


1)
Insert the following script in the <HEAD> section of the page.

then copy (CTRL-C) & paste (CTRL-V)

2) Insert the following HTML code in the <BODY> section where you want the countdown to appear in the page.

then copy (CTRL-C) & paste (CTRL-V)

3) Look for this piece of code in the script to set the date and the time to the countdown:

var now = new Date();
var event = new Date("Dec 31 2007 12:00:00");


[BACK] [TOP]

 

BLOGS - BOOKMARKS - FONTS - FRIENDS - GAMES - HEADLINES
MUSIC - PIXELS - SCRIPTS - SOFTWARE - SOUNDS - WEB SEARCH

 


Copyright © 1997-2008 SimplytheBest.net. Legal Disclaimer.
All copyrights acknowledged. All rights reserved.