View Full Version : iframe issue

12-05-2006, 06:18 PM
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)

Mr J
12-06-2006, 08:07 PM
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