...The Finis Promo Poster!
Countdown - 23 Days, 00 Hours, 39 Minutes, 31 Seconds.
Cheers,
Drew.
And in the finest traditions of my fan-fiction I present...
Moderators: winston, another_commander
- drew
- ---- E L I T E ----
- Posts: 2190
- Joined: Fri May 19, 2006 9:29 am
- Location: In front of a laptop writing a book.
- Contact:
And in the finest traditions of my fan-fiction I present...
Last edited by drew on Wed Nov 23, 2011 9:57 pm, edited 2 times in total.
- JazHaz
- ---- E L I T E ----
- Posts: 2991
- Joined: Tue Sep 22, 2009 11:07 am
- Location: Enfield, Middlesex
- Contact:
Re: And in the finest traditions of my fan-fiction I present
Your countdown timer is not working!drew wrote:Countdown - 23 Days, 00 Hours, 39 Minutes, 31 Seconds.
- drew
- ---- E L I T E ----
- Posts: 2190
- Joined: Fri May 19, 2006 9:29 am
- Location: In front of a laptop writing a book.
- Contact:
Re: And in the finest traditions of my fan-fiction I present
Must be one of those tricky quantum uncertainty dubry whatsits...
Cheers,
Drew.
Cheers,
Drew.
- ClymAngus
- ---- E L I T E ----
- Posts: 2514
- Joined: Tue Jul 08, 2008 12:31 am
- Location: London England
- Contact:
Re: And in the finest traditions of my fan-fiction I present
might this be useful?
http://countdown.onlineclock.net/generator/
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!--
dateFuture = new Date(2011,11,16,22,0,0);
function GetCount(){
dateNow = new Date(); //grab current date
amount = dateFuture.getTime() - dateNow.getTime(); //calc milliseconds between dates
delete dateNow;
// time is already past
if(amount < 0){
document.getElementById('countbox').innerHTML="Now!";
}
// date is still good
else{
days=0;hours=0;mins=0;secs=0;out="";
amount = Math.floor(amount/1000);//kill the "milliseconds" so just secs
days=Math.floor(amount/86400);//days
amount=amount%86400;
hours=Math.floor(amount/3600);//hours
amount=amount%3600;
mins=Math.floor(amount/60);//minutes
amount=amount%60;
secs=Math.floor(amount);//seconds
if(days != 0){out += days +" day"+((days!=1)?"s":"")+", ";}
if(days != 0 || hours != 0){out += hours +" hour"+((hours!=1)?"s":"")+", ";}
if(days != 0 || hours != 0 || mins != 0){out += mins +" minute"+((mins!=1)?"s":"")+", ";}
out += secs +" seconds";
document.getElementById('countbox').innerHTML=out;
setTimeout("GetCount()", 1000);
}
}
window.onload=function(){GetCount();}//call when everything has loaded
//-->
</script>
<div id="countbox"></div>
http://countdown.onlineclock.net/generator/
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!--
dateFuture = new Date(2011,11,16,22,0,0);
function GetCount(){
dateNow = new Date(); //grab current date
amount = dateFuture.getTime() - dateNow.getTime(); //calc milliseconds between dates
delete dateNow;
// time is already past
if(amount < 0){
document.getElementById('countbox').innerHTML="Now!";
}
// date is still good
else{
days=0;hours=0;mins=0;secs=0;out="";
amount = Math.floor(amount/1000);//kill the "milliseconds" so just secs
days=Math.floor(amount/86400);//days
amount=amount%86400;
hours=Math.floor(amount/3600);//hours
amount=amount%3600;
mins=Math.floor(amount/60);//minutes
amount=amount%60;
secs=Math.floor(amount);//seconds
if(days != 0){out += days +" day"+((days!=1)?"s":"")+", ";}
if(days != 0 || hours != 0){out += hours +" hour"+((hours!=1)?"s":"")+", ";}
if(days != 0 || hours != 0 || mins != 0){out += mins +" minute"+((mins!=1)?"s":"")+", ";}
out += secs +" seconds";
document.getElementById('countbox').innerHTML=out;
setTimeout("GetCount()", 1000);
}
}
window.onload=function(){GetCount();}//call when everything has loaded
//-->
</script>
<div id="countbox"></div>
- drew
- ---- E L I T E ----
- Posts: 2190
- Joined: Fri May 19, 2006 9:29 am
- Location: In front of a laptop writing a book.
- Contact:
Re: And in the finest traditions of my fan-fiction I present
Works fine on my website, but you can't embed javascript in this forum... Probably for very sensible reasons!
Cheers,
Drew.
Cheers,
Drew.
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: And in the finest traditions of my fan-fiction I present
Perhaps Aegidian could add it as a plug-in!drew wrote:Works fine on my website, but you can't embed javascript in this forum... Probably for very sensible reasons!
Cheers,
Drew.
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- Selezen
- ---- E L I T E ----
- Posts: 2530
- Joined: Tue Mar 29, 2005 9:14 am
- Location: Tionisla
- Contact:
Re: And in the finest traditions of my fan-fiction I present
Yay! The day before my birthday!
Thanks for the present, Mr. Wagar!
Thanks for the present, Mr. Wagar!
- ClymAngus
- ---- E L I T E ----
- Posts: 2514
- Joined: Tue Jul 08, 2008 12:31 am
- Location: London England
- Contact:
Re: And in the finest traditions of my fan-fiction I present
Just noticed the background! Thank you!!!
- drew
- ---- E L I T E ----
- Posts: 2190
- Joined: Fri May 19, 2006 9:29 am
- Location: In front of a laptop writing a book.
- Contact:
Re: And in the finest traditions of my fan-fiction I present
I was hoping you'd spot that...ClymAngus wrote:Just noticed the background! Thank you!!!
@Selezen - Happy Birthday... soon!
Cheers,
Drew.