Thread: Frame Refresh
View Single Post
Old 03-03-2011, 03:56 PM   PM User | #2
hdewantara
Regular Coder

 
hdewantara's Avatar
 
Join Date: Aug 2009
Location: Jakarta, Indonesia.
Posts: 287
Thanks: 4
Thanked 39 Times in 39 Posts
hdewantara is an unknown quantity at this point
Does it really need javascript ?

Say that within the top/ parent/ main window,
you have named the bottom 4th frame as "status":
Code:
<!doctype html public "-//w3c//dtd html 4.01 frameset//en"
   "http://www.w3.org/tr/html4/frameset.dtd">
<html>
<head>
</head>
<frameset rows="50%, 50%">
  <frameset cols="30%, 30%, 40%">
    <frame src="form_1.php">
    <frame src="form_2.php">
    <frame src="form_3.php">
  </frameset>
  <frame name="status" src="status.html">
</frameset>
</html>
and on each of those top frames' files define target="status":
Code:
  <form method="get" action="form_x.php" target="status">
      your name: <input type="text" name="yname">
    <input type="submit">
  </form>
hdewantara is offline   Reply With Quote