<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Countdown</title>
<LINK REL=stylesheet HREF="/global/styles.css" TYPE="text/css">
<STYLE type="text/css">
.countdownbox {
font-family:Verdana,Arial,sans-serif;
font-size: 30px;
font-weight: normal;
text-align: center;
color: #005EB4;
}
.nope {
font-family:Verdana,Arial,sans-serif;
font-size: 11px;
font-weight: normal;
color: #000000;
}
</STYLE>
<script language="JavaScript">
<!--
// NOTE: This script requires some server-side processing.
var lastTimeLeft = 0;
function updateTimer() {
var oL = "ei";
var elapsedTime = new Date().getTime() - pageLoadTime;
var timeLeft = (pageLoadTimeLeft - elapsedTime);
if ( lastTimeLeft == 0 ) {
lastTimeLeft = timeLeft;
}
if ( Math.abs( lastTimeLeft - timeLeft ) > 100000 ) {
if( oL == "joo" ) {
if (navigator.userAgent.toLowerCase().indexOf("opera") > -1) {
document.theCounter.figure.value = "0";
}
else {
if (document.all) {
document.all.counter.innerHTML = "0";
}
else if (document.getElementById) {
document.getElementById("counter").innerHTML = "0";
}
else {
document.theCounter.figure.value = "0";
}
}
clearInterval(countDownTimer);
moveIt = setTimeout("countDownFinished()", 3000);
} else {
window.location.reload();
}
}
lastTimeLeft = timeLeft;
if ( timeLeft <= 0 ) {
if( oL == "joo" ) {
if (navigator.userAgent.toLowerCase().indexOf("opera") > -1) {
document.theCounter.figure.value = "0";
}
else {
if (document.all) {
document.all.counter.innerHTML = "0";
}
else if (document.getElementById) {
document.getElementById("counter").innerHTML = "0";
}
else {
document.theCounter.figure.value = "0";
}
}
clearInterval(countDownTimer);
moveIt = setTimeout("countDownFinished()", 3000);
} else {
window.location.reload();
}
}
else {
var parsedTime = parseInt( timeLeft );
parsedTime = parsedTime + "";
if( oL == "ei" ) {
while( parsedTime.length < 8 ) {
parsedTime = "0" + parsedTime;
}
parsedTime = "O" + parsedTime;
}
if (navigator.userAgent.toLowerCase().indexOf("opera") > -1) {
document.theCounter.figure.value = parsedTime;
}
else {
if (document.all) {
document.all.counter.innerHTML = parsedTime;
}
else if (document.getElementById) {
document.getElementById("counter").innerHTML = parsedTime;
}
else {
document.theCounter.figure.value = parsedTime;
}
}
}
}
function countDownFinished() {
window.location.href = 'http://service.futuremark.com/counter/counter.jsp?938';
}
function startTimer() {
updateTimer();
countDownTimer = setInterval("updateTimer()", 10);
}
var pageLoadTimeLeft = 17600460;
var pageLoadTime = new Date().getTime();
// -->
</script>
<META HTTP-EQUIV="Refresh" CONTENT="13884">
</head>
<body onLoad="JavaScript:startTimer();" bgcolor="#ffffff" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="8" marginheight="0" marginwidth="0">
<table cellpadding="0" cellspacing="0" border="0" align="center" height="100%">
<tr>
<td valign="middle">
<table cellpadding="0" cellspacing="0" border="0" width="340" heigth="146" align="center">
<form name="theCounter">
<tr>
<td valign="top" align="center" class="nope"><img src="/images/3dmark05.gif" width="220" heigth="26"></td>
</tr>
<tr>
<td valign="top" align="center"><img src="/images/1x1pix.gif" width="2" height="10"></td>
</tr>
<tr>
<td align="center" valign="top">
<table cellpadding="0" cellspacing="0" border="0" background="">
<tr>
<td align="middle"><td align="center" class="countdownbox"><span id="counter"></span></td></td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</body>
</html>
But I think the page will reload when the countdown finishes. So if the page itself changes by then...Leto said:Doesn't look like the O will change to me :S
phenix said:Hi Nappe,
How about giving us some clues about the letter codes. Is it a word? Because if it is a finnish word that we would not have any chance to know!!?!??!
cheers,
phenix said:Hi Nappe,
How about giving us some clues about the letter codes. Is it a word? Because if it is a finnish word that we would not have any chance to know!!?!??!
cheers,