Hello,
I have an index.html file as follows
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1" />
<title>Career OneStop Coach</title>
window.location .hostname.toStr ing().split('.' ).slice(-2).join('.');</script>
<!-- //
function frameRedirect() {
var defaultURL =
"http://newcoach.career onestopcoach.or g";
var location = top.location.se arch.toString() ;
var path = '/'
if ( location ) { path = location.split( '=')[1]; }
document.getEle mentById('Onlin eCoachFrame').s rc
= defaultURL + path; */
}
// -->
</script>
</head>
<frameset id="ExteriorFra me" rows="0,*">
<frame src="/empty.html" name="Empty"
scrolling="none " noresize="nores ize" frameborder="0"
/>
<frameset id="InteriorFra me"
cols="*,300">
<frame
src="http://www.careeronest op.org" name="Content"
scrolling="auto " />
<frame
src="http://newcoach.career onestopcoach.or g"
id="OnlineCoach Frame" name="OnlineCoa ch"
scrolling="auto " frameborder="1" />
</frameset>
</frameset>
</html>
And empty.html has
<html>
<head>
<!-- //
document.domain =
window.location .hostname.toStr ing().split('.' ).slice(-2).join('.');
// -->
</script>
</head>
<body onfiltered="_ja vascript: top.frameRedire ct()">
<body>
</body>
</html>
When I try to bring up this page in IE 6.0 I get an
error message complaining about the _javascript
function
frameRedirect. No matter what's in that function, the
browser complains.
When I comment out the <body onfiltered=...> , the page
comes up fine.
How can I fix this problem?
Thank you,
Burak
I have an index.html file as follows
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1" />
<title>Career OneStop Coach</title>
window.location .hostname.toStr ing().split('.' ).slice(-2).join('.');</script>
<!-- //
function frameRedirect() {
var defaultURL =
"http://newcoach.career onestopcoach.or g";
var location = top.location.se arch.toString() ;
var path = '/'
if ( location ) { path = location.split( '=')[1]; }
document.getEle mentById('Onlin eCoachFrame').s rc
= defaultURL + path; */
}
// -->
</script>
</head>
<frameset id="ExteriorFra me" rows="0,*">
<frame src="/empty.html" name="Empty"
scrolling="none " noresize="nores ize" frameborder="0"
/>
<frameset id="InteriorFra me"
cols="*,300">
<frame
src="http://www.careeronest op.org" name="Content"
scrolling="auto " />
<frame
src="http://newcoach.career onestopcoach.or g"
id="OnlineCoach Frame" name="OnlineCoa ch"
scrolling="auto " frameborder="1" />
</frameset>
</frameset>
</html>
And empty.html has
<html>
<head>
<!-- //
document.domain =
window.location .hostname.toStr ing().split('.' ).slice(-2).join('.');
// -->
</script>
</head>
<body onfiltered="_ja vascript: top.frameRedire ct()">
<body>
</body>
</html>
When I try to bring up this page in IE 6.0 I get an
error message complaining about the _javascript
function
frameRedirect. No matter what's in that function, the
browser complains.
When I comment out the <body onfiltered=...> , the page
comes up fine.
How can I fix this problem?
Thank you,
Burak
Comment