I have looked, but I can't seem to find an explanation for the problem
I am having. I have a page that show an image from another server. I
want the image to refresh without refreshing my page. (My page has a
huge flash movie on it that is sucking my bandwidth.) I have devised
the solution below which works only in IE, but not if Firefox or Opera
or Safari. I would really appreciate any help.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitled Document</title>
<script language="javascript" type="text/javascript">
<!--
function refresh_iframe()
{
self.frames['webcam'].location.href =
"http://instacam.com/instacamimg/DLTH1/DLTH1_S.jpg";
setTimeout("refresh_iframe()", 3000);
}
//-->
</script>
</head>
<body>
<iframe src="http://instacam.com/instacamimg/DLTH1/DLTH1_s.jpg"
frameborder="0" scrolling="no" marginheight="0" marginwidth="0"
width="320" height="240" id="webcam" name="webcam"></iframe>
<script type="text/javascript">
refresh_iframe();
</script>
</body>
</html>