pcwr4it
12-03-2003, 10:25 AM
I have a short piece of code that makes the browser load the index page from my website with
From the index page
</head>
<! -- Frame Location -->
<script LANGUAGE="JavaScript">
<!--
if (top.location != self.location) {
top.location = self.location }
//--></script>
This load correctly in all browsers.
Problem is when I try and change the main loaded page via the menu, it loads the required page but takes it out of the frames page. Therefore loosing all menu links etc.
example of menu link
<a href="nextevent.html"
target="main" style="text-decoration: none"><strong>Next Event Jan '04</strong></a>
Happens in IE6 on my published pages. Works correctly in IE6 on local copy. Works in Netscape7.1 on local and published copies.
Question is, do I need to change the code for IE6 or put it somewhere else?
Thanks,
Patrick
From the index page
</head>
<! -- Frame Location -->
<script LANGUAGE="JavaScript">
<!--
if (top.location != self.location) {
top.location = self.location }
//--></script>
This load correctly in all browsers.
Problem is when I try and change the main loaded page via the menu, it loads the required page but takes it out of the frames page. Therefore loosing all menu links etc.
example of menu link
<a href="nextevent.html"
target="main" style="text-decoration: none"><strong>Next Event Jan '04</strong></a>
Happens in IE6 on my published pages. Works correctly in IE6 on local copy. Works in Netscape7.1 on local and published copies.
Question is, do I need to change the code for IE6 or put it somewhere else?
Thanks,
Patrick