Wednesday, 12 June 2013

Image Auto Refresh Javascript code

<html>
<head>
<title>AirNav RadarBox 3D - Burnley in Lancashire, England</title>
</head>
<body bgcolor="000000">
<center>
<br>
<br>
<font color="FFFFFF">
The radar will auto-refresh - Return to the <a href="http://www.aviationweb.net/">Aviation Web Forum</a>.
<br>
<br>
</font>
<img src="RadarBoxScreenShot.gif" alt="Live AirNav RadarBox 3D" name="refresh" border="0">
<script language="JavaScript" type="text/javascript">
      <!--
      var t = 30 // interval in seconds
      image = "RadarBoxScreenShot.gif" //name of the image
      function Start() {
      tmp = new Date();
      tmp = "?"+tmp.getTime()
      document.images["refresh"].src = image+tmp
      setTimeout("Start()", t*1000)
      }
      Start();
      // -->
      </SCRIPT>
</center>
</body>
</html>

Categories: ,

0 comments:

Post a Comment