#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Posts
    358
    Rep Power
    0

    Refresh a frame without javascript


    I am working on an embeded system that is using Opera 5 (can't upgrade it) which does not support javascript.

    I have a webpage that has 3 frames on 1 html page.

    I need to refresh one of the 3 frames every second to show updates to the frame.

    Does anyone know how I can do this with a very limited browser?

    I appreciate any help.

    - Rob
  2. #2
  3. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2001
    Location
    England
    Posts
    967
    Rep Power
    14
    You could use meta tags, but setting to refresh every second would barely give the page time to load, let alone to be viewed....
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Posts
    358
    Rep Power
    0
    Cool, it worked! Thanks.
    I did a search for "meta refresh" here and found the code.

    I've got a problem though. I can't figure out how to make it refresh only the 1 frame rather then the whole page.

    Any ideas with that?
  6. #4
  7. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2001
    Location
    England
    Posts
    967
    Rep Power
    14
    Just put the meta tag in the page you want refreshing: and have the content point to the page, rather than the index, or the main frame.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Posts
    358
    Rep Power
    0
    Wow, that sure was a dumb question wasn't it?

    I've been programming straight for more hours then I can count. It might be time to take a break.

    Thank-you very much for your help, things are working perfect.
  10. #6
  11. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2001
    Location
    England
    Posts
    967
    Rep Power
    14
    No problem...

    You may want to reconsider where you post this kind of thing though - this topic really belongs in the html forum (since PHP is a server side scripting language). I'm sure there's something in the edit function that allows you to change the forum for the topic, though I don't know for sure (having never had to use it).
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Posts
    358
    Rep Power
    0
    Yah, you're right. I only see a delete check box that will allow me to delete the thread. If a Moderator is around perhaps s/he will move it.

    Origionally, I thought that there would be a PHP function or method to refresh a page. But using the META tag is perfect.

    Thanks again!

IMN logo majestic logo threadwatch logo seochat tools logo