webcam questions.
Date: 02/08/06
(Web Development) Keywords: java, web
Hello all, I am trying to setup a small webcam page for our new puppy. I am trying to get *just* the picture to refresh every 30 seconds.
< script language="JavaScript">
function reloadImage() {
if (document.images) {
document.images.myImageName.src = 'webcam.jpg?' + (new Date()).getTime();
}
setTimeout('reloadImage()',30000);
}
setTimeout('reloadImage()',30000);
//-->
< /script>
Problem is it isn't refreshing the image.
Also I am trying to figure out how to get the window to resize to the size of the background when the page is loaded.
How is that done?
Source: http://community.livejournal.com/webdev/293013.html