The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

day counter

2 posters

Go down

day counter Empty day counter

Post by stavs16 December 19th 2008, 4:16 am

I need a day counter.

Like there is a start day, and it records how many days its been since the something.
avatar
stavs16
New Member

Posts : 4
Reputation : 0
Language : english

Back to top Go down

day counter Empty Re: day counter

Post by A1Team December 19th 2008, 3:37 pm

Here i made some code for this assignment.
Here i's the code:
Code:

<script language="Javascript">
TargetDate = "12/31/2020 5:00 AM"; // Enter the target date and time
BackColor = "palegreen"; // Background color
ForeColor = "navy"; // Text collor
CountActive = true; // don't edit this line
CountStepper = -1; // don't edit this line
LeadingZero = true; // don't edit this line
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
</script>
<script language="Javascript" src="http://besplatno.mkd.net/countdown.js"></script>

The JS script is hosted on my hosting, and if you have any problems pm me Wink
A1Team
A1Team
Forumember

Male Posts : 124
Reputation : 0
Language : English, Macedonian, Serbian

Back to top Go down

day counter Empty Re: day counter

Post by stavs16 December 19th 2008, 7:22 pm

i put this on my homepage HTML, and nothing is showing up. I only altereed the target date and time, and nothing else

looks like this:
Code:
<script language="Javascript">
TargetDate = "08/25/2008 12:00 AM"; // Enter the target date and time
BackColor = "palegreen"; // Background color
ForeColor = "navy"; // Text collor
CountActive = true; // don't edit this line
CountStepper = -1; // don't edit this line
LeadingZero = true; // don't edit this line
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
</script>
<script language="Javascript" src="http://besplatno.mkd.net/countdown.js"></script>
avatar
stavs16
New Member

Posts : 4
Reputation : 0
Language : english

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum