Hello,
I am looking for a way to refresh the images on a webpage?
I have a webpage with all the Yellowstone National Park webcams. One at Old Faithful is a live streaming cam and one is a still cam that reloads every 30 seconds. The other cams reload about every minute. I do not want to reload the whole page as it interrupts the live streaming cam. I am loading the images from the National Park website, so a webpage refresh does not pull the newest images. Here is the webpage:
[url]http://www.the-great-outdoors.net/yellowstonewebcamswide.htm
Do you know of a script that would allow me to just reload the six still images?
Thanks for your time and help!
Best regards,
John
setInterval('getPix()',5000)[/QUOTE]
style=display:none[/QUOTE]from the iframe and see what happens in there then get back to me
onload="do_da_update()"[/QUOTE]
<script>
function do_da_update()
{
var img=document.getElementsByTagName("IMG")
var P=window.parent.document
P.getElementById("oldfaith2").src=img[0].src
P.getElementById("mammothcam2").src=img[1].src
P.getElementById("electric-peak").src=img[2].src
P.getElementById("washburn").src=img[3].src
P.getElementById("yell").src=img[4].src
P.getElementById("mammoth").src=img[5].src
}
</script>[/QUOTE]
<html>
<head>
your update stuff goes here
</head>
<body style=margin:0;padding:0>
<table width=100% cellspacing=0 cellpadding=0>
<tr>
<td>
<center>
<img src=image goes here>
</center>
</td>
</tr>
</table>
</body>
</html>[/QUOTE]
<iframe src=page.html marginwidth=0 marginheight=0 frameborder=0 style=height:600;width:800></iframe>
[/QUOTE]
0.1.9 — BETA 6.17