How do i refresh a single frame?

Discussion in 'HTML & Website Design' started by tintumon, Sep 10, 2010.

  1. #1
    Hi,
    I have a webpage frameset (index.html) which has 4 frames

    the index.html refers to the frame contents as below:

    <FRAMESET ROWS="30%,*" COLS="23%,*">
    <FRAME SRC="framea.html">
    <FRAME SRC="frameb.html">
    <FRAME SRC="framec.html">
    <FRAME SRC="playingframe.html">


    I need to be able to refresh JUST the playingframe.html every 20 seconds, so inside playingframe.html i have put this:

    <head>
    <meta http-equiv="refresh" content="20">
    <title>Untitled Document</title>
    </head>

    <body>
    Remote file: then path to URL (blocked cos im a new user)
    </body>
    </html>


    but it is NOT refreshing at all... have i done something wrong?

    any help would be great. Please note though i just need to refresh 1 frame not the entire page.

    Thanks
    Tintumon
     
    tintumon, Sep 10, 2010 IP
  2. longcall911

    longcall911 Peon

    Messages:
    1,672
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It has been a very long time since I used refresh, but I don't think it will work at all inside a frame. I believe it is a client side function that never sees the head of the frame source.

    You probably need javascript (or other script) in playingframe.html body to update content.
     
    longcall911, Sep 11, 2010 IP