This is a test
...because businesses have immense resources of time and people to control you while you are left to fend for yourself

Bush Countdown Clock

Ok, so there's a bunch out there already, but they don't give you the code, they want you to point your browser to their code. I don't want to do that. So here's my own counter that you can freely use and modify. Please keep the link back to this site though (or at least credit me somewhere nearby). Enjoy :D

Since Congress is too gutless to Impeach the Bush, here's how much longer we have to suffer under his rule.


Target:
Now:

And here's the code to run it:

<script>
then = new Date();
then.setFullYear(2009)
then.setMonth(1);
then.setDate(20);
then.setHours(12);
then.setMinutes(0);
then.setSeconds(0);

function printDate(aDate)
{
	toReturn  = aDate.toLocaleString();
	return toReturn;
}

function countIt()
{
	now = new Date();

	document.getElementById("then").innerHTML = printDate(then);
	document.getElementById("now").innerHTML = printDate(now);
	document.getElementById("counter").innerHTML = Math.round(((then-now)/1000))+" seconds and counting...";
}

</script>

<div style='width:350px; border:2px solid black; background:white; padding:10px; font-align:justify;' >
Since Congress is too gutless to Impeach the Bush, here's how much longer we have to suffer under his rule.
<hr/>
<div style='font-family:arial; font-size:12pt'>

<table>
<tr><td>Target:</td><td id=then align=center></td></tr>
<tr><td>Now:</td><td id=now align=center></td></tr>

</table>
</div>
<hr/>
<div id=counter style="width:100%; text-align:center"></div>
<div style='font-size:8pt;width:100%; text-align:center'>

<a href="http://www.jeremyduffy.com/top-issues/president-george-w-bush/">About Bush</a> |
<a href="http://www.jeremyduffy.com/bush-countdown-clock/">Get this counter</a>
</div>

</div>

<script>
setInterval("countIt();",1000);
</script>

syntax highlighted by Code2HTML, v. 0.9.1
Tags: , ,

Did this post help you?


Vote This Post DownVote This Post Up
Loading ... Loading ...

Share This Page

Mail to friend:
Send this page to a friend

Leave a Comment

Article at Random

No Child Left Behind Harms High Performers

No Child Left Behind is leaving kids behind after all...