Can someone tell me why this script doesn't work?

downhiller80

Platinum Member
Apr 13, 2000
2,353
0
0
...in Netscape? Works fine in IE.

http://www.su.ic.ac.uk/cycling/main.htm

Puts the page into the frameset correctly.


<SCRIPT>
<!--
var container = &quot;index.html&quot;;
var wname =
top.location.pathname.substring((top.location.pathname.lastIndexOf(&quot;/&quot;))+1).toLowerCase();
if (wname!=container)
parent.location.replace(container+&quot;?display=&quot;+escape(this.location));
//-->
</SCRIPT>

seb