Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: iframe issue

  1. #1
    Senior Coder
    Join Date
    May 2004
    Thanked 0 Times in 0 Posts

    iframe issue

    I have a page with a link that the link changes the target of an iframe.
    Teh problem is if someone copy and pastes that link then they get straigt to the iframe and not in the context of teh site.

    Is there anyway I can know if they are seeing the page in the iframe or as a parent page. (In this way if they are not seeing it in the iframe then I would give them a message saying so)

  2. #2
    Senior Coder
    Join Date
    Aug 2002
    Thanked 14 Times in 14 Posts
    You need the iframe page to check if it is in the top browser window, if it is then it needs to load its parent page and then itself into the iframe.

    You can see an example here

    The silent one.

    The most dangerous thing in the world is an idea.
    The most dangerous person in the world is the one with an idea.


Posting Permissions

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