OT?? -> calling frames within frames
| From: | Robert Sossomon | Date: | Fri, 18 Jun 2004 13:24:45 +0000 |
| Subject: | OT?? -> calling frames within frames | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188565@lists.php.net to get a copy of this message | ||
I have two frames (A and main)
When I pull up one page it reloads main with the full page, however what
I need the system to do when I click off that page is to jump to
main.html and load item.html in the top.
Main.html currently loads 2 other pages at the beginning.
I have tried to jump them in this order, but it does not seem to be
working:
//Call the main page
echo '<script language="javascript">parent.main.location.href
="main.html";</script>';
//Open the next two pages I need in them
echo '<script language="javascript">parent.B.location.href
="item.html";</script>';
echo '<script language="javascript">parent.C.location.href
="cart.html";</script>';
TIA!
Robert