Page 1 of 1

how to overlay/replace frames ?

Posted: Tue Apr 03, 2007 3:42 am
by rekha_harnoor
I am using a header page called header_nav.php. In header I am entering category and searchtext. After that I am sending those values to following code frames.php. Here I am using frames I am displaying header and 3 different vertical frames below that. First time the display is ok.

The problem is second time when I again select the category and search text, the frames are not replacing the new one. It is creating a new frame. How to solve this?

*** PLEASE USE THE PHP TAG WHEN POSTING CODE ***

Code: Select all

<?php
//frames.php

session_start();
header("Cache-control: private");
unset($_SESSION['CATEGORY']);
unset($_SESSION['SEARCH_TEXT']);
$_SESSION['CATEGORY'] = $_POST["category"];
$_SESSION['SEARCH_TEXT'] = $_POST["search_text"];

?>

<html>
<head>
<title>HotDeals Inc.</title>
</head>

<FRAMESET ROWS="18%,70%,12%" >
<FRAME noresize="noresize" SRC="header_nav.php">



<FRAMESET COLS="33%,34%,33%">
<FRAME noresize="noresize" SRC="ebayquickSearch.php">
<FRAME noresize="noresize" SRC="yahoo_parsing_hotdeals1.php">
<FRAME noresize="noresize" SRC="amazon_nusoap_new2.php">

</FRAMESET>


<FRAME noresize="noresize" SRC="footer.php">
</FRAMESET>
</FRAMESET> 

</html>

Posted: Tue Apr 03, 2007 10:18 pm
by Kieran Huggins
has anyone ever tried <form target="_top" action="..." method="..."> ?