B
Bernard Davis
Hi,
I've been asked to add some pages to an existing web-site that was
done in frames (two different sets of frames with different navigation
links).
I need to ensure that if someone tries to load a page without the
frameset it will force the frameset to take effect with the correct
page displayed.
I've got this code at the top of one of the child pages:
<script language="Javascript">
if (top.location == self.location) {
top.location = '../../index.htm.htm'
}
</script>
This almost works, it opens the frameset correctly, but it always
shows the original file that the frameset contains.
How can I force it to open with the correct page displayed?
Regards,
Bernard D.
I've been asked to add some pages to an existing web-site that was
done in frames (two different sets of frames with different navigation
links).
I need to ensure that if someone tries to load a page without the
frameset it will force the frameset to take effect with the correct
page displayed.
I've got this code at the top of one of the child pages:
<script language="Javascript">
if (top.location == self.location) {
top.location = '../../index.htm.htm'
}
</script>
This almost works, it opens the frameset correctly, but it always
shows the original file that the frameset contains.
How can I force it to open with the correct page displayed?
Regards,
Bernard D.