Ads Posted November 8, 2007 Share Posted November 8, 2007 I have a home page of a webpage, with an iframe, and ever link on the page goes through the Iframe. One of these Links are a Login, and when the login is Done, and You log in corrently i want it to use a Freash page outside of the iframe I am useing this at the Momemnt. header("Location: main.php"); but that does it in the Iframe. Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted November 8, 2007 Share Posted November 8, 2007 you'll have to use javascript <script> top.document.href = "main.php"; </script> in your iframe Quote Link to comment Share on other sites More sharing options...
Ads Posted November 8, 2007 Author Share Posted November 8, 2007 Na doesn't work. Just reloads the Frame. Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted November 8, 2007 Share Posted November 8, 2007 well basically speaking I do not know why you require iframes ? Quote Link to comment Share on other sites More sharing options...
Ads Posted November 10, 2007 Author Share Posted November 10, 2007 I don;t Require them, They Just look cool Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.