"Jedi Fans" <"news[at]jedifans[--=dot==-]com"> wrote
> sentinel 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
> top.location="index2.php?ui=0&ua=0&opt=forum"
'top' may not be the parent of the iframe.
just curious - why choose this over parent.location?
-alu
Received on Tue Oct 18 02:59:29 2005