Created
March 17, 2010 03:39
-
-
Save sgallese/334876 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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