Anidazen Posted January 22, 2007 Share Posted January 22, 2007 I know this sounds like the most simplistic, ridiculous task, but I've tried everything and searched for ages. NO idea why I can't seem to do it.I've got a page that loads an iframe containing a PHP script. Once the script has done, I want the iframe to go to a different URL.However, PHP redirect sends the parent's location, as does just about everything else I've tried. I've found NOTHING that can automatically redirect the iframe itself, and not the parent. It's insane!Anyone able to help? Quote Link to comment Share on other sites More sharing options...
fenway Posted January 22, 2007 Share Posted January 22, 2007 Why not just use onload? Quote Link to comment Share on other sites More sharing options...
Anidazen Posted January 23, 2007 Author Share Posted January 23, 2007 I eventually figured this out. Redirecting within a frame should be simple... and it turns out that it is.The issue wasn't with my script, turns out the site I was redirecting to was causing the problems with script on their own site. 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.