Re: redirect
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: redirect

From: alu <none@none.com>
Date: Thu Jul 21 2005 - 20:26:25 CEST

"sentinel" <postmaster@elma.hr> wrote
> I am using this code to redirect to another page
>
>
> <body>
> <script language="javascript">
> window.location="index2.php?ui=0&ua=0&opt=forum"
> </script>
> </body>
>
>
> the problem is that in one place this code is inside a floating frame
> <iframe src="processing.page.php"></iframe>
>
> the script does some stuff and if successful it redirects to index2.php
>
>
> and everything works but i want it to redirect out of frame in the same
> window.
>
>
> how can i direct it out of frame?
>
>
> thanks

------------------------------

parent.location=.......

-alu
Received on Tue Oct 18 02:59:23 2005