If any of you CSS Guru's would care to have a go...
I would certainly appreciate it, but it is no biggie...
CODE
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en-US">
<head>
<title>Iditarod WebCam</title>
<style type="text/css">
<!--
body{ background-color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
color: #FFFFFF;
}
h1{ text-align: center;
color: #0000FF;
}
div.center{
text-align: center;
clear: both;
}
div.center span.left{
width: 50%;
float: left;
text-align: right;
}
div.center span.center{
width: 35px;
float: left;
text-align: center;
}
div.center span.right{
float: left;
}
-->
</style>
<script type="text/javascript">
<!--//
function refreshCam(speed,image){ // Written By: WillyDuitt@hotmail.com \\;
var count = Number(document.getElementById('timer').innerHTML)-1;
if(count < 0 && document.images){
document.getElementById('webcam').src = image+'?'+new Date().getTime();
count = speed;
} document.getElementById('timer').innerHTML = count;
setTimeout(function(){refreshCam(speed,image)},1000);
}
//-->
</script>
</head>
<body ######="refreshCam(10,'http://nomecam.iditarod.com/netcam/nomecam.jpg')">
<h1>Iditarod WebCam</h1>
<div class="center">
<img id="webcam" src="http://nomecam.iditarod.com/netcam/nomecam.jpg">
</div>
<div class="center">
<span class="left">Next reload in</span>
<span class="center" id="timer">25</span>
<span class="right">seconds.</span>
</div>
</body>
</html>
.....Willy
Edit: <body ######="refreshCam
Please note that the: ######
Should be: onload