I have a webpage that may need tro display other webpages (well html documents really) in a panel, so a wrapper using iFrame call is being used. Its working pretty well except...
If the document in the iframe has a link to yet another place, like google, that page will come up in the iframe, as it should. However, if the document has a link to my website then what happen is I get another version of my website inside the iFrame.
What id like to do, is have the behavior that links to mysite, are redirected to the parent window, not the iFrame window
I've tried using htaccess redirects, but they 'stay' within the iframe window
for example, I know that
http_referer will have 'htmlwrapper' if the call is from within the iframe
but if I RewriteRule to go to mysite/test.html - I get the entire mysite/test.html displayed within the iframe
Hope all that make sense as a problem description