count down timer source code updated to 06/11/27

H

HeroinNO.4

Hello guys, free count down timer source code has updated to 06/11/27,
you can copy the code below and save in a ".htm" file and run it in a
browser support javascript 1.1 or later, or you can open
http:\\www.fillweb.com\countdown.htm, if you are using IE, you may
View->Source to see the latest version of source code !


<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>Fillweb free count down timer source code</title>
<meta name="keywords" content="count down timer, fillweb, form filler,
fill forms automatically, account logon login, single sign on, fill web
forms, fill online forms automatically, form filling software, ai web
automatic auto fill out forms fill in forms">
<script language="JavaScript">
var timerID = 0;
var timerRunning = 0;
var today = 0;
var startday = 0;
var secPerDay = 0;
var minPerDay = 0;
var hourPerDay = 0;
var secsLeft = 0;
var secsRound = 0;
var secsRemain = 0;
var minLeft = 0;
var minRound = 0;
var minRemain = 0;
var timeRemain = 0;
/* This function will stop the clock */
function stopclock()
{
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;
}
/* This function will start the clock */
function startclock()
{
stopclock();
countdown();
}
function startclock_cn()
{
stopclock();
showtime_cn();
}
/* This function will display the count-up */
function countdown()
{
startday = new Date("August 08, 2008 00:00 GMT");
today = new Date();
secsPerDay = 1000 ;
minPerDay = 60 * 1000 ;
hoursPerDay = 60 * 60 * 1000;
PerDay = 24 * 60 * 60 * 1000;
/* Seconds */
secsLeft = (startday.getTime() - today.getTime()) / minPerDay;
secsRound = Math.round(secsLeft);
secsRemain = secsLeft - secsRound;
secsRemain = (secsRemain < 0) ? secsRemain = 60 - ((secsRound -
secsLeft) * 60) : secsRemain = (secsLeft - secsRound) * 60;
secsRemain = Math.round(secsRemain);
/* Minutes */
minLeft = ((startday.getTime() - today.getTime()) /
hoursPerDay);
minRound = Math.round(minLeft);
minRemain = minLeft - minRound;
minRemain = (minRemain < 0) ? minRemain = 60 - ((minRound -
minLeft) * 60) : minRemain = ((minLeft - minRound) * 60);
minRemain = Math.round(minRemain - 0.495);
/* Hours */
hoursLeft = ((startday.getTime() - today.getTime()) / PerDay);
hoursRound = Math.round(hoursLeft);
hoursRemain = hoursLeft - hoursRound;
hoursRemain = (hoursRemain < 0) ? hoursRemain = 24 -
((hoursRound - hoursLeft) * 24) : hoursRemain = ((hoursLeft -
hoursRound) * 24);
hoursRemain = Math.round(hoursRemain - 0.5);
/* Days */
daysLeft = ((startday.getTime() - today.getTime()) / PerDay);
daysLeft = (daysLeft - 0.5);
daysRound = Math.round(daysLeft);
daysRemain = daysRound;
/* Time */
if (daysRemain < 2)
{
day_rem = " day, "
}
else
{
day_rem = " days, "
}
if (hoursRemain < 2)
{
hour_rem = " hour, "
}
else
{
hour_rem = " hours, "
}
if (minRemain < 2)
{
min_rem = " minute, "
}
else
{
min_rem = " minutes, "
}
if (secsRemain < 2)
{
sec_rem = " second"
}
else
{
sec_rem = " seconds"
}
timeRemain = "Beijing 2008 Olympic Games is coming in " +
daysRemain + day_rem + hoursRemain + hour_rem + minRemain +
min_rem + secsRemain + sec_rem;
document.counter.face.value = timeRemain;
timerID = setTimeout("countdown()",1000);
timerRunning = true;
}
//-->
</script>
</head>
<body onLoad="startclock()" bgcolor="#FFFFFF">
<table border="0" width="100%">
<tr>
<td align="center">
<img border="0" src="images/beijing2008.gif" width="250"
height="300"></td>
</tr>
<tr>
<td align="center">
<form name="counter" style="position: relative">
&nbsp;<input type="text" name="face" size="100" value="Please open
this page with JavaScript 1.1+ browser." style="border-style:dotted;
border-width:1px; font-size:9pt; color:#000000; text-align:center;
padding-left:4px; padding-right:4px; padding-top:1px;
padding-bottom:1px; position:relative"></form>
</td>
</tr>
</table>
<script src="http://www.google-analytics.com/urchin.js"
type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-859503-1";
urchinTracker();
</script>
</body>
</html>
 
F

Fred

Jonas said:
Fred escreveu:
Hello guys, free count down timer source code [...]

Your script is crap, this is not your personal publishing list.

Wow, agressive >=]

It's the fourth time in less than a month that this junk has been
posted here. Initial responses were polite with advice on how to make
the code better and requests to post with a subject prefixed by ANN:.
All advice was ignored, the same awful code continues to be posted.

It is therefore reasonable to assume that the poster either doesn't
read responses or refuses to accept advice. Further, he or she is not
only ignorant of polite etiquette but also refuses to learn.

Anyone discovering the code and seeing no response might assume tacit
approval - the standard of the code is barely that of a javascript
newbie, it does not deserve any kind of endorsement. There are many
other places this stuff can be published for free, let the OP post
there.
 
R

Randy Webb

(e-mail address removed) said the following on 11/27/2006 7:56 AM:
Assault and battery was not expect in google group

Neither is stupidity but it didn't stop you.
 
D

Dr J R Stockton

In comp.lang.javascript message
Sun said:
Hello guys, free count down timer source code has updated to 06/11/27,
you can copy the code below and save in a ".htm" file and run it in a
browser support javascript 1.1 or later, or you can open
http:\\www.fillweb.com\countdown.htm, if you are using IE, you may
View->Source to see the latest version of source code !

A persuasive display of incompetence.

I have indicated some of the faults -
<script language="JavaScript"> Deprecated.


secsPerDay = 1000 ;
minPerDay = 60 * 1000 ;
hoursPerDay = 60 * 60 * 1000;

The usual values are 86400, 1440, & 24.

if (daysRemain < 2)
{
day_rem = " day, "
}
else
{
day_rem = " days, "
}
if (hoursRemain < 2)
{
hour_rem = " hour, "
}
else
{
hour_rem = " hours, "
}
if (minRemain < 2)
{
min_rem = " minute, "
}
else
{
min_rem = " minutes, "
}
if (secsRemain < 2)
{
sec_rem = " second"
}
else
{
sec_rem = " seconds"
}

So you do not understand when small functions should be written and
used.

border-width:1px; font-size:9pt; color:#000000; text-align:center;

Contrary to Disability Discrimination principles.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top