Jump to content


how do i get window.location to for entire screen and not just in iframe

  • Please log in to reply
1 reply to this topic

#1 just-j

  • Members
  • PipPipPip
  • Advanced Member
  • 52 posts

Posted 19 July 2006 - 01:51 AM

well  subject pretty much explains it..  here is my code
echo "<script language=javascript>window.open='index1.php';</script>"; }
it is in PHP so thats why its echoed like that.. 
my problem is that it loads in the iframe where the code is and i want to to reload the entire page with index1.php.  i searched everywhere on google and cant figure it out... HELP!!!

#2 nogray

  • Members
  • PipPipPip
  • Advanced Member
  • 930 posts
  • LocationSan Francisco CA

Posted 19 July 2006 - 04:12 PM

if the page on iframe, try to use this
<script language=javascript>parent.location='index1.php';</script>


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users