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

    Join Date
    Sep 2006
    Posts
    16
    Rep Power
    0

    How to refresh whole frameset from the frame?


    I'll a newbie and I'm having difficulty trying to refresh the whole frameset from a hyperlink on one of the frames. I've searched google and tried many options, about 6 or 7 codes, but failed. Is there a way to do that or what I am trying to do is impossible? Grateful for any tips.

    This is among one of which i tried:
    <a href="#" onClick="opener.top.location.reload()">Homepage</a>

    Very briefly, what i need to do is to refresh the entire frameset - the effect which can be obtained by pressing on the RELOAD button on the internet browser.

    This is how the frame looks like:

    Code:
    <html>
    <head>
    <title>Client</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <frameset rows="80,*" frameborder="NO" border="0" framespacing="0" bordercolor="#CCCCCC">
      <frame name="topFrame" scrolling="NO" noresize src="../html/eng-utf-8/top.htm" >
      <frameset cols="178,*" frameborder="No" border="0" framespacing="0" bordercolor="#CCCCCC"> \
       <frame name="leftFrame" noresize src="left.php">    
        <frame name="mainFrame" src="welcome.php">
      </frameset>
    </frameset>
    <noframes>
    <body bgcolor="#FFFFFF" text="#000000" >
    </body>
    </noframes> 
    </html>
    I am trying to refresh this entire frame using a link on the left frame, left.php.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2006
    Posts
    16
    Rep Power
    0
    I've tried the following but it works only for IE. Any ideas?

    <a href="#" onclick="top.location.reload( true )">Reload</a>

IMN logo majestic logo threadwatch logo seochat tools logo