/    Sign up×
Community /Pin to ProfileBookmark

Website Countdown timers

Please, Please, Please can someone help.

I removed a countdown timer from my site but it was installed by someone else. I haven’t got a clue about installing another one.

I need it to show days, hours, minutes and seconds.

Please help, i’m getting abused by my messegeboard users.

Many thanks in advance

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@mrhooMay 12.2006 — countdowner('december 25,2006')

/*

this returns this kind of string:

226 days, 10 hours, 12 minutes, 55 seconds

*
/
[CODE]
function countdowner(targetdate){
var str= '';
var x= new Date(targetdate)-new Date();
var d= Math.round(x/86400000);
if(d > 1){
str+= d+' days, ';
x%= 86400000;
}
x= Math.round(x/1000);
if(x > 3600){
d= Math.round(x/3600);
str+= d+' hours, ';
x%=3600;
}
if(x>60){
d= Math.round(x/60);
str+= d+' minutes, ';
x%= 60;
}
if(x>0){
str+= x+' second';
if(x>1) str+='s';
}
return str;
}
[/CODE]
Copy linkTweet thisAlerts:
@James_GatkaMay 12.2006 — 
-----
Copy linkTweet thisAlerts:
@s_e_lionauthorMay 13.2006 — Thanks for that guys but I am still none the wiser. I really am a novice at this. Everyting I have larned as been learnt the hard why buy playing around with pages to see what happens ?

Here is the page that am trying to install it on to:

<HTML>

<HEAD>

<META NAME="GENERATOR" CONTENT="Microsoft FrontPage 5.0">

<TITLE>House of Fun</TITLE>

</HEAD>

<BODY BACKGROUND="/balls.jpg" TEXT="#ffffff" LINK="#ffff00" VLINK="#ff8000">

<P><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">

<TR>

<TD WIDTH="114" ALIGN="right">

<P><IMG SRC="/hof2000/tunnel.gif" WIDTH="114" HEIGHT="138" ALIGN="bottom"

BORDER="0" NATURALSIZEFLAG="3"></P>

<P ALIGN=center><IMG SRC="/hof2000/newhof.gif" WIDTH="97" HEIGHT="81"
ALIGN="BOTTOM" BORDER="0" NATURALSIZEFLAG="3">
</TD>
<TD ALIGN="RIGHT" WIDTH="600">
<IMG SRC="/big-sf.gif">
<P><TABLE WIDTH=80% BORDER="1" BORDERCOLOR="#000000" CELLSPACING="0"
CELLPADDING="5">
<TR>
<TD COLSPAN="3" BGCOLOR="#000000"><IMG SRC="/hof2000/whatsnew.gif"

WIDTH="164"

HEIGHT="38" ALIGN="BOTTOM" BORDER="0" NATURALSIZEFLAG="3"></TD>

</TR>
<TR>
<TD COLSPAN="3" BGCOLOR="#000064">


<!-- START -->

<!-- ITEM1 --> <P><B><FONT SIZE="-1" FACE="Arial"><A HREF="/auto/lecbsbish.html">THE "LET 'EM COME BACK" SOCIETY</A> (20/04)<BR></FONT></B><FONT SIZE="-1" FACE="Sans-serif">The Archbishop offers his notes and thoughts from the intial LECBS meeting</FONT></P>


<!-- ITEM2 --> <P><B><FONT SIZE="-1" FACE="Arial"><A HREF="/auto/Trustresults.html">THE LIONS TRUST RELEASE THEIR RECENT QUESTIONNAIRE RESULTS</A> (13/04)<BR></FONT></B><FONT SIZE="-1" FACE="Sans-serif">The latest Lions Trust Members’ Questionnaire results give a thumbs down to Millwall chairman Peter de Savary, a thumbs down to team manager Dave Tuttle, but a thumbs up to the regeneration project being a possible route to possible salvation.</FONT></P>


<!-- ITEM3 --> <P><B><FONT SIZE="-1" FACE="Arial"><A HREF="/photoshopcorner.html">PHOTOSHOP CORNER</A> (updated 15/03)<BR></FONT></B><FONT SIZE="-1" FACE="Sans-serif">Ex-HOFmeister Paul Neve has been known to do a Photoshop or two.</FONT></P>







<P><B><FONT SIZE="-1" FACE="Arial"><A
HREF="http://www.hof.org.uk/cgi-bin/newccthreaded.pl?1">CONTROVERSIAL CORNER</A>

(interactive)<BR></FONT></B>

<FONT SIZE="-1" FACE="Sans-serif">

<!--harsehole-->(constantly updated)

</B></FONT></P>

</TD>
</TR>
</TABLE>
</TD>

</TR>

</TABLE></P>

<P><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">

<TR>

<TD WIDTH="65%"><TABLE WIDTH="100%" BORDER="1" BORDERCOLOR="#000000"

CELLSPACING="0" CELLPADDING="5">

<TR>

<TD COLSPAN="3" BGCOLOR="#000000"><IMG SRC="/hof2000/latest.gif"

WIDTH="95"

HEIGHT="38" ALIGN="LEFT" BORDER="0" NATURALSIZEFLAG="3"></TD>

</TR>

<TR>

<TD COLSPAN="3" BGCOLOR="#000064"><TABLE BORDER="0" CELLSPACING="0"

CELLPADDING="5" WIDTH="100%">

<TR>

<TD WIDTH="65%" VALIGN="TOP">

<!--NEWS-->

[COLOR=DarkRed]The countdown needs to go here, along with an explination of what it is for.[/COLOR]

<FONT SIZE="-1" FACE="Arial"><B>Another signs on - 12/05/06</B><BR>Millwall have today confirmed the signing of Gavin Grant on a 2 year deal, despite not having a manager. The 22 year old former Tooting & Mitcham striker has spent the last six months at Gillingham, making 10 appearences and scoring against Rotherham United. Chairman Stewart Till didn't want the club to miss out on the promising youngster and gave the go ahead for the transfer.</FONT><P>

<FONT SIZE="-1" FACE="Arial"><B>Early Bird Discount Deadline Put Back - 11/05/06</B><BR>The club have today announced that the deadline for supporters to get a discounted season ticket for next seson has been put back to June 9th. The original deadline, of May 25th, was considered by many as to early and most want to see who becomes the new manager prior to parting with their hard earned cash. Season ticket applications forms are now avaliable to download from the official site.</FONT><P>

<FONT SIZE="-1" FACE="Arial"><B>Millwall To Review Indefinite Bans - 09/05/06</B><BR>Millwall have today announce that will be reviewing all indefinite bans, that do not involve existing legal action or current court bans, during the close season. The MSC has beenn pushing for this for some time, but with the added pressure from F.O.T.B Peter Garston, the club have finally made a positive decision.</FONT><P>

<!--ENDNEWS-->

<BR>

<!-- <A HREF="/vc2000posha.html">Virtual Cinema highlights</A><BR> -->

</FONT> </TD> <TD WIDTH="7"><IMG SRC="/sizer.gif"

WIDTH="7"></TD> <TD WIDTH="180" ALIGN="RIGHT"

VALIGN="TOP"> <CENTER><FONT SIZE="-1" FACE="Arial"><U>Current HOF

Poll:</U></FONT></CENTER><P> <!--POLL--> <P>

<FONT SIZE="-2" FACE="Arial">

<U>Last Poll: Will you be renewing/buying a season ticket for next season:</U><BR>

Yes, I'm "real" wall 41.3%<BR>

Seriously have to think about it 11.6%<BR>

The club can shove a seaason ticket up their arse 46.9%

<BR></FONT>

</TD>

</TR>

</TABLE></TD>

</TR>

</TABLE></TD>

</TR>

</TABLE></TD>

</TR>

</TABLE></P>






<IMG SRC="http://fastcounter.linkexchange.com/fastcounter?172627+345261"

BORDER="0" ALIGN="RIGHT" WIDTH="90" HEIGHT="16" NATURALSIZEFLAG="0">

<P>

</BODY>

</HTML>

Please Please help ?
Copy linkTweet thisAlerts:
@James_GatkaMay 13.2006 — 
-----
Copy linkTweet thisAlerts:
@s_e_lionauthorMay 13.2006 — If you look careful Mr Gatka, 2 different people replied to my original post, so that is why I said "thanks for that GUYS". Now get off your high horse
×

Success!

Help @s_e_lion spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...