P
Paul
HI! I want to be able to always load the parent if the child frame page is
access by a link in a users bookmark or if its on a search engine.
At the moment I am getting links being displayed in search engines are only
pulling up the child frame without the parent frame page.
The added the script below and change "getElementById" to "getElementByName"
because my parent frame page uses Name. and the parent child frame is called
"mainFramePages". The script is inside the child page.
What am I doing wrong.
<script type="text/javascript">
var loc_var=this.location.href;
if(loc_var.indexOf('?addr='!=-1)){
var loc_arr=loc_var.split('?addr=');
document.getElementByName('mainFramePages').src=loc_arr[1];
}
</script>
Paul
access by a link in a users bookmark or if its on a search engine.
At the moment I am getting links being displayed in search engines are only
pulling up the child frame without the parent frame page.
The added the script below and change "getElementById" to "getElementByName"
because my parent frame page uses Name. and the parent child frame is called
"mainFramePages". The script is inside the child page.
What am I doing wrong.
<script type="text/javascript">
var loc_var=this.location.href;
if(loc_var.indexOf('?addr='!=-1)){
var loc_arr=loc_var.split('?addr=');
document.getElementByName('mainFramePages').src=loc_arr[1];
}
</script>
Paul