473,667 Members | 2,650 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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>Fillwe b 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="JavaS cript">
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(ti merID);
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.getTi me() - today.getTime() ) / minPerDay;
secsRound = Math.round(secs Left);
secsRemain = secsLeft - secsRound;
secsRemain = (secsRemain < 0) ? secsRemain = 60 - ((secsRound -
secsLeft) * 60) : secsRemain = (secsLeft - secsRound) * 60;
secsRemain = Math.round(secs Remain);
/* Minutes */
minLeft = ((startday.getT ime() - today.getTime() ) /
hoursPerDay);
minRound = Math.round(minL eft);
minRemain = minLeft - minRound;
minRemain = (minRemain < 0) ? minRemain = 60 - ((minRound -
minLeft) * 60) : minRemain = ((minLeft - minRound) * 60);
minRemain = Math.round(minR emain - 0.495);
/* Hours */
hoursLeft = ((startday.getT ime() - today.getTime() ) / PerDay);
hoursRound = Math.round(hour sLeft);
hoursRemain = hoursLeft - hoursRound;
hoursRemain = (hoursRemain < 0) ? hoursRemain = 24 -
((hoursRound - hoursLeft) * 24) : hoursRemain = ((hoursLeft -
hoursRound) * 24);
hoursRemain = Math.round(hour sRemain - 0.5);
/* Days */
daysLeft = ((startday.getT ime() - today.getTime() ) / PerDay);
daysLeft = (daysLeft - 0.5);
daysRound = Math.round(days Left);
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.counte r.face.value = timeRemain;
timerID = setTimeout("cou ntdown()",1000) ;
timerRunning = true;
}
//-->
</script>
</head>
<body onLoad="startcl ock()" bgcolor="#FFFFF F">
<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:relati ve"></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 3288

He********@gmai l.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********@gmai l.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********@gmai l.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.c om 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.javas cript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 27 '06 #7
In comp.lang.javas cript message
<11************ **********@j72g 2000cwa.googleg roups.com>, Sun, 26 Nov
2006 20:59:16, He********@gmai l.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="JavaS cript">
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.demo n.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demo n.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
2374
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 reset I put some extra code in the subs that enable and disable the timer. They fire as expected. To test this I added a second timer with a 1 second interval. The event for this time would output the enabled status of the first timer and its...
5
3364
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 Language="VB" Debug="true" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2
3592
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 View->Source, and the latest version of count down timer will show you ! <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
1
1914
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 save in a .htm file, fox example : "1.htm", and run it in a browser support JavaScript 1.1 or later, the cool count down timer will show you ! If it doesn't work, you may open http://www.fillweb.com in IE, and View->Source to see the latest...
2
2103
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 example : "1.htm", and run it in a browser support JavaScript 1.1 or later, the cool count down timer will show you ! If it doesn't work, you may open http://www.fillweb.com in IE, and View->Source to see the latest version of source code !
1
2742
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 example "countdown.htm", and open it in browser, you'll see the full featured count down timer ! <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html;
2
2708
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 source code, also you may copy the code below and save in a ".htm" file, and run it in browser, a cool count down timer will show you ! <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type"...
3
6147
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 click my code is here... <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
16
4429
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 : size_t linecnt(char *filenm); * Author : jhlicfoocbar@gmail.com, remove foobar for email * Date : 2008.4.12 * Description: C source code line count. No comments & no space lines
0
8367
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8889
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8790
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2781
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1779
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.