Results 1 to 2 of 2

Thread: iFrame question

  1. #1
    Join Date
    Aug 2005

    iFrame question

    I have a php page with an iframe in it. The page in the iFrame contains a form from another site, however on successful completion of the form the page is forwarded back to my site, at which I now have control of. But now I am stuck in the frame. How do I get out it?

    I'm using this in the head

    HTML Code:
    <script type="text/javascript">if (top !== self) top.location.replace(self.location.href);</script>
    but I thought there has to be a better way.

  2. #2
    Join Date
    Jan 2004
    << response to removed post >>

    Back to OP

    Can you please post abit more code then just the header please. is this the header of the page that you have in the iframe or the header of the page that has the iframe on it. I am some what confused.

    I think thats what bestdown was trying to represent with the dots, not sure.

    Can you show us how youve actually added the iframe etc?

Similar Threads

  1. Replies: 4
    Last Post: 03-17-2006, 12:58 AM
  2. iframe merchant question
    By ecspud in forum Hosting Security and Technology
    Replies: 0
    Last Post: 03-02-2006, 04:47 AM
  3. iframe Question
    By LordBob in forum Web Design and Content
    Replies: 2
    Last Post: 06-01-2005, 05:03 PM
    By rychen in forum Hosting Security and Technology
    Replies: 7
    Last Post: 03-12-2004, 01:29 PM
  5. iframe
    By alucasa in forum Web Hosting Lounge
    Replies: 12
    Last Post: 06-21-2001, 07:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts