Refresh web page

omg its nlm

lvl 17 Hax
Joined
10 Jan 2004
Messages
1,829
Anyone out there know the code to auto refresh a webpage every 20secs.

Thanks
 
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
 
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 profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie Electronic Punk Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. 🙁

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk Sazar Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,016
Messages
673,499
Members
5,630
Latest member
REALMTBENJOYER
Back