Hello all,
I have a frameset called index1.asp which consists of 2 frames a top frame and a mainframe.
.... within index1.asp, after </head> ....
<frameset rows="21,*" border="0" framespacing="0">
<frame src="top.html" marginwidth="0" marginheight="0" name="topFrame" frameborder="0" scrolling="NO" noresize>
<frame src="welcome.html" marginwidth="0" marginheight="0" name="mainFrame" frameborder="0" noresize>
<noframes>
<body bgcol
etc.. </frameset>
There is another page within my site that gets linked to from outside my site. I want this (and a couple of other pages) to get loaded within the frameset when navigated to.
I'm using the following within the pages I want loaded within the frameset : eg. fred.html
<script language="JavaScript" type="text/javascript">
<!-- Hide script from old browsers
if (top.location == self.location) {
self.location.replace
("index1.asp"
}
-->
</script>
This does not replace welcome.html with fred.html. What am I doing wrong ?
thanks,
Credo
I have a frameset called index1.asp which consists of 2 frames a top frame and a mainframe.
.... within index1.asp, after </head> ....
<frameset rows="21,*" border="0" framespacing="0">
<frame src="top.html" marginwidth="0" marginheight="0" name="topFrame" frameborder="0" scrolling="NO" noresize>
<frame src="welcome.html" marginwidth="0" marginheight="0" name="mainFrame" frameborder="0" noresize>
<noframes>
<body bgcol
etc.. </frameset>
There is another page within my site that gets linked to from outside my site. I want this (and a couple of other pages) to get loaded within the frameset when navigated to.
I'm using the following within the pages I want loaded within the frameset : eg. fred.html
<script language="JavaScript" type="text/javascript">
<!-- Hide script from old browsers
if (top.location == self.location) {
self.location.replace
("index1.asp"
}
-->
</script>
This does not replace welcome.html with fred.html. What am I doing wrong ?
thanks,
Credo