Skip to content

Instantly share code, notes, and snippets.

@sgallese
Created March 17, 2010 03:39
Show Gist options
  • Save sgallese/334876 to your computer and use it in GitHub Desktop.
Save sgallese/334876 to your computer and use it in GitHub Desktop.
<!-- Code Begin -->
<IMG src="image_name.jpg" width="275" height="200" border="1" name="refresh">
<SCRIPT language="JavaScript" type="text/javascript">
<!--
var t = 50 // interval in seconds
image = "1.png" //name of the image
function Start() {
tmp = new Date();
tmp = "?"+tmp.getTime()
document.images["refresh"].src = image+tmp
setTimeout("Start()", t)
}
Start();
// -->
</SCRIPT>
<!-- Code End -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment