The code I have used in 2.1.2 is, using the same code in 3.1.1 doesn't raise an error, just doesn't seem to do anything. I don't have friendly URLs configured.
<TABLE cellSpacing=0 cellPadding=0 width=117 align=center border=0> <TBODY> <TR> <TD> <DIV><IMG src="="/portals/0/vws889.jpg" width="117" height="60" border="1" name="refresh"> <DIV class=cap>Temperatura actual</DIV></DIV></TD></TR></TBODY></TABLE>
<!-- Code Begin --> <SCRIPT language="JavaScript" type="text/javascript"> <!-- var t = 120 // interval in seconds image = "/portals/0/vws889.jpg" //name of the image function Start() { tmp = new Date(); tmp = "?"+tmp.getTime() document.images["refresh"].src = image+tmp setTimeout("Start()", t*1000) } Start(); // --> </SCRIPT> <!-- Code End --> |