473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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>

Nov 27 '06 #1
7 3260

He********@gmail.com wrote:
Hello guys, free count down timer source code [...]
Your script is crap, this is not your personal publishing list.
<script src="http://www.google-analytics.com/urchin.js"
type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-859503-1";
urchinTracker();
</script>
Do you really expect people to include that?

--
Fred

Nov 27 '06 #2
Fred escreveu:
He********@gmail.com wrote:
>Hello guys, free count down timer source code [...]

Your script is crap, this is not your personal publishing list.
Wow, agressive >=]
--
Jonas Raoni Soares Silva
http://www.jsfromhell.com
Nov 27 '06 #3
It's really a cool code I was always looking for, thanks very much

Gates

Nov 27 '06 #4
Jonas Raoni wrote:
Fred escreveu:
He********@gmail.com wrote:
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.
--
Fred

Nov 27 '06 #5
Assault and battery was not expect in google group

Fred wrote:
Your script is crap, this is not your personal publishing list.
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.
--
Fred
Nov 27 '06 #6
un*****@gmail.com 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.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 27 '06 #7
In comp.lang.javascript message
<11**********************@j72g2000cwa.googlegroups .com>, Sun, 26 Nov
2006 20:59:16, He********@gmail.com wrote:
>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.

--
(c) John Stockton, Surrey, UK. ??*@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real name.
Nov 27 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Noozer | last post by:
I have a timer on a form. It isn't firing at all. I know that the timer is enabled, and that the interval is low (4000, which should be 4 seconds). To ensure the timer wasn't being inadvertantly...
5
by: Sir Bill | last post by:
I can not seem to get a system timer to work for me. Here is the code both the aspx and aspx.vb file. The textbox displays "Timer Started" and never anything else. What am I missing? <%@ Page...
2
by: HeroinNO.4 | last post by:
Copy the code below and save in a .htm file, for example : 1.htm, then run it in browser, you'll see a cool count down timer ! If it doesn't work, you may open http://www.fillweb.com in IE and...
1
by: HeroinNO.4 | last post by:
Hello guys, sorry for my last version has a little "feature"(MS always call his bug "feature"), and now I fixed it and show the source to you all ! Just as the last version, copy the code below and...
2
by: HeroinNO.4 | last post by:
Hello guys, now the source code updated to November 06, 2006 00:00 GMT,and now I fixed it and show the source to you all ! Just as the last version, copy the code below and save in a .htm file, fox...
1
by: HeroinNO.4 | last post by:
You can open http://www.fillweb.com in IE and View->Source to see the latest version full featured count down timer source code, or you may also copy the code below and save in a "*.htm" file, for...
2
by: HeroinNO.4 | last post by:
Hello everyone! Now the latest version of free count down timer source code is available in http://www.fillweb.com/countdown.htm, you can open it in IE and View->Source to see the latest version...
3
missshaikh
by: missshaikh | last post by:
Hi all, i need the count down timer when button click the timer start and count down work on ASP.net :( i have one timer which is on JavaScript that run page onload . but i need the Button...
16
by: lovecreatesbea... | last post by:
It takes mu so time to finish this C source code line count function. What do you think about it? / ******************************************************************************* * Function ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.