UmtyAid
12-09-2006, 09:59 AM
My website at www.umt.org.uk uses frames after the index page. When entering the site using a search engine very often the site does not load correctly because only one page is loaded instead of the frameset. I use the following code for all pages which are contained in the parent folder:
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!-- Hide script from old browsers
if (top.location == self.location) {
self.location.replace("The Urmston Musical Theatre.htm?Urmston Music.htm") }
// End hiding script from old browsers -->
</SCRIPT>
This will load the banner of the site and ultimately force the page into the frameset.
The portion of the code in red that is ("The Urmston Musical Theatre.htm?Urmston Music.htm") is the frameset and main page to be displayed in the frameset.
However, I cannot get pages which are in sub folders to load correctly and force them also into a frameset. I presume it is some portion of this code, if it is possible.
Please can someone help.
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!-- Hide script from old browsers
if (top.location == self.location) {
self.location.replace("The Urmston Musical Theatre.htm?Urmston Music.htm") }
// End hiding script from old browsers -->
</SCRIPT>
This will load the banner of the site and ultimately force the page into the frameset.
The portion of the code in red that is ("The Urmston Musical Theatre.htm?Urmston Music.htm") is the frameset and main page to be displayed in the frameset.
However, I cannot get pages which are in sub folders to load correctly and force them also into a frameset. I presume it is some portion of this code, if it is possible.
Please can someone help.