eoincunningham
09-17-2002, 05:26 PM
Hi,
I'm looking for some help with Iframes please.
Does anybody know how to make the link in an iframe "take over" the parent window when clicked? IE: When you click on the link in the page inside the iframe, the window containing the page with the iframe in it is the one which goes to that link, as opposed to the link opening inside the iframe.
Here's my main problem. I already know how to do this, but in order to call my javascript function when the link is clicked, I can only place the function call in the anchor for the link. Unfortunately, the pages inside the iframes are on another site, and therefore I obviously have no control over how they are written and can't place my function calls there. So all my code needs to be on the page which contains the iframes.
I'm looking for some help with Iframes please.
Does anybody know how to make the link in an iframe "take over" the parent window when clicked? IE: When you click on the link in the page inside the iframe, the window containing the page with the iframe in it is the one which goes to that link, as opposed to the link opening inside the iframe.
Here's my main problem. I already know how to do this, but in order to call my javascript function when the link is clicked, I can only place the function call in the anchor for the link. Unfortunately, the pages inside the iframes are on another site, and therefore I obviously have no control over how they are written and can't place my function calls there. So all my code needs to be on the page which contains the iframes.