> How would I do that in the PHP block?

Please always answer to the list.

Just echo out the JS statement:

echo '<script language="javascript">
<!--
parent.frames[0].location.href = "index.html";
--//>
</script>';

Regards, Torsten

>
>
> "Robert Sossomon" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I am in need of a way to reload a page within a frame as the other
> > frames are used to modify the information.
> >
> > I have a 3-frame site now that I am using 1 frame as a list, another
> > frame to add the information, and the 3rd frame to show the results of
>
> > the 2nd frame.  I know how to do the location: URL for the full page,
> > but how do I do it for JUST a single page?
>
> More a JavaScript than a PHP question, but anyway:
> parent.frames[0].location.href = 'index.html';
>
> I think you can also use the frame name: parent.myFrame.location.href =
> 'index.html';
>
> Regards,
>
> Torsten Roehr

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to