I was wondering how do i put a code to where theres an image that refreshes itself like on the original site? [img] codes just save the actual image that I was viewing at the time.
Heres an example of what I want to put on my site. As see on the link its a traffic camera and it just keeps refreshing.
http://www.lafayettela.gov/traffic/t...s.asp?ptzid=31
This is also the frame source.
<HTML>
<body bgcolor = #D8D8D8>
<b>JOHNSTON @ AMBASSADOR</b><br>
<img src="../VServerImages/JohnstonCaffery.jpg" name="CurImg">
<script language="JavaScript"><!--
function reloadImage() {
var now = new Date();
document.images.CurImg.src = "../VServerImages/JohnstonCaffery.jpg?" + Math.random();
//}
setTimeout('reloadImage()',2000);
}
setTimeout('reloadImage()',1000);
//--></script>
</HTML>
Please help me
Thanks,
Crawford
--------------- Added [DATE]1203971261[/DATE] at [TIME]1203971261[/TIME] ---------------
bump