R
Rob
Hi Gang:
I have a page that loads a remote page into an IFRAME.
I don't have any control over this remote page though the page is owned by
the same company I work for.
The problem is that all of the pages have <base target='_parent'> specified
-- so every link will bust out of the IFRAME.
One solution I thought of was to load the page via a server side language,
then run through the DOM tree changing the base target to _self.
I'm thinking that there is an easier way to do this -- maybe have the iframe
load into a container frame. When a link is clicked on the remote page
(inside the iframe) it will create a new frame container thence always
keeping it inside the iframe and container frame.
Could I do that? How would I do that?
I created a dummy page as a cheap example:
http://www.speakeasy.org/~robo/js_prob
Clicking on the "parent target" link duplicates the problem I'm having.
TIA!
I have a page that loads a remote page into an IFRAME.
I don't have any control over this remote page though the page is owned by
the same company I work for.
The problem is that all of the pages have <base target='_parent'> specified
-- so every link will bust out of the IFRAME.
One solution I thought of was to load the page via a server side language,
then run through the DOM tree changing the base target to _self.
I'm thinking that there is an easier way to do this -- maybe have the iframe
load into a container frame. When a link is clicked on the remote page
(inside the iframe) it will create a new frame container thence always
keeping it inside the iframe and container frame.
Could I do that? How would I do that?
I created a dummy page as a cheap example:
http://www.speakeasy.org/~robo/js_prob
Clicking on the "parent target" link duplicates the problem I'm having.
TIA!