[thelist] Reload parent frame from iframe?

Chris at globet.com Chris at globet.com
Sun Apr 2 05:01:10 CDT 2006


Frank

> At 03:36 AM 2006-04-01, you wrote:
> >You don't need javascript - just set the value of the "target" 
> >attribute of the form in the document referenced by the 
> iframe to "_top".
> 
> Sorry, forgot to mention that it's a redirect after a form 
> submission (once the password has been processed)

Using javascript, include the following:

<script type='text/javascript'>
parent.document.location.href = 'test.htm';
</script>

Make sure that lower down the page you include a link similar to the
following, for users with javascript disabled:

<a href='test.htm' target='_top'>Proceed</a>

HTH

Chris Marsh
Web Developer
http://www.globet.com/
Tel: +44 20 8246 4804 Ext 828
Fax: +44 20 8246 4808

Any opinions expressed in this email are those of the individual and not
necessarily the Company. This message is intended for the use of the
individual or entity to which it is addressed and may contain
information that is confidential and privileged and exempt from
disclosure under applicable law. If the reader of this message is not
the intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited.
If you have received this communication in error, please contact the
sender immediately and delete it from your system. 



More information about the thelist mailing list