Question
Redirect Parent URL from within iframe
Hi - I have an iframe that contains a series of links ... and
when the user clicks on one of the links within the iframe, I want
the parent page's URL to be redirected to a particular URL.
Right now, if I just use the standard <a href="target URL">Text</a> for the link, it brings up the redirect JUST INSIDE the iframe ... but I want the parent page that contains the iframe to change to the target URL.
It is like I need to embed the statement:
************
<script language='Javascript' type='text/Javascript'>
window.location = "target URL";
</script>
************
inside the link - but I am not sure of the best or most proper way to do that.
Any suggestions? [I tried to do a SEARCH on my subject topic, and it generates some odd forum error message.] Thanks!
Right now, if I just use the standard <a href="target URL">Text</a> for the link, it brings up the redirect JUST INSIDE the iframe ... but I want the parent page that contains the iframe to change to the target URL.
It is like I need to embed the statement:
************
<script language='Javascript' type='text/Javascript'>
window.location = "target URL";
</script>
************
inside the link - but I am not sure of the best or most proper way to do that.
Any suggestions? [I tried to do a SEARCH on my subject topic, and it generates some odd forum error message.] Thanks!
