Countdown Boxes

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
ssj4gogita4
Forum Newbie
Posts: 11
Joined: Wed Mar 31, 2004 9:03 pm
Location: TX
Contact:

Countdown Boxes

Post by ssj4gogita4 »

I was wondering if anyone knew how to make a box for a countdown. Like a text box but with the countdown in it. Thanx
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

javascript basics:
setInterval('update()',millisecond_interval)

update() changes the value of the textbox in this case to correspond to the amount of time, in whatever format you derive from a calculation of launch time minus local (user) machine time.

You can do this with textboxes, graphics, normal html depending on what level of browser you want to require.
Post Reply