Le code source c´est ça...
-----------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Revolutionday</title>
<style type="text/css">
body {
background-color: #000;
color: #fff;
text-align: center;
padding: 0.5em;
}
a,a:visited,a:active,a:hover {
color: #000;
}
.catchphrase {
font-size: 150%;
color: #2863E6;
margin-bottom: 1em;
}
div.countdown {
margin-top: 1.5em;
color: #2863E6;
}
input.countdown {
border: 0px solid #fff;
background-color: #000;
color: #2863E6;
text-align: right;
}
</style>
</head>
<body>
<div class="catchphrase">Gaming has Evolved. Can you handle it ?< /div>
<img src="logo.png" alt="Logo" style="border: 1px solid #bbd; height: 384px; width: 512px;">
<div class="countdown">
<form name="counter">
<input type="text" size="40" name="counterbox" class="countdown"> to go before next Revolution details.
</form>
<script type="text/javascript">
function prec_countdown(year, month, day, hour, minute, second) {
var GMToffset = 1;
y=year; mo=month; d=day; h=hour; m=minute; s=second; // WTF does one need this
var date_diff = new Date(year, month-1, day, hour-GMToffset, minute, second) - new Date();
var tot_days = Math.floor(date_diff/(60*60*1000*24)*1); // Get real days (with date and months offset)
date_diff = new Date(date_diff);
document.forms.counter.counterbox.value = tot_days + " days, " + date_diff.getHours() + " hours, " + date_diff.getMinutes() + " minutes, " + date_diff.getSeconds() + " seconds";
setTimeout("prec_countdown(y,mo,d,h,m,s)",1000);
}
prec_countdown(2005,9,16,2,0,0); //Set GMToffset
</script>
</div>
</body>
--------------------------------
Amuses toi bien, moi je vais manger 