Thread: Autoreloading a linked page
Results 1 to 5 of 5
help moving linked images Forum: Myspace ForumReplies: 1
drag layer with linked images in!? Forum: HTML ForumReplies: 0
anchor tag linked to 2+ links at the same time, possible? Forum: HTML ForumReplies: 2
10-27-2002, 02:37 AM #1
Autoreloading a linked page
I've made my very first webpage, and my main page comes up just fine. I've made a directory in it also called 'webcam', that I have an app upload an image to every few minutes. I've tried to add scripts to my index.html, to make that page with the picture, reload automatically every few minutes, but it isn't doing it. What can I be doing wrong? The url for the main site is <home.iswt.com/yonaton> , you'll see the 'link' I've made to get to the webcam picture on there. I just don't know enough yet to figure out what to do, so that someone doesn't have to keep hitting the reload button on their browser all the time.
Any help, tips, guidance with this will sure be appreciated. Thanks.
10-27-2002, 05:41 AM #2
As you have linked straight to the jpeg image, there is no way to get it to autorefresh.
If you place the image in a html page, using the <img> tag, you can add this code to the <head> of the document, and it will refresh every 45 seconds -
<meta http-equiv="refresh" content="45">
10-27-2002, 12:55 PM #3
Okay, so do I just make another 'webpage' like the main one, except all it has is the 'image' in it, and just place that html document in the 'webcam' folder? Will I have to change how it links to the image from my main page? Sorry, but I did this webpage stuff from the seat of my pants, literally 'no' knowledge whatsoever.
10-27-2002, 03:09 PM #4
Thats pretty much it.
Make, for example, webcam.html as your page. Put it in your normal directory, and link to it '<a href="webcam.html">webcam</a>' Then use the <img> tag to display your jpeg image in that page.
10-27-2002, 04:04 PM #5
That got it!! Thanks a bunch Dean!! WOOHOO!!!