Refresh web page

Joined
Jan 10, 2004
Messages
1,829
#2
i am using this to stream my web cam, is there just a way to refresh the pic and not the entire page?

I figure out how to refresh the page
 

SPeedY_B

I may actually be insane.
Joined
Mar 31, 2002
Messages
15,800
#3
It's doable, but it'll **** up any compliancy you have ;)

Head
Code:
<script type="text/javascript">
function refresh_image() {
    document.imgWebCam.src = "images/webcam.jpg"
    setTimeout("refresh_image()",15000);
}
</script>
Body
Code:
<body onLoad="refresh_image();">
Anywhere
Code:
<img src="images/webcam.jpg" alt="Cam" />
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,978
Messages
673,321
Members
89,018
Latest member
Pdawginhere