how to overlay/replace frames ?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
rekha_harnoor
Forum Commoner
Posts: 32
Joined: Mon Feb 19, 2007 3:17 am

how to overlay/replace frames ?

Post 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>
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

has anyone ever tried <form target="_top" action="..." method="..."> ?
Post Reply