All Test

<html>
<head>
<title>AllSkEye</title>
</head>
<body bgcolor=”#0080FF” text=”#FFFFFF”>
<center>
<br />
<br />
<h2>AllSkEye Latest Image</h2>
<br />
<table>
<tr>
<td align=”center”>
<img id=”image0″ src=”https://{your url}/AllSkEye_Latest.jpg”alt=”Please Wait…” name=”image0″ />
</td>
</tr>
<tr>
<td>
<br />Latest Image
<br /></td>
</tr>
</table>

<script language=”JavaScript” type=”text/javascript”>
  interval = 30000;
  imageUrl = “https://{your url}/AllSkEye_Latest.jpg“;

  function Refresh() {
    var im = document.getElementById(‘image0’);

  LoadAndSetNewImageIfFound(im, imageUrl);

    setTimeout(“Refresh()”, interval);
  }

function LoadAndSetNewImageIfFound(image, url){
var newImg = new Image;
newImg.onload = function() {
image.src = this.src + “?” + new Date().getTime();
}
newImg.src = url;
}
 Refresh();

</script>

</center>
</body>
</html>

Leave a Comment

Your email address will not be published. Required fields are marked *