Try this,
<HTML>
<HEAD>
</HEAD>
<BODY BGCOLOR="000000">
<TABLE BORDER=0 CELLPADDING=0>
<TR>
<TD ALIGN=CENTER><img
src="
http://www.state.nj.us/transportation/traffic/cameras/n50.jpg"
height=222 width=296 border=0></TD>
<TD ALIGN=CENTER><img
src="
http://www.state.nj.us/transportation/traffic/cameras/n52.jpg"
height=222 width=296 border=0></TD>
</TR>
</TABLE>
<script language="JavaScript">
//Refresh page script- By Brett Taylor (
[email protected])
//Modified by Dynamic Drive for NS4, NS6+
//Visit
http://www.dynamicdrive.com for this script
//configure refresh interval (in seconds)
var countDownInterval=60;
//configure width of displayed text, in px (applicable only in NS4)
var c_reloadwidth=200
</script>
<ilayer id="c_reload" width=&{c_reloadwidth}; ><layer id="c_reload2"
width=&{c_reloadwidth}; left=0 top=0></layer></ilayer>
<script>
var countDownTime=countDownInterval+1;
function countDown(){
countDownTime--;
if (countDownTime <=0){
countDownTime=countDownInterval;
clearTimeout(counter)
window.location.reload()
return
}
if (document.all) //if IE 4+
document.all.countDownText.innerText = countDownTime+" ";
else if (document.getElementById) //else if NS6+
document.getElementById("countDownText").innerHTML=countDownTime+" "
else if (document.layers){ //CHANGE TEXT BELOW TO YOUR OWN
document.c_reload.document.c_reload2.document.write('Next <a
href="javascript:window.location.reload()">refresh</a> in <b
id="countDownText">'+countDownTime+' </b> seconds')
document.c_reload.document.c_reload2.document.close()
}
counter=setTimeout("countDown()", 1000);
}
function startit(){
if (document.all||document.getElementById) //CHANGE TEXT BELOW TO YOUR OWN
document.write('Next <a
href="javascript:window.location.reload()">refresh</a> in <b
id="countDownText">'+countDownTime+' </b> seconds')
countDown()
}
if (document.all||document.getElementById)
startit()
else
window.onload=startit
</script>
</HTML>
----------------------------------------------------------------------------
------
I added a script to do the refreshing.
It seems Active desktop doesn't quite support the http refresh.
Have you noticed that if you have youre page open in a browser it updates OK
and the AD page also updates as the images are in the cache.
Regards
Mark Dormer
I've got the following html in a file called c:\dashboard\18.htm. The goal
is to have some live traffic images updated every 60 seconds on my desktop.
I use other html files on my desktop and they update just fine. These
images, however, only update when I right-click on the desktop and hit
refresh, otherwise they don't update, even when the page reloads every 60
seconds.
Any ideas?
<HTML>
<HEAD>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="EXPIRES" CONTENT="-1">
<META HTTP-EQUIV=Refresh CONTENT="60; URL=c:\dashboard\18.htm">
</HEAD>
<BODY BGCOLOR="000000">
<TABLE BORDER=0 CELLPADDING=0>
<TR>
<TD ALIGN=CENTER><img
src="
http://www.state.nj.us/transportation/traffic/cameras/n50.jpg"
height=222 width=296 border=0></TD>
<TD ALIGN=CENTER><img
src="
http://www.state.nj.us/transportation/traffic/cameras/n52.jpg"
height=222 width=296 border=0></TD>
</TR>
</TABLE>
</HTML>