bLANCHARDTECH
New Coder
This is the code I have. I can only use javascript and html to accomplish this. Any Ideas?
I need to get those 3 images to reload ignoring the local browsers cache every 3 minutes and the site images change every 3 minutes, but do not change the filename.
Nothing I have tried has worked so far.
Any suggestions.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<title></title>
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<META HTTP-EQUIV="Expires" CONTENT="-1">
<meta http-equiv="pragma" content="no-cache" />
<script>
setTimeout(function () {
window.location.reload(1);
}, 60000);
</script>
</head>
<html>
<body style="background-color: #FFFFFF">
<p>
<img alt="Outside Temp" height="220" width="128" id="reloader1" src="https://cws.a2hosted.com/weather/OutsideTemp.gif#" + new Date().getTime();/>
<img alt="Inside Temp" height="220" width="128" id="reloader2" src="https://cws.a2hosted.com/weather/InsideTemp.gif#" + new Date().getTime();/>
<img alt="Outside Humidity" height="220" width="128" id="reloader3" src="https://cws.a2hosted.com/weather/OutsideHumidity.gif#" + new Date().getTime();"/>
</p>
</body>
</html>
I need to get those 3 images to reload ignoring the local browsers cache every 3 minutes and the site images change every 3 minutes, but do not change the filename.
Nothing I have tried has worked so far.
Any suggestions.