Pastoid

The page you are looking at now is at this URL: http://pastoid.com/bw7

This paste was last updated on September 11, 2009 at 11:37 am.

Pasted Coderaw

<html>
<head>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<style>
.countdown
{
	text-align:center;
	width: 100%;
	font-family: georgia;
	font-size: 100px;
	color: #333;
}
</style>
<script>
$(document).ready(function() {
	function countDown() {
		var dateFuture= new Date('September 13, 2009');
		var dateNow= new Date();
		var amount= dateFuture.getTime() - dateNow.getTime();
		delete dateNow;
 
		if( amount < 0 ) {
			$('.countdown').html('Now!');
		} else {
			var days= 0;
			var hours= 0;
			var mins= 0;
			var secs= 0;
			var out= "";
 
			amount= Math.floor( amount/1000 );
			days= Math.floor( amount/86400 );
			amount= amount%86400;
			hours= Math.floor( amount/3600 );
			amount= amount%3600;
			mins= Math.floor( amount/60 );
			amount= amount%60;
			secs= Math.floor( amount );
 
			if( days != 0 ) {
				out += days + ":";
			} if( days != 0 || hours != 0 ) {
				out += hours + ":";
			} if( days != 0 || hours != 0 || mins != 0 ) {
				out += mins + ":";
			}
			out += secs;
			$('.countdown').html( out );	
		}
	}
 
	setInterval( countDown, 1000 );	
});
</script>
</head>
<body>
	<div class="countdown">
	</div>
</body>
</html>

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 4
Is this paste spam?
<Hide