61 users online (1 members and 60 guests)  


  Results 1 to 5 of 5

Related

  1. help moving linked images    Forum: Myspace Forum
    Replies: 1
  2. price boxes linked with menu    Forum: Javascript Forum
    Replies: 11
  3. drag layer with linked images in!?    Forum: HTML Forum
    Replies: 0
  4. Replies: 2
  1. #1
    BigUg's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2002
    Location
    Tennessee
    Posts
    3

    Question Autoreloading a linked page

    Hi gang,

    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.

    John

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi John.

    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 -

    Code:
    <meta http-equiv="refresh" content="45">
    Give it a try.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    BigUg's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2002
    Location
    Tennessee
    Posts
    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.

  4. #4
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    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.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  5. #5
    BigUg's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2002
    Location
    Tennessee
    Posts
    3
    That got it!! Thanks a bunch Dean!! WOOHOO!!!



Tags for this Thread